GDM doesn't work: Authdir /usr/var/gdm does not exist
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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)
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 sudid 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?
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:
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!
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.