LinuxQuestions.org
Help answer threads with 0 replies.
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 11-16-2011, 03:23 PM   #1
slackunix
LQ Newbie
 
Registered: Oct 2011
Posts: 29

Rep: Reputation: Disabled
Run desktop environment different


Hello, how can I to run another desktop environment different that I chose for default?. I tried with startx fluxbox and got this "xinit: connection to X server lost", and other times shows me "$DISPLAY error", only when I run with startkde doesn't give me problems, with fluxbox it gives me error. Also if I write "startx" gives me problems I must write "startxfce".
 
Old 11-16-2011, 03:35 PM   #2
beder
Member
 
Registered: Apr 2011
Posts: 82

Rep: Reputation: 28
You can issue xwmconfig to use Slackware's own tool to select a different X environment. This will change the default window manager for the current user, and you'll be able to load your selection using the usual startx

Using this tool will automagically change your .xinit configs and etc to load the selected environment correctly, and you'll probably not have the errors you're currently having anymore


Ninja edit: When I said "change your .xinit configs and etc " I don't mean "etc" as in your etc folder, but as in the latin expression "et cetera" :-)
 
Old 11-16-2011, 04:41 PM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
If you're starting your wm from the command line (init 3, startx), then to launch something other than the default, you have to put the individual wm's startup command in .xinitrc. eg, startfluxbox, startkde, startxfce4....

Otherwise, use xwmconfig (as root), as suggested above (the script can also be run from withing pkgtool)

cheers,
 
Old 11-16-2011, 05:50 PM   #4
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
Quote:
Originally Posted by mrclisdue View Post
xwmconfig (as root)
Why root? I've been doing it as user and it works (in init 3, of course).
 
Old 11-16-2011, 06:02 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Doing xwmconfig as root will select default WM for users. This is usually done at install.
Doing it as user overrides this.
 
Old 11-17-2011, 06:44 AM   #6
slackunix
LQ Newbie
 
Registered: Oct 2011
Posts: 29

Original Poster
Rep: Reputation: Disabled
It works perfectly, thanks beder!
 
  


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
Need to Installing a Desktop Environment on a Centos 5.5 server to run VNC ppartyka Linux - Newbie 3 04-27-2011 03:46 PM
Litotas Desktop, a new Linux Desktop environment, work started Endarur Programming 3 03-12-2011 06:40 AM
Can i run applicatinos without desktop environment? QueenZ Linux - Newbie 32 02-15-2009 07:37 AM
Can i run any graphical apps without loading Desktop Environment ? krishnasut Linux - Software 4 02-05-2009 06:08 PM
how do I run a different desktop environment dr_unpleasant Slackware 1 07-07-2004 03:30 PM

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

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