LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to choose session when boot from text mode (https://www.linuxquestions.org/questions/linux-software-2/how-to-choose-session-when-boot-from-text-mode-299140/)

cain_eve 03-08-2005 09:09 AM

how to choose session when boot from text mode
 
Hi, all

My question is if I have two kde installed on my OS
how to choose one of them when startx,
the precondition is I am boot from text mode.

Thanks,


cain

kule 03-08-2005 09:28 AM

I think this would work:
Code:

cd /usr/X11R6/bin
cp startx startx2

edit 'startx2' and change:
Code:

sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
with

Code:

sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc2
then:

Code:

cd /etc/X11/xinit
cp xinitrc.kde xinitrc.kde2

edit 'xinitrc.kde' and at the and of the file change 'startkde' with '/path_to_your_first_kde/bin/startkde'

then edit 'xinitrc.kde2' and again change 'startkde' with '/path_to_your_second_kde/bin/startkde'.

so to start your first kde run 'startx' and 'startx2' for the second kde.


I haven't tried this, but I think it should work.

cain_eve 03-08-2005 09:38 AM

thanks I will try it when I finish compile kde 3.3.2
but there seems have a error

cain_eve 03-08-2005 09:39 AM

because I have qt 3.3 compiled by my self


All times are GMT -5. The time now is 06:38 PM.