LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Question about default desktop environment with XDM (https://www.linuxquestions.org/questions/linux-software-2/question-about-default-desktop-environment-with-xdm-941888/)

kdelover 04-26-2012 11:34 AM

Question about default desktop environment with XDM
 
Hi Folks,

How do i tell XDM to load a certain Desktop environment as a default one?I cant seem to find the config file or the option which does that.

When i get to gdm,i can specify what DE to load from,since XDM doesnt have that menu,how do i set something as default.

This is on ubuntu.

Thanks !

kdelover 04-26-2012 11:26 PM

any one ? :)

catkin 04-27-2012 08:38 AM

After browsing the files in /usr/lib64/X11/xdm/, I think it's globally /etc/X11/xinit/xinitrc and personally ~/.xsession

kdelover 04-28-2012 06:02 AM

hi,

Thanks for the reply,Im currently using lxdm and i was seeing how it loads up the kde.I guess this is the line which does that under the /etc/lxdm/Xsession file.

5 if [ $# -eq 1 -a -n "$1" ]; then
6 LXSESSION=$1

# mandriva, debian, ubuntu
26 exec /etc/X11/Xsession $LXSESSION


So i guess $1 in line 5 stands for 'startkde',now who runs the '/etc/lxdm/Xsession startkde'script? Xinit?

Thanks !!

catkin 04-28-2012 06:45 AM

Quote:

Originally Posted by kdelover (Post 4665229)
who runs the '/etc/lxdm/Xsession startkde'script? Xinit?

Maybe xdm, after user authentication (and assuming no ~/.xsession file), runs /etc/X11/xinit/xinitrc and that runs /etc/lxdm/Xsession ...


All times are GMT -5. The time now is 04:43 AM.