LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-31-2007, 11:55 PM   #1
jimhap
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
GDM doesn't work: Authdir /usr/var/gdm does not exist


I ran this at the command prompt:

Code:
# gdm
And it said:

Code:
gdm_config_parse: Authdir /usr/var/gdm does not exist. Aborting.
(It did switch screens and say /usr/var/gdm doesn't exist....)

/usr/var/gdm does exist.
Code:
# ls -l /usr/var/
drwxrwxr-x    3 root     root         1024 May  7 17:41 cache
drwxrwx--T    2 root     gdm          1024 Jun  1 00:44 gdm
drwxr-xr-x    3 root     root         1024 May 26 11:34 lib
drwxr-xr-x    4 root     root         1024 May 31 17:00 log
drwxr-xr-x    4 root     root         1024 May 26 11:34 run
drwxr-xr-x   36 root     root         1024 Jun  1 00:09 scrollkeeper
drwx--x---    3 root     root         1024 May  7 17:41 spool
This was a source build of GDM. The version is 2.18.1. I don't know why it does that...

jimhap
 
Old 06-01-2007, 06:09 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Note the "T" at the end of the permissions for /usr/var/gdm which indicates that the file is "deletion restricted" with no "search" permission for "others," so it won't be searchable unless you're in the gdm group or root.

In any case, display managers like the GNOME display manager (gdm) are, I believe, intended to be invoked by X when your X session starts, not to be used from a command line. Usually you just make the appropriate entry in the /etc/sysconfig/desktop file so Xinitrc will use that display manager.

According to man gdm, gdm is just a script used to start gdm-binary, and there are several other gdm- commands. One of them is gdmsetup.
 
Old 06-03-2007, 09:51 PM   #3
jimhap
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Hello,

Thanks for your help! But some how, GNOME has a bug itself....

Even running in X, running GDM fails.

And the solution? Seems like rebooting does something....

(That's a bug in GDM. I will report that soon....)
 
Old 06-04-2007, 07:29 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
How can you be "running in X" without a working display manager?

If you look at the start-up script used by the system (/etc/rc.d/rc.sysinit) you'll see that there's a section where the display manager is specified (by execution of the commands in /etc/sysconf/desktop or picking it from the defaults), and that manager is what's used when the X system is started.

So, if you're new gdm is in your $PATH before your old one, it should be running if you've got X running.

What are you trying to accomplish by starting gdm-binary from a command line? What results were you expecting? Why do you expect those results? How do you know that your new gdm isn't running?

Last edited by PTrenholme; 06-04-2007 at 07:31 AM.
 
Old 06-04-2007, 03:35 PM   #5
jimhap
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by PTrenholme
How can you be "running in X" without a working display manager?

If you look at the start-up script used by the system (/etc/rc.d/rc.sysinit) you'll see that there's a section where the display manager is specified (by execution of the commands in /etc/sysconf/desktop or picking it from the defaults), and that manager is what's used when the X system is started.

So, if you're new gdm is in your $PATH before your old one, it should be running if you've got X running.

What are you trying to accomplish by starting gdm-binary from a command line? What results were you expecting? Why do you expect those results? How do you know that your new gdm isn't running?
Well, here's the thing: typing xinit (or xwin) starts without a display manager.

And by the way. GDM actually runs X. If you ran X and GDM at the same time, GDM switiches you to a blue screen. (see pic below)

And others do too. KDM and Slim runs X for you. Runing X and typing them in will not work. Only GDM is nice to allow you to run GDM an another X server (Display :1)

Link for scrrenshot below:
http://i211.photobucket.com/albums/b...p/dsc00868.jpg

jimhap
 
Old 06-05-2007, 10:50 AM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
OK, I not an expert here, but I just ran a xinit -- :1 on my Fedora system, on which I use KDM, not GNOME, and got a nice second window -- with, as you said, just a raw X window with a terminal window.

However, entering gdm in that window (after switching to su did start a new session window for me (on display :2 since display :0 and :1 were busy).

And entering kdm :2 started a new KDE session for me on another display as well.

Given all that, I'm still wondering what you're trying to accomplish. On my Fedora 6 system, both gdm and kdm seem to do what you're looking to have done. Perhaps I'm missing something?
 
Old 06-06-2007, 03:25 PM   #7
jimhap
LQ Newbie
 
Registered: May 2007
Posts: 4

Original Poster
Rep: Reputation: 0
The goal-to get gdm working properly.

FYI: filed a bug at the GNOME BugZilla:

http://bugzilla.gnome.org/show_bug.cgi?id=443772
 
Old 06-06-2007, 04:05 PM   #8
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
What are you tring to do? GDM is not supposed to be run from a command line, and it is NOT a window manager (what you are trying to actually run). GDM is a display manager. It manages the display by setting up a login page and allowing access to that display if someone logs in. The login will then run the window manager that GDM tells it to run under the user account that logged in. If you are logged into a shell, try startx instead of xinit. It will run xinit and fire off your default window manager.

If you want a gui login, edit /etc/inittab and change the line:

id:3:initdefault:

to

id:5:initdefault:

and either reboot or issue the command:

/sbin/init 5

Last edited by forrestt; 06-06-2007 at 04:09 PM.
 
Old 06-06-2007, 04:33 PM   #9
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,349

Rep: Reputation: 49
Just out of curiosity, what in the world is this doing in the Linux - Newbie forum? Based on Jimmy Happy's bug description and discussions, he's no newbie. Compiling a customized gdm/gnome from source from scratch obviously isn't Linux Newbie material no matter what!
 
Old 06-06-2007, 04:38 PM   #10
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
IsaacKuo: I think he is a newbie mostly because he is trying to install gdm from source and run it from a command line without knowing that's not how it's supposed to be done.

Of course, I could be wrong, and I'm just totally confused by what he is asking.

Last edited by forrestt; 06-06-2007 at 04:39 PM.
 
Old 06-08-2007, 04:09 PM   #11
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Hey guys, please be kind. I, too, am not sure why this thread is in the newbie forum, but Jim is labeled a "newbie" because he's only made four posts (so far). However, from what's in those posts, I assumed that he had considerable "Linux smarts."

Although the last post, where he says
Quote:
The goal-to get gdm working properly.
does have me wondering a bit, since I still haven't figured out what he thinks is wrong with gdm. As I pointed out above, for me, on Fedora (both 6 and 7), gdm seems to preform exactly as described in man gdm.

Last edited by PTrenholme; 06-09-2007 at 06:53 AM.
 
Old 06-08-2007, 04:22 PM   #12
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,349

Rep: Reputation: 49
If you click on his Bugzilla post, you'll see that he uses Puppy Linux (he may even be a developer for Puppy Linux, for all I know), and he's trying to install gdm on it. Evidently this isn't as trivial as simply installing Puppy's gdm package; possibly jimhap is attempting to develop such a package.

From his descriptions of version numbers and compiler options, it's obvious jimhap knows what he's doing. At the very least, he seems to know more about how gdm works and is supposed to work than most of us here on this thread.
 
  


Reply


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
what is /etc/x11/gdm/gdm.conf ? Floreen Linux - Newbie 2 04-30-2007 12:22 PM
[Dapper-upgrade] /etc/gdm/Xsession: Executing /usr/bin/gnome-session failed (dbus??) kiwibird Linux - Software 0 06-05-2006 05:12 PM
Restarting gdm does not work werfer Debian 1 02-02-2006 02:59 PM
gdm overwrites /etc/gdm/Session/fluxbox _flaab_ Mandriva 0 12-21-2003 10:58 AM
Solution to Mdk 9.1 gdm user doesnt exist problem gn000we Mandriva 0 12-14-2003 04:08 PM


All times are GMT -5. The time now is 07:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration