Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-16-2003, 12:38 PM   #1
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 32

Rep: Reputation: 15
Question how to 'starx' another window manager in the beggining shell?


as you all might have noticed, I'm a total damned idiot newbie that doens't know how to start a gnome or a fluxbox session from the first main shell... I try "startx" and it loads kde... but I would like to try the others window managers

I tryed 'starx fluxbox', 'startx gnome'... the screen gets dark but then I get back to the shell with some erros... I think it doent know what "fluxbox" and "gnome" commands mean, cuz when I tryed "startx fuckyou", I got the same thing

I have Slackware 9.1 and I login at the main... but then what? what should I do next?

thanx =P
Old 12-16-2003, 12:55 PM   #2
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Slackware uses a chooser called xwmconfig. run that and you can select from available window managers. Note: this is set per user.

when I tryed "startx fuckyou", I got the same thing
I sense a little frustraion... (We all get there sometimes.)
Old 12-16-2003, 06:45 PM   #3
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
I never knew about xwmconfig...thanks. I'm not running Slack at present, but when I do set up another Slackware box I'll have to check that out.

What I had done in Slackware was set up an argument test in ~/.xinitrc
The thing about this was that it didn't seem to work with the startx command....I had to use xinit instead.
Another thing that seemed to work was creating a separate ~/.xinitrc file for each window manager, and renaming them depending on what WM i wanted to use....this wasn't as inconvenient as it sounds, since I use my preferred WM 99.7% of the time.
Old 12-16-2003, 06:55 PM   #4
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
That's not too far off. In essence, that's what is happening. If you look in /etc/X11/xinit/ there is an xinitrc for each window manager. take a look (from my system):
bash-2.05$ ls -l /etc/X11/xinit/
total 36
-rw-r--r--    1 root     root          321 Mar 16  2003 README.Xmodmap
lrwxrwxrwx    1 root     root           11 Aug 19 16:24 xinitrc -> xinitrc.kde*
-rwxr-xr-x    1 root     root          555 Mar 16  2003 xinitrc.fluxbox*
-rwxr-xr-x    1 root     root          559 Feb 14  2003 xinitrc.fvwm2*
-rwxr-xr-x    1 root     root          539 Feb 21  2002 xinitrc.fvwm95*
-rwxr-xr-x    1 root     root          630 Feb  4  2003 xinitrc.gnome*
-rwxr-xr-x    1 root     root          536 Mar 15  2003 xinitrc.kde*
-r--r--r--    1 root     root          664 Mar  2  2003 xinitrc.twm
-rwxr-xr-x    1 root     root          788 Feb 11  2003 xinitrc.wmaker*
-rwxr-xr-x    1 root     root         1487 Feb 13  2003 xinitrc.xfce*
Old 12-17-2003, 12:48 AM   #5
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
I'd just create few bash aliases that look something like this:

alias startxfluxbox='echo "exec fluxbox" > ~/.xinitrc && startx'
alias startxgnome='echo "exec gnome-session" > ~/.xinitrc && startx'
alias startxkde='echo "exec startkde" > ~/.xinitrc && startx'

kinda cheap but it works, lol
Old 12-17-2003, 10:05 AM   #6
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 32

Original Poster
Rep: Reputation: 15
thax everyone ^_^


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What's the best X-Window System window manager in your opinion? t3gah Linux - Software 9 12-16-2006 11:10 PM
Window Managers vs Window Shell Environments DJOtaku Linux - General 7 08-09-2005 01:43 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 04:00 PM
Network beggining Anmar Linux - Networking 96 09-11-2003 04:48 PM
Window Manager login shell monsterX Linux - Software 1 05-10-2003 11:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 AM.

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