[vox-tech] Multiple displays and graphics cards
Mark K. Kim
lugod3MAPS at cbreak.org
Thu Jan 25 03:31:06 PST 2007
On Wed, Jan 24, 2007 at 09:02:35PM -0800, John Wojnaroski wrote:
> castle at turret:~$ export DISPLAY=:0.1
> castle at turret:~$ xclock &
> [1] 1580
> castle at turret:~$ Xlib: connection to ":0.1" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> Error: Can't open display: :0.1
Okay. Let's go back to the ssh session, except when you ssh to the
remote system, check the DISPLAY setting. It's probably:
$ echo $DISPLAY
<ip>:10.0
Change 10.0 to 10.1, 10.2, and 10.3 for the other 3 displays:
export DISPLAY=<ip>:10.0
xterm &
export DISPLAY=<ip>:10.1
xterm &
export DISPLAY=<ip>:10.2
xterm &
export DISPLAY=<ip>:10.3
xterm &
or, simply:
xterm -display <ip>:10.0 &
xterm -display <ip>:10.1 &
xterm -display <ip>:10.2 &
xterm -display <ip>:10.3 &
If you don't see <ip>:10.0 when you do $DISPLAY, X forwarding probably
isn't setup. That's another issue:
- Make sure "X11Forwarding yes" is in /etc/ssh/sshd_config on the
remote system.
- When logging into the remote system, try running ssh with the -X
option.
-Mark
More information about the vox-tech
mailing list