Discussion:
autologin for debian
Robin Paulson
2012-01-02 06:11:16 UTC
Permalink
i've got a debian system, which i would like to autologin on boot. i've
added the following lines to /etc/gdm/gdm.conf under daemon

AutomaticLoginEnable=true
AutomaticLogin=root

but i still get the gdm greet screen at boot. any suggestions?

i can't do this through the GUI, as i can't logon - the system is a
touch screen phone, and there's no keyboard available at the logon
screen

also: yes, i know root login is bad, autologin of root terrible. there
are various reasons why this is necessary
--
robin

http://fu.ac.nz - Auckland's Free University

_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Nevyn
2012-01-02 10:17:46 UTC
Permalink
This is what I've got under /etc/gdm/custom.conf

which is the equivalent file... (In Ubuntu)

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=guest
TimedLoginEnable=true
TimedLogin=guest
TimedLoginDelay=10
DefaultSession=gnome

I'm not sure why timed login is enabled...
Post by Robin Paulson
i've got a debian system, which i would like to autologin on boot. i've
added the following lines to /etc/gdm/gdm.conf under daemon
AutomaticLoginEnable=true
AutomaticLogin=root
but i still get the gdm greet screen at boot. any suggestions?
i can't do this through the GUI, as i can't logon - the system is a touch
screen phone, and there's no keyboard available at the logon screen
also: yes, i know root login is bad, autologin of root terrible. there are
various reasons why this is necessary
--
robin
http://fu.ac.nz - Auckland's Free University
______________________________**_________________
http://www.linux.net.nz/cgi-**bin/mailman/listinfo/nzlug<http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug>
--
Regards,
Nevyn
http://nevsramblings.blogspot.com/
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Bruce Clement
2012-01-02 10:21:19 UTC
Permalink
The Gnome documentation (
http://library.gnome.org/admin/gdm/stable/configuration.html.en) is silent
on this point, but according to
http://www.perturb.org/display/812_GDM_AutoLogin.html you can only log in
with a non-root user.

You might like to try TimedLogin in case it has different restrictions.

You also may need to make other configuration changes to allow root login
through gdm at all, have a look at
http://digiassn.blogspot.com/2006/10/linux-allowing-root-login-under-ubuntu.htmland
http://fedoraproject.org/wiki/Enabling_Root_User_For_GNOME_Display_Managerfor
ubuntu & fedora respectively ... you may need to translate a bit.

Good Luck

Bruce
Post by Robin Paulson
i've got a debian system, which i would like to autologin on boot. i've
added the following lines to /etc/gdm/gdm.conf under daemon
AutomaticLoginEnable=true
AutomaticLogin=root
but i still get the gdm greet screen at boot. any suggestions?
i can't do this through the GUI, as i can't logon - the system is a touch
screen phone, and there's no keyboard available at the logon screen
also: yes, i know root login is bad, autologin of root terrible. there are
various reasons why this is necessary
--
robin
http://fu.ac.nz - Auckland's Free University
______________________________**_________________
http://www.linux.net.nz/cgi-**bin/mailman/listinfo/nzlug<http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug>
--
Bruce Clement

Home: http://www.clement.co.nz/
Twitter: http://twitter.com/Bruce_Clement
Directory: http://www.searchme.co.nz/

"Before attempting to create something new, it is vital to have a good
appreciation of everything that already exists in this field." Mikhail
Kalashnikov
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Loading...