Tweak gdm for web browsing without login

With the new gdm its possible to tweak the login screen to do some fancy stuff (see forum post http://ubuntuforums. … thread.php?t=1333683). By following these steps we can enable web browsing without user login.

1. To allow a network connection:

sudo cp /usr/share/app-install/desktop/nm-applet.desktop /usr/share/gdm/autostart/LoginWindow

2. Install alltray (needed to get Firefox into the bottom tray):

sudo apt-get install alltray

3. To add Firefox in the bottom tray:
Drag and drop Firefox from the menu to your desktop and copy it to the autostart directory of user gdm:

sudo cp /home/<user>/Desktop/firefox.desktop /usr/share/gdm/autostart/LoginWindow/

Change the desktop file to start Firefox in alltray:

sudo sed -i 's/^Exec=/Exec=alltray /' /usr/share/gdm/autostart/LoginWindow/firefox.desktop

4. Logout again to see the changes of gdm.
If you have created your wireless connections as a normal user before and flagged the connection data to be used for all users, wireless should work without setting up a password. Else you have to follow the instructions in the forum post ( http://ubuntuforums. … thread.php?t=1333683) to set up the network.

There is only one issues, but I can live with it. The Firefox tray starter will vanish after closing Firefox and the browser can not be started again from the login screen.

Back to top