LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-10-2005, 11:31 PM   #1
Sader
Member
 
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.

Thanks,
Sader.
 
Old 03-11-2005, 12:23 AM   #2
CrazyHoboMan
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, 12:24 AM   #3
tw001_tw
Member
 
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.
-tw
 
Old 03-11-2005, 01:22 AM   #4
Skazi
Member
 
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, 03:12 AM   #5
blood_omen
Member
 
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:

Code:
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:

/usr/local/bin/wmaker
/usr/local/bin/startxfce4
/usr/local/bin/fluxbox
/usr/local/bin/fvwm


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:

#/usr/local/bin/wmaker
/usr/local/bin/startxfce4
#/usr/local/bin/fluxbox
#/usr/local/bin/fvwm


Then:
Code:
startx
Enjoy X.

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

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

I think that should work !

br
Sader
 
Old 03-11-2005, 08:53 AM   #7
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

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

make your ~/.xinitrc:
Code:
xterm

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:38 AM.

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