LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


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

Rep: Reputation: 15
Auto login normal user debian


Hi,

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 ???

Thanks
Hasta la vista
MM
 
Old 01-11-2005, 05:37 PM   #2
rbochan
Member
 
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, 05:43 PM   #3
pnijjar
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Debian
Posts: 12

Rep: Reputation: 0
Smile

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:
http://www.utm.utoronto.ca/~pnijjar/...login_rungetty

Last edited by pnijjar; 01-13-2005 at 05:48 PM.
 
Old 01-14-2005, 06: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.
 
  


Reply



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 04:29 PM
error login as normal user mandrakelinux Slackware 8 11-17-2005 09:02 AM
Cannot Login With Normal User On Fedora offers2you Fedora - Installation 1 04-20-2005 11:53 PM
Can't login in X as a normal user but root laxteryx Linux - General 2 11-09-2004 12:14 PM
How to login as a normal user? daYz Slackware 5 11-14-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:04 AM.

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