
| This forum is proudly powered by Scientific Linux 6 | SL website Download SL Help Search Members |
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| eilagcy |
|
|
|
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. |
|
| zxq9 |
Posted: Jun 22 2012, 08:01 PM
|
|
![]() 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. |
|
![]() |
![]() ![]() ![]() |