Ubuntu :: Guest Session At Login Screen - Fails To Launch GDM
Aug 2, 2011
Basically, the problem is, we have a bunch of computers in a computer lab, that we want to students to access, but not modify in ANY way. That includes backgrounds or whatnot. And after restart, any changes they may have made, change back. Also, they can't have read access to the administrator account on the computer.
This needs to give a permission denied, or something:
cd /home/(admin account username)
The Guest Session is exactly what we are looking for, but try as I might, I can't get it to work. Because, we don't want to have to login as administrators, then activate guest session, just for our students to use the computers. The idea being, we can leave the computers in there, and not worry about the students breaking anything.
One thread I tried was: [URL]. However, using his method, will log the student into the account, and after about 5 seconds, log them back out.
The other method listed lower in the thread,
Seems to work, but upon logging out, fails to launch the gdm
i am wondering if it is possible to do this all i can find with google is idea proposals and brainstorms i know i could make a separate account and call it guest user bu that user would get to keep data/settings where as a guest session places a temporary account in the /tmp folder which combined with a ram disk for /tmp would result in some really fast performance since i use a ssd for / which would make the traditional hdd only used for /var also since /tmp would be a ram disk it would be like the guest is using a live cd with security restrictions and performance enhancements on top of this there would be no trace of the guest on my computer after shutdown
I like very much the Guest Session feature of Karmic, it comes very handy when someone needs to use your computer. However, it's only available if I'm already logged in, it won't show this option at login screen. Is there any way to make this possible? Also, I once tried the guest session and configured its appearance to my taste. The next time I entered, though, the default desktop reappeared. I know this happens because no setting is permanently stored for this session, so the only solution I can think of is to change the default configuration it is loaded from.
I learned how to do this on the 'net somewhere. This HowTo will help you create an account on the login screen that will log in the same guest-session seen in the user menu. The advantage of this is that it will be an easily accessible guest account, while not preserving any files or changes on logout, and a higher security model for the account. Confirmed to work on 10.04 - 10.10, but the directions are for 10.10
1. Under an existing administrator account, go to the menu entry System --> administration --> Users and Groups.
2. Click Add. you may need to provide a password at this point. Name your new user anything you would like, except guest. The account cannot be called guest, but visitor does nicely. encryption of the account is not needed. This account will be a "booster" account to guest-session.
3. On the next screen, enter a password, and make sure that you click the check box "Don't ask for password on login", Click OK to finish.
4. As an extra precaution, click Advanced settings, when back on the Users and Groups screen, and on the User Privileges tab, uncheck Monitor System Logs.
5. Exit the Users and groups menu, and then log out and into your new account.
6. Once there, make a folder called GuestManager, and in that folder, make a plain text file called Guestmanager.sh, with this code in it :
Code: #!/bin/bash # Launches the guest session /usr/share/gdm/guest-session/guest-session-launch # Logs the user when done /usr/bin/gnome-session-save --logout
7. Save that and then right click on it, go to properties, and then go to the permissions tab. On this tab, click "allow executing file as program", and then close that window.
8. Open the menu entry System --> Preferences --> Startup Applications, and once there, turn off all the startup applications, and then click add. Fill in the name and comment as GustManager, and for the command, enter /home/visitor/GuestManager/GuestManager.sh, where visitor would be the name you picked for the account in step 2. click add, then close
9. Delete all applets and extra toolbars (might want to leave the main gnome menu), and set the background to black or something else bland, and log out. Since this account is just a "booster" none of these toolbars and such will be needed, so removing them saves memory and load time.
Adding Firefox add-ons to Guest Session?I wanted to include Add-on to Ubuntu Guest Session Firefox.Is there a proper or better way to do this? Procedure I used was as follows
1. Login to Ubuntu to a user account with sudo privileges (later sudoer account).
1. Switch to Guest Session
2. Install relevant Add-ons
3. Check what the home folder of the Guest Session is. It should be something like /tmp/guest-home.xxxxxx where xxxxxx = six random characters.
4. Switch to sudoer account
5. Open terminal and type
I tested this with Flashblock and it seemed to work. I also admit that since I did the thing for the first time it was not that straight forward for me, but above procedure should work. With quick Googling I was unable to find straight forward method. There is a way to install Add-ons to all users from command line using -install-global-extension but this was not what I wanted to do. I wanted the Add-on just for the temporary guest account.
I am on an xubuntu live cd setting up gentoo linux. I use screen to make sure that all my compiling and whatnot runs in the background and I won't accidently exit it. I have a script that I have written that autoruns starting my screen session, whenever I insert my thumbdrive. A seprete script should be passed along to screen telling it to chroot into my gentoo setup. However, whenever I use screen -X ./myscript.sh it says that it is an unknown command. How can I pass it along to screen?
I was doing some thing on networking on virtual machine (rhel 3 as guest os) and winxp as host .. now when i started my guest os (linux) the login page letters (like username and password) size became very large so that i could not see them (crossed the screen) .
After upgrading my netbook (Eee 1005HA) from Ubuntu Lucid to Maverick, I can log in okay, but it crashes back to the login screen a couple of minutes after logging in, after the desktop has loaded. I haven't been able to find anything in syslog/dmesg/etc. about why this is happening, but it isn't happening on my other laptop which I just upgraded to Maverick as well.
Edit: memtest86+ showed no errors and the live USB desktop works fine.
I have centos 5.3 i got the login screen but after logging shows error as-- your session only last less than 10 seconds . if you have not logged out yourself tyhis could mean that there is some installation problem or that you may out of disk space .try logging with one of fail session.
I have SUSE installed and i want dvi display but i dont have any idea why X fails I tried changing xorg.conf file tried modifying it but of no use If i use both dvi and vga display comes on both the monitors but on dvi diaplay goes off at login screen after gdm comes up
I was compiling an application called Audacious. One of the dependent packages I needed to obtain was called Glib. After installing Glib (and a package it also required), my GNOME began failing and after rebooting the computer, the login GNOME login screen fails to displaying. Does anyone know what's gone wrong?
Now after installing Glib, restart your computer and your GNOME will have failed. Why the F did this happen?
I enter guest session and try to install an app. I am asked for a password, I try with mine (for my account) but it seems to be incorrect(logical). Well how can I find the password for the guest account???
I'm going to start with Gen'l Help then maybe slide over to security. Twice recently, when shutting down for the night, I've noticed a Guest Session has been activated on my system. Since I'm the only one using this machine, I'm naturally curious. Can anyone out there explain how Guest Session works and if it can be activated remotely... or otherwise explain how the check mark next to "Guest Session" might be activated?
Today I upgraded my system to the Nvidia driver 340.93 and 4.2.0-1 kernel on Debian Stretch.
While I wait for the gnome login screen to pop up I get the "Oh no something has gone wrong" message.
When I log in from another terminal and execute startx , gnome initiates and starts although settings like my resolution and other xserver settings are not loaded.
From the journalctl I believe the error is located in the following section:
Code: Select allOct 06 14:23:17 DEBIAN-PC org.a11y.atspi.Registry: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Oct 06 14:23:17 DEBIAN-PC gnome-session: X Error of failed request: BadValue (integer parameter out of range for operation) Oct 06 14:23:17 DEBIAN-PC gnome-session: Major opcode of failed request: 154 (GLX)
I reinstalled the xorg-xserver and the nvidia drivers and I get the same behavior.
Looking for some info in order to reconfigure the gnome-session to work?
I have a Dell precision 380 (system specs can be found here: [URL]. My system is set-up in dual boot configuration with Windows Xp x64 on one side of my HD and CentOS 5.3 (64bit) on the other. My system came with 2Gb (2 x 1Gb) of RAM and I recently wanted to upgrade. I bought 2 x 2Gb ELIXER DDR2 667Mhz RAM. I carefully added the new sticks to my motherboard, booted up windows via bios which noticed the new RAM was present. All seemed well.
However, on rebooting the system and entering the CentOS boot phase, after the boot phase (eg starting program... [ok] etc) but before the login screen my screen goes black / blank. My system has an ATI FireGL v3100 graphics card, I checked out the technical info on this and it should be ok on 64 bit linux. (See: [URL])
Ubuntu 10.10 x64.It's been a little over a week since I *rebuilt my system after a gdm or gnome issue and now I'm having an issue with the guest session not working and I'm unable to add a new user. It says "incorrect data" or something like that. This is more than annoying. Why is my system decaying so rapidly? I'm not adding anything to the system that isn't approved by Ubuntu. it's virtually a stock build, minus some changes to the look and feel category. Is this possibly a security issue? My routers up and running and I turned on UFW.
.1) Can't add new users .2) Guest session will not start. .3) Should I be concerned about my security?
Desktop computer (AMD64) running F12. Nothing unusual about it, stock install. Thinkpad laptop running Windows XP. Putty is installed, I can SSH to Fedora.
If I'm at the laptop, in a Putty session, how can I (for example) type "firefox" and have the resultant Firefox window appear on-the-laptop?
I generally have X running all the time on the desktop because I can't get the wireless network connection to function without NetworkManger (not that I really care because I'm rarely at a console screen and need net access).
I noticed (the hard way) that enabling a guest session under 9.04 does not lock the source user. I enabled a guest session for someone and came back to find them rooting through my files. By quitting the guest session, it goes back to the source user's desktop without requiring a password. Shouldnt it go to gnome-screensaver automatically? Can this be changed? Is it a bug?
to replicate: log into source user's account use the menu to start a guest session quit the guest session root through files un-opposed.
I installed it yesterday. It worked well. I was able to log into windows without any trouble and restart into Ubuntu without a hitch.
This morning I launched Ubuntu as usual vi GRUB. I was asked to install about 135 upgrade files, which went withou an apparent challenges. I then went through the restart and noticed that there was an extra two choices in GRUB, but I just left it to launch Ubuntu automatically. Which it did.
I then messed about with the appearance settings. Noticed a some more updates were waiting which included 49 files. I went through the updating process and restart. GRUB worked well, and I was soon loggin in with username and password.
The Ubuntu Screen became visible with the flashing horizontal line and about 3 seconds later everything froze. I waited for several minutes - I timed them - but still no progress - everything remained frozen.
I switched off the machine completely, as I knew of no other way to get out of this situation. I rebooted and when GrUB launched I booted into windows 7 with absolutely no problems.
I used restart in windows and then allowed GRUB to boot into Ubuntu. Once more I was able to log in but soon after the Ubuntu Screen appeared and the horizontal line flashed for a few seconds, everything froze. This time I waited five minutes before switching off the machine by disconnecting at the mains.
i have a problem "db2 express-c first steps fails to launch on ubuntu" then firefox appears it shows something like :
First Steps was unable to connect to the online DB2 Information Center and could not find an instance of a locally installed DB2 Information Center for this version of the product.The use of First Steps to access product information requires one of the following types of connections to a DB2 Information Center. Internet access to the online DB2 Information Center A locally installed version of the DB2 Information Center Access to a remotely configured DB2 Information Center
I have Samba guest shares working - win7 and android tablet see the shares. However, a media player just reports No Folders Found. The media player can see Win7 and Android samba shares. Here's the testparm -s