On Wed, Jan 24, 2007 at 09:02:35PM -0800, John Wojnaroski wrote:
> [EMAIL PROTECTED]:~$ export DISPLAY=:0.1
> [EMAIL PROTECTED]:~$ xclock &
> [1] 1580
> [EMAIL PROTECTED]:~$ 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
_______________________________________________
vox-tech mailing list
[email protected]
http://lists.lugod.org/mailman/listinfo/vox-tech