Answers to: Running two window managers simultaneouslyhttp://linuxexchange.org/questions/1144/running-two-window-managers-simultaneously<p>I'm running StumpWM and currently my girlfriend is sharing this computer. She needs IceWM, which is more conventional.</p> <p>I want to be able to switch between workspaces using Ctrl-Alt-F8 and Ctrl-8-F7.</p> <p>But if I do</p> <pre><code>$ startx -- :1 </code></pre> <p>from a console, under my login while X is running under my girlfriend's login, I get the errors </p> <p>Could not set DRM Device Bus ID, and Invalid MIT-MAGIC-COOKIE-1-Key (displayed multiple times)</p> <p>If I try</p> <pre><code>Xephyr :1 </code></pre> <p>from an xterm, I get the error</p> <p>Xephyr cannot open host display, is display set?</p> <p>Is what I'm trying to do possible? Any help appreciated.</p>enSun, 01 Aug 2010 22:28:09 -0400Answer by anonymoushttp://linuxexchange.org/questions/1144/running-two-window-managers-simultaneously/1167<p>I don't have the solution for your problem, but I managed to run 2 wm at the same time, albeit one of them (kde, openbox,etc.) is on a window inside another wm (gnome,etc.). I created the following bash script:</p> <pre><code>#!/bin/bash xhost +local:username Xephyr -screen 800x600 -reset -terminate -extension GLX 2&gt;/dev/null :1 &amp; export DISPLAY=:1 startkde &amp; </code></pre> <p>Where 'username' is your username (obviously!); You must have 'Xephyr' installed; Screen size is 800x600. Instead of 'startkde' use the executable of your wm.</p> <p>It worked for me. Tested on Ubuntu 9.04. </p>anonymousSun, 01 Aug 2010 22:28:09 -0400http://linuxexchange.org/questions/1144/running-two-window-managers-simultaneously/1167Answer by Sander Marechalhttp://linuxexchange.org/questions/1144/running-two-window-managers-simultaneously/1159<p>What X session manager do you use? I use GDM and I have no problems using multiple window managers. I use AwesomeWM and my girlfriend uses Metacity. I have simply set the following gconf key to awesome:</p> <pre><code>/desktop/gnome/session/required_components/windowmanager </code></pre> <p>Works like a charm. GDM takes care of the rest.</p>Sander MarechalWed, 28 Jul 2010 07:49:11 -0400http://linuxexchange.org/questions/1144/running-two-window-managers-simultaneously/1159