scientificlinuxforum.org QR code
Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> /etc/config/desktop file, how to find out the display manager
eilagcy
 Posted: Jun 22 2012, 02:28 PM
Quote Post


SLF Newbie


Group: Members
Posts: 1
Member No.: 1637
Joined: 22-June 12









Hi,

I need to understand that how the system chooses the display manager.
i do not have any file like desktop in /etc/sysconfig directory.

Br//
Anuraag.
PMEmail Poster
^
zxq9
 Posted: Jun 22 2012, 08:01 PM
Quote Post


SLF Advocate
*****

Group: Members
Posts: 369
Member No.: 611
Joined: 5-August 11









Each user usually has a $HOME/.dmrc file that declares the default for that user. GDM will read that after the user initiates a login (enters/selects a username) and is waiting for the password/authentication.

This can be a little weird with /home on a networked file system and automount, though, not to mention Kerberos where the system won't have permission to mount the user's home until after a ticket is prepared, etc. Since these checks are simle "if [ -x "$filename ]" statements the filesystem doesn't mount and the answer is "false" so $HOME/.dmrc never gets noticed in a variety of situations.

Does this answer your question or set you in the right direction?

For the record, the script sequence that GDM initiates does/i] actually check in /etc/sysconfig/desktop [i]and /etc/X11/xinit/Xclients.d/ and I think runs /etc/X11/xinit/Xclients script as well. I think it still also falls back to looking for a $HOME/.xsession and $HOME/.Xclients file to find a setting.

Anyway, the Xclients.d thing was supposed to be implemented around the same time America was going to move to the metric system and thereby become capable of nuclear science and putting people on the moon or inventing IBM or something. Since America seems to be working fine and desktop development has moved on to things other than Gnome2 I'm not holding my breath on either.
PMEmail PosterUsers Website
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll