LinuxQuestions.org
Review your favorite Linux distribution.
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-01-2011, 09:24 AM   #1
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
gdm.conf not working?? using wrong file ??


HI,

I'm using an updated squeeze, and I want my gdm to log me in on my laptop automatically. I went to 'System -> Administration -> Login Window' and changed the property 'Enable Automatic Login' in the 'Security' tab. Didn't work. Then I copied a working 'gdm.conf' from another laptop to the '/etc/gdm/' folder of the one I wanted to change. Now the laptop in question seems to randomly automatically login and sometimes require me to login manually. Is there any reason why this should happen? Am I copying the wrong file? The file I copied is below.

Code:
# GDM Custom Configuration file.
#


[daemon]

AutomaticLoginEnable=true

AutomaticLogin=dave

[security]

[xdmcp]

[gui]

[greeter]



GraphicalTheme=happygnome

GraphicalThemes=happygnome

GraphicalThemeRand=true



GraphicalThemedColor=#000305


SoundOnLogin=false



[chooser]

[debug]

# Note that to disable servers defined in the GDM System Defaults
# configuration file (such as 0=Standard, you must put a line in this file
# that says 0=inactive, as described in the Configuration section of the GDM
# documentation.
#
[servers]

# Also note, that if you redefine a [server-foo] section, then GDM will
# use the definition in this file, not the GDM System Defaults configuration
# file.  It is currently not possible to disable a [server-foo] section
# defined in the GDM System Defaults configuration file.
#
I've taken out some of the comment lines from the file above.
 
Old 01-01-2011, 12:28 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Suggestions:
1. Restore the original "gdm.conf", and simply hand-edit your changes (if possible).
2. Two possible names: "/etc/gdm/gdm.conf", or "/etc/gdm/custom.conf". Check for possible conflicts.
... finally ...
3. See if you can remove EVERYTHING, and run "gdmsetup", to get back to a "known good state".

'Hope that helps!
 
Old 01-09-2011, 08:03 AM   #3
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

Rep: Reputation: 36
Quote:
Originally Posted by paulsm4 View Post
Hi -

Suggestions:
1. Restore the original "gdm.conf", and simply hand-edit your changes (if possible).
2. Two possible names: "/etc/gdm/gdm.conf", or "/etc/gdm/custom.conf". Check for possible conflicts.
... finally ...
3. See if you can remove EVERYTHING, and run "gdmsetup", to get back to a "known good state".

'Hope that helps!
Originally there was just 'gdm.conf'. There was also 'locale.conf' but I left that alone. I think originally I copied the gdm.conf file to another name, and edited the original gdm.conf file by hand, but that didn't work. What I think happened is that gdm continued to read the old file along with the new edited file. I had something like 'gdm.conf' and 'gdm.conf.old'. I think it was reading both. Could that be?

I tried removing the two files, mv'ed them to another directory. Then I ran gdmsetup, but no new file was generated. I even tried booting without any config file in the directory. After a while it put up the default debian gdm log-in screen. When I returned to /etc/gdm/ there still was no gdm.conf file created.

Finally I put a hand edited gdm.conf file in the directory. I made sure it was the only one (besides locale.conf which I never touched) and rebooted. For now it's doing what I want it to. Only many many reboots or logins will tell, though.
 
  


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 conf file jmarsh Linux - Networking 3 06-16-2008 11:35 PM
what is /etc/x11/gdm/gdm.conf ? Floreen Linux - Newbie 2 04-30-2007 12:22 PM
Here is my vsftpd.conf file. It doesn't work with ssl, anything missing or wrong? hunterhunter Linux - Software 1 03-29-2006 06:29 AM
What is wrong with my smb.conf file? Razbad Linux - Networking 7 04-22-2005 08:07 AM
could someone post their working samba.conf file? TheOneAndOnlySM Linux - Networking 8 05-01-2004 11:34 PM

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

All times are GMT -5. The time now is 10:10 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