LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   switching x window systems (https://www.linuxquestions.org/questions/linux-newbie-8/switching-x-window-systems-45825/)

subservant 02-17-2003 01:47 PM

switching x window systems
 
out of wounderment how do you switch from differnt x window systems ? for example from KDE to fluxbox. I remeber there is a command to do it but I just cant remember.

again your help is always valued.

Pcghost 02-17-2003 01:56 PM

At the login screen, click session, then pick you window manager. then log in as normal.

subservant 02-17-2003 06:56 PM

I installed flux correctly and it is not showing up as a selectable window manager .

any insite ?

MasterC 02-17-2003 07:49 PM

Assuming you always use the login screen to do it, you will want to edit your gdm session. This is actually a bit in depth, however it's covered several times a week so a search may reveal what you need :)

If you normally "startx" to start your gui, you can create a .xinitrc file in your ~ directory and then add the lines exec /path/to/fluxbox in it, and then it will start flux.

Cool

mhearn 02-18-2003 05:21 AM

The easiest way to start flux if you just want to try it is to choose "Failsafe xterm" from the GDM menu, then in the xterm that comes up type:

fluxbox &>/dev/null &

Flux will start. Use it, then when done, close the original xterm and you'll be thrown back to the login prompt.

subservant 02-18-2003 02:26 PM

hummm when I try either *I made the .xinitrc file" and that command it gives me a an error saying that display 0 is already running.

weird
and thoughts

MasterC 02-18-2003 02:36 PM

That means X has already been started, you must start X outside of X ;) You can have more than 1 display open though, to open up flux in another display use the command:
startx -- :1
This should startx on CTRL ALT F8 :2 would be on F9 and so on. This is assuming a standard setup, and depends on how your /etc/inittab is defined.

Cool

fancypiper 02-18-2003 03:07 PM

Do you use startx?

1. echo DESKTOP=FluxBox > ~/.desktop ; startx

2. I created an .xinitrc in my home directory:
Code:

# fancypiper box user phil .xinitrc file
#exec kde
xhost +local:
#exec gnome-session
exec gkrellm -w &
exec xscreensaver &
exec fluxbox

3. I think that the gui login may use the file .Xclients-default, but I use startx so that is all I know.

subservant 02-18-2003 03:09 PM

ok I got it to boot but the file takes a hung f*cking core dump on me. It says it is failing to read screen0.session.xxxxxxx or whatever the cause.

thoughts ?

master c is the coolest
:eek:

fancypiper 02-18-2003 03:15 PM

:confused: There is no need to boot or re-boot to re-startx or a window manager.

That's for installing hardware or using a new kernel.....

MasterC 02-18-2003 03:38 PM

Yes, fancypiper is correct. For ease, let's try it the easiest way:
kill X with:
switch to Console 2: CTRL ALT F2
Then login as root and type:
init 3
This will put you in non-X multiuser mode. Cool, so now we will switch console's to 1:
ALT F1
Now, login as your normal user with whom you created the .xinitrc file. Then, type:
startx

If you get errors, save them to a text file and post them up here exactly as they are shown (it can mean a big difference between interpreting an error and the actual error message).

Cool

subservant 02-19-2003 07:18 PM

Yes !

I finally got it to boot up in flux thanks all !!!! I did the above mentioned where I boot in to failsafe and go with command

fluxbox & >/dev/null &

now it works and I am loving every moment of it.

hehe to contnue I have been attempting to fluxbox to be slectiable on the GDM gui boot for red hat 8

any links to show me how ?!

MasterC 02-19-2003 09:47 PM

http://www.linuxquestions.org/questi...der=descending

Normally (probably not on RH 8) you would edit the Sessions in /etc/X11/Sessions or similar directory. Something like 14fluxbox (and then copy the format of the other entries) for the name of the file. Give similar permissions, and it should work (but probably won't RH 8 did some things a bit different, however you can probably find a similar way of doing it...)

Good Luck

Cool

mhearn 02-20-2003 02:02 PM

In the /etc/gdm/Sessions directory copy the Gnome file to a new one "Fluxbox", and then edit it for fluxbox, should be pretty obvious, post here if you get stuck. Each file represents an entry.


All times are GMT -5. The time now is 11:26 AM.