Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-11-2005, 12:31 AM   #1
Registered: Oct 2004
Location: Kazakhstan
Distribution: Slackware
Posts: 48

Rep: Reputation: 15
How-to start wmaker/xfce4/fluxbox/fvwm as user

Hello !

I've just installed Slackware 10.1 on my machine. I've installed !!NO!! KDE/GNOME cause I do not like them too much.... I like to do some thing by hands, you know....

Anyway, I've added a new user, to use my machine as a non-root..., but there is my weak point... How can I start wmaker/xfce4/fluxbox/fvwm as a normal user ?

I'm aware of the command starxfce4, but is there another way to do that for xfce... ? Other window managers ?

That was easy with KDM & GDM where you can choose what WM you'd like to start... Perhaps there is a simple display manager that can provide choices...?

Pls assist with this one.

Old 03-11-2005, 01:23 AM   #2
LQ Newbie
Registered: Aug 2004
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
This solution will affect all the users on your slackware machine, so I'm not sure if it's quite the solution you're looking for.

Run pkgtool as root, then choose setup. Choose to run xwmconfig, then choose you WM.
Old 03-11-2005, 01:24 AM   #3
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
"xwmconfig" ? That what your looking for?
I think all that does is modify your ~/.xinitrc

If its not what your after, sorry.
Old 03-11-2005, 02:22 AM   #4
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
As said above, 'xwmconfig' to choose a window manager, then 'startx' to run X with it.

xwmconfig should only change the window manager for the current user.
Old 03-11-2005, 04:12 AM   #5
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
Another way in which you could do it, is by creating a .xinitrc file and put in there the paths to your many Windows Managers, and comment or uncomment as the need arise.

Example, assuming that the executables for wmaker, xfce4, fluxbox and fvwm are in /usr/local/bin you could easily do:

echo "exec /usr/local/bin/wmaker" > ~/.xinitrc
echo "exec /usr/local/bin/startxfce4" >> ~/.xinitrc
echo "exec /usr/local/bin/fluxbox" >> ~/.xinitrc
echo "exec /usr/local/bin/fvwm" >> ~/.xinitrc
The first line will create .xinitrc and add the path to the executable, the subsequent lines will just append "exec ..." to .xinitrc

You will end up having something like this in your .xinitrc file:


Now, the only thing you need to do is comment all the lines except the one that has the WM you want to use, and then just startx. Assuming you want xfce, the .xinitrc would look like:


Enjoy X.

I hope this help, have a nice day.
Old 03-11-2005, 05:02 AM   #6
Registered: Oct 2004
Location: Kazakhstan
Distribution: Slackware
Posts: 48

Original Poster
Rep: Reputation: 15
thanks guys...

I think that should work !

Old 03-11-2005, 09:53 AM   #7
Senior Member
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 200Reputation: 200Reputation: 200
or, for fun....

make your ~/.xinitrc:

which gives you a bare window.
You can then start any windowmanager e.g:
type 'wmaker' or 'twm' or 'fvwm'


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
I like using korganizer, but I don't use KDE (wmaker instead). However, when I start julot Linux - Software 2 08-11-2005 11:33 PM
xfce4 won't start for a user hussar Slackware 4 04-08-2005 09:33 AM
dual monitor problem with xfce4 + fluxbox Jestrik Linux - Hardware 2 06-09-2004 02:00 PM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 03-01-2004 12:06 AM
Debian: WMaker won't start from x-window-manager Haite Linux - Distributions 2 03-17-2003 12:36 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:09 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