Automatic Login and Ubuntu

Dennis Kaarsemaker dennis at
Thu Jun 23 11:59:46 UTC 2005

On do, 2005-06-23 at 21:46 +1000, Colin McDermott wrote:

> I want to set up my box so that it automatically Logs in to the system 
> on Startup and launches ICEWM. I realize that this leaves some security 
> issues open, but the machine needs to be as easy to use as possible. I 
> know that you can just add a launching script to /etc/init.d but I have 
> not been able to get it to Login.

GDM can let you auto-login, see gdm.conf or run gdmsetup.

> Also I cannot get ICEWM to call sudo and shutdown the machine. I have 
> modified my sudoers file and it still doesn't work. I can get a text 
> script with the line "sudo halt" to switch the machine off.

A simple script that runs sudo shutdown -h now can be linked from the
taskbar. If you let the user run sudo without password for shutdown,
it's even easier :)
Dennis K.
  - Linux for human beings:
  - Linux voor normale mensen:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list