Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-11-2005, 01:06 PM   #1
Registered: Sep 2004
Posts: 30

Rep: Reputation: 15
Auto login normal user debian


I triyng to auto login my debian system to the user i configure. I want the X (xdm wmaker) to login automatically as one normal user.

Who can i configure this ?????
Somewhere in /etx/X11...... or not ???

Hasta la vista
Old 01-11-2005, 06:37 PM   #2
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
As far as I can recall, xdm doesn't allow for an auto-login, nor do they have plans to change that. Use KDM or some other login manager that supports it.
Old 01-13-2005, 06:43 PM   #3
LQ Newbie
Registered: Jan 2005
Location: Canada
Distribution: Debian
Posts: 12

Rep: Reputation: 0

GDM also supports autologins, but with either KDM or GDM you will end up installing a lot of dependencies, and possibly fighting GNOME or KDE from starting.

Another option is to use the rungetty package to autologin a user, and then
have the user's .bash_profile start X. To make this work you will have to disable or uninstall XDM (or any other login managers).

I have done this with some machines, and wrote a summary here:

Last edited by pnijjar; 01-13-2005 at 06:48 PM.
Old 01-14-2005, 07:30 AM   #4
Dead Parrot
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
One possible option would be WDM, which is a modified version of XDM. WDM doesn't actually support autologin but you can set the default user and default password in /etc/X11/wdm/wdm-config. Now, when Debian boots to WDM you only need to press Enter twice (first to activate the default user and second time to activate the default password) to login to your default window manager (WDM also gives you an automatically updated list of all installed window managers / desktop environments).

If you choose to use this method, you should "chmod 600 /etc/X11/wdm/wdm-config" to make sure that only users with root access can see your password.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Normal user can't login via CDE? zeki709 Solaris / OpenSolaris 2 03-31-2012 05:29 PM
error login as normal user mandrakelinux Slackware 8 11-17-2005 10:02 AM
Cannot Login With Normal User On Fedora offers2you Fedora - Installation 1 04-21-2005 12:53 AM
Can't login in X as a normal user but root laxteryx Linux - General 2 11-09-2004 01:14 PM
How to login as a normal user? daYz Slackware 5 11-14-2003 03:35 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration