l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2007 Jan 25 08:56

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Multiple displays and graphics cards
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Multiple displays and graphics cards



On Wed, Jan 24, 2007 at 09:02:35PM -0800, John Wojnaroski wrote:
> castle@turret:~$ export DISPLAY=:0.1
> castle@turret:~$ xclock &
> [1] 1580
> castle@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

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.