LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Giving XFCE's xdm login screen priority over gdm & kdm (http://www.linuxquestions.org/questions/slackware-installation-40/giving-xfces-xdm-login-screen-priority-over-gdm-and-kdm-4175483212/)

NightSky 11-02-2013 10:17 PM

Giving XFCE's xdm login screen priority over gdm & kdm
 
I've never used Gui login screens but this laptop is for my newbie friend and I had read in passing you could comment out or remove gdm & kdm or edit rc.4 script to just load xdm first if it exist.

I'm wondering if that is still true for slackware-13.37 or newer? So what is the best way to give xdm priority? Edit rc.4 make xdm first or comment out gdm & kdm in a config file? Similar threads results are too old to rely on for this because of all the changes to newer slackware versions. Thanks

andrewthomas 11-02-2013 10:24 PM

Code:

# Not there?  OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
  exec /opt/kde/bin/kdm -nodaemon
elif [ -x /usr/bin/kdm ]; then
  exec /usr/bin/kdm -nodaemon
fi

# If all you have is XDM, I guess it will have to do:
if [ -x /usr/bin/xdm ]; then
  exec /usr/bin/xdm -nodaemon
elif [ -x /usr/X11R6/bin/xdm ]; then
  exec /usr/X11R6/bin/xdm -nodaemon
fi

There will be no gdm, so just comment out the kdm lines and xdm will be the one

NightSky 11-02-2013 11:00 PM

Thank you.

andrewthomas 11-02-2013 11:18 PM

You're welcome. Glad to be of help.


All times are GMT -5. The time now is 12:13 AM.