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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2005, 09:44 PM   #1
fannymites
Member
 
Registered: Nov 2004
Posts: 242

Rep: Reputation: 30
Passwordless gdm login howto


I found instructions a while ago on how to login to gdm as regular user without typing the password, I could do it just by double-clicking on the face picture.
I've since re-installed linux after messing a few things up and I can't remember the procedure for doing this and can't find the instructions on the net again.
Can anyone point me in the right direction please?

[EDIT] I know about automatic login but that isn't what I want, I login to gnome, kde or xfce4 depending on my mood so auto is no good.

Last edited by fannymites; 04-02-2005 at 09:46 PM.
 
Old 04-02-2005, 09:49 PM   #2
fclock
LQ Newbie
 
Registered: Apr 2005
Distribution: CentOS & DeLi Linux
Posts: 2

Rep: Reputation: 0
Run `gdmsetup` (you should be able to get to it via "Settings" or somesuch link from the login screen, or from the "System Settings" on menu). General tab -> Automatic login.
 
Old 04-03-2005, 04:41 AM   #3
fannymites
Member
 
Registered: Nov 2004
Posts: 242

Original Poster
Rep: Reputation: 30
As I said, I know about automatic login and that isn't what I want, I want the login screen but I want to login by double-clicking the face pic without inputting the password.

I remember it involves adding the following line to gdm.conf - LocalNoPasswordUsers=<username>
but there is something else that needs to be done and that's the part I can't remember.
 
Old 04-03-2005, 10:27 AM   #4
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
I'm not sure but have you tried removing the password for that user by using "passwd -d"?
 
Old 04-03-2005, 09:59 PM   #5
fannymites
Member
 
Registered: Nov 2004
Posts: 242

Original Poster
Rep: Reputation: 30
I didn't think of that, I just installed, set up the password as instructed and left it at that, it never crossed my mind to remove it.
The user in question is myself and it is the only user account (other than root) which the missus and myself both use.
Could removing the password cause any problems at all in the future for any reason?
 
Old 04-03-2005, 10:18 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If you are running pam then I think you need to make a change to /etc/pam.d/gdm-autologin. Probably change require to optional. May need to make changes to other files for gdm here as well.

Never done this type of setup. I only made changes to other items here in the pam.d section like for printer control and a few others so password is not required.

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
  


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
gdm, cannot login as root. Why Biased turkey Linux - Security 10 09-29-2009 04:03 PM
GDM passwordless login js72 Fedora 4 02-28-2005 03:20 PM
gdm login help moschi Linux - Newbie 2 07-03-2004 12:30 PM
X login using GDM koyi Slackware 2 07-24-2003 11:00 PM
Howto update KDE and howto switch off kdm/gdm Canaris Linux - Software 1 06-15-2003 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 PM.

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