LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2003, 12:47 PM   #1
subservant
Member
 
Registered: Feb 2003
Location: Portland , Oregon
Distribution: Red Hat 8.0
Posts: 91

Rep: Reputation: 15
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.
 
Old 02-17-2003, 12:56 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
At the login screen, click session, then pick you window manager. then log in as normal.
 
Old 02-17-2003, 05:56 PM   #3
subservant
Member
 
Registered: Feb 2003
Location: Portland , Oregon
Distribution: Red Hat 8.0
Posts: 91

Original Poster
Rep: Reputation: 15
I installed flux correctly and it is not showing up as a selectable window manager .

any insite ?
 
Old 02-17-2003, 06:49 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 02-18-2003, 04:21 AM   #5
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
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.
 
Old 02-18-2003, 01:26 PM   #6
subservant
Member
 
Registered: Feb 2003
Location: Portland , Oregon
Distribution: Red Hat 8.0
Posts: 91

Original Poster
Rep: Reputation: 15
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
 
Old 02-18-2003, 01:36 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 02-18-2003, 02:07 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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.

Last edited by fancypiper; 02-18-2003 at 02:12 PM.
 
Old 02-18-2003, 02:09 PM   #9
subservant
Member
 
Registered: Feb 2003
Location: Portland , Oregon
Distribution: Red Hat 8.0
Posts: 91

Original Poster
Rep: Reputation: 15
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
 
Old 02-18-2003, 02:15 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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.....
 
Old 02-18-2003, 02:38 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 02-19-2003, 06:18 PM   #12
subservant
Member
 
Registered: Feb 2003
Location: Portland , Oregon
Distribution: Red Hat 8.0
Posts: 91

Original Poster
Rep: Reputation: 15
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 ?!
 
Old 02-19-2003, 08:47 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 02-20-2003, 01:02 PM   #14
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
questions about switching file systems and the swap partition flyingstarfish Linux - Newbie 1 07-09-2004 12:27 PM
New Forum, X Window Systems sovietpower LQ Suggestions & Feedback 1 01-14-2004 06:14 AM
help a newbie switching operating systems kinghimself Linux - Newbie 6 11-09-2003 08:10 PM
switching hard drives from different UNIX OS systems hopbalt Solaris / OpenSolaris 6 08-06-2003 01:48 PM
Switching Window managers? zhenwu Linux - Newbie 8 07-28-2001 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration