bodhi.zazen, thanks for the VirtualX script!
I'm running into a problem, however.
When I run it from the gnome session (and select gnome), the screen goes black for a moment, and then I'm popped back to the gnome session.
When I run it from tty1 (and select gnome), I get the grey mosaic pattern and the X cursor. No usual gnome session. None of the mouse buttons do anything. I pressed Ctrl-Alt-Backspace, and was sent back to tty1.
Okay, confession #1: I use fvwm as my window manager instead of metacity.
Confession #2: I don't have xscreensaver or numlockx installed, so I commented out those lines.
Here is the slight change I made to the script:
Code:
% diff ~/bin/virtualX-orig /usr/local/bin/virtualX
64,65c64,65
< DISPLAY=:2.0 /usr/bin/xscreensaver &
< DISPLAY=:2.0 /usr/bin/numlockx on &
---
> # DISPLAY=:2.0 /usr/bin/xscreensaver &
> # DISPLAY=:2.0 /usr/bin/numlockx on &
73c73
< /usr/bin/startx /usr/bin/gnome-session -- :2 2> /dev/null &
---
> /usr/bin/startx /usr/bin/gnome-session -- :2 2> $HOME/.virtualX-errors &
And here is what I found in .virtualX-errors:
Code:
xauth: creating new authority file /home/shark/.serverauth.8154
xauth: error in locking authority file /home/shark/.Xauthority
xauth: error in locking authority file /home/shark/.Xauthority
xauth: error in locking authority file /home/shark/.Xauthority
xauth: error in locking authority file /home/shark/.Xauthority
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8.3)
Current Operating System: Linux tack 2.6.22-14-generic #1 SMP Tue Feb 12 UTC 2008 i686
Build Date: 18 January 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.2.log", Time: Fri Aug 22 2008
(==) Using config file: "/etc/X11/xorg.conf"
(II) Module already built-in
AUDIT: Fri Aug 22 2008: 8172 X: client 1 rejected from local host (uid 1000)
Xlib: connection to ":2.0" refused by server
Xlib: No protocol specified
...
The same error repeated every two seconds
...
..
AUDIT: Fri Aug 22 2008: 8172 X: client 1 rejected from local host (uid 1000)
Xlib: connection to ":2.0" refused by server
Xlib: No protocol specified
.FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
giving up.
xinit: unable to connect to X server
xinit: No such process (errno 3): unexpected signal 15.
xauth: error in locking authority file /home/shark/.Xauthority
I have installed dialog, and have edited /etc/X11/Xwrapper.config per your instructions.
Any idea where I'm going wrong?
Bookmarks