Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 06-01-2010, 09:42 PM   #1
LQ Newbie
Registered: Aug 2009
Posts: 25

Rep: Reputation: 1
running two different window managers at the same time

How can I get

$ startx -- :1.0

to work if I already have a window manager (stumpwm) running on display :0.0?

icewmbg starts (shows itself in top) but doesn't display. Just get a black screen.

Thanks for any help
Old 06-01-2010, 11:34 PM   #2
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Use ctrl+alt+F2 and try
startx -- :1
Or you could use Xephyr.
Old 06-04-2010, 01:03 AM   #3
LQ Newbie
Registered: Aug 2009
Posts: 25

Original Poster
Rep: Reputation: 1
xephr not working

Thanks for that suggestion. But when I type

$ Xephyr :1

I get a grey meshed window, with an X the mouse can move, and the error:

unrecognised device identifier!

Also, when I type

$ startx -- :1

on a virtual console, I get the same situation on Ctrl+Alt+F8, and the errors,

No matching device section for instance (BusID PCI:0:2:11)
Could not set DRM device bus ID
Invalid MIT-MAGIC-COOKIE-1 key
errno 11
resource temporarily available

I think the problem behind the two methods not working is related.

I really need to get this going, so me and my girlfriend can swap between our sessions at a keystroke.

Any ideas would be appreciated.

Old 06-04-2010, 02:45 AM   #4
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,169

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
from one window manager open a terminal and start a second one from there

-- gnome --
r-click and select "open terminal "
type in nautilus
Old 06-10-2010, 04:31 AM   #5
LQ Newbie
Registered: Aug 2009
Posts: 25

Original Poster
Rep: Reputation: 1

Thanks. I get a clearer error message now.

Starting from an xterm I get

xauth: timeout in locking authority file /home/cheetah/.Xauthority
I researched this, and tried removing .Xauthority and restarting X, but I still got the same message.

Any other ideas?
Old 06-10-2010, 08:24 AM   #6
Senior Member
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,830
Blog Entries: 21

Rep: Reputation: 119Reputation: 119
I used to do this by running multiple instances of X where X rand xdm to login with. Later I did this with the different window manager's own login (e.g. gdm, etc). But the key here was doing these as distinct login instances, even with the same userid (as opposed to using startx). This did require finding all the X setup config files and making multiple instances and invoking them. Many of today's distributions probably will be difficult to do this with. Slackware tends not to be. OTOH, I've found that with Ubuntu, if you select "Switch user" from the logout/shutdown drop menu, you get a new instance of X. Combine this with different usernames sharing the same userid number, and it might work. Or it might still give you the same window manager (I haven't tried it because I only use one Window manager on Ubuntu).


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
Window Managers thorn168 General 21 05-10-2006 11:37 AM
Running 2+ window managers simultaneously? 1 screen, 1 X-server. j4mes Linux - Software 2 02-05-2006 11:30 AM
running two window mangers at the same time cyberwizard Linux - Software 3 12-21-2005 02:38 PM
Window Managers vs Window Shell Environments DJOtaku Linux - General 7 08-09-2005 12:43 PM
Window Managers vs. Desktop Managers mikeshn Linux - General 4 02-11-2004 11:31 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:30 PM.

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