image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old September 7th, 2006, 01:37 PM
Sunnz's Avatar
Who wants a stylus?
 
Join Date: Nov 2005
Location: Canberra, Australia
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
Sunnz is on a distinguished road
X11 over SSH not working?

I did this in X11:
ssh -X name@linux

Then I tried to run mozilla-bin but it said:
Code:
xdpyinfo:  unable to open display "".
Unable to connect to X server

Gtk-WARNING **: cannot open display: 
mozilla-bin exited with non-zero status (1)
How do I make it work???

X on Linux is 6.8.2.
Reply With Quote
  #2  
Old September 7th, 2006, 02:59 PM
Viro's Avatar
Registered User
 
Join Date: Nov 2003
Location: Oxford, UK
Posts: 2,489
Thanks: 0
Thanked 1 Time in 1 Post
Viro will become famous soon enoughViro will become famous soon enough
Dumb question time. Do you have X11 running on your Mac? If you do, have you correctly set up the DISPLAY variable?
Reply With Quote
  #3  
Old September 7th, 2006, 03:01 PM
Sunnz's Avatar
Who wants a stylus?
 
Join Date: Nov 2005
Location: Canberra, Australia
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
Sunnz is on a distinguished road
I said:
Quote:
I did this in X11:
In the very first sentence of the very first post...
Reply With Quote
  #4  
Old September 7th, 2006, 03:15 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 9,904
Thanks: 2
Thanked 61 Times in 57 Posts
ElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura aboutElDiabloConCaca has a spectacular aura about
Try:
Code:
ssh -Y name@linux
I had to do the "-Y" to force X11 forwarding under X11 on my Mac OS X box... -X never worked for me.
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
  #5  
Old September 7th, 2006, 03:16 PM
Registered User
 
Join Date: Jul 2006
Location: Vancouver,BC -> NewYorkCity,US
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
bluedevils is on a distinguished road
Generally speaking, if you do an ssh -X, you do not need to set the DISPLAY variable. If it is not a security concern, you might want to try setting it, anyways.

I haven't tried doing this myself, but I just might when I get home.
Reply With Quote
  #6  
Old September 7th, 2006, 03:19 PM
Registered User
 
Join Date: Jul 2006
Location: Vancouver,BC -> NewYorkCity,US
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
bluedevils is on a distinguished road
always a minute too late
Reply With Quote
  #7  
Old September 7th, 2006, 04:25 PM
Viro's Avatar
Registered User
 
Join Date: Nov 2003
Location: Oxford, UK
Posts: 2,489
Thanks: 0
Thanked 1 Time in 1 Post
Viro will become famous soon enoughViro will become famous soon enough
Serves me right for not getting enough sleep . Ah well, off to bed with me and I'll see if I can shed any light on it in the morning.
Reply With Quote
  #8  
Old September 8th, 2006, 12:15 AM
Sunnz's Avatar
Who wants a stylus?
 
Join Date: Nov 2005
Location: Canberra, Australia
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
Sunnz is on a distinguished road
Ok it turns out that X11 forwarding was being turn off in sshd_config!

*slaps myself in the head*

It now works when I do ssh -X me@linux.

What's the difference anyway? Is X better than Y?

Also, what is the display variable about??? Would I be able to forward X11 to say a Window in Xnest?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Wonder! not working Ferdinand Site Discussion 1 July 18th, 2006 03:10 AM
Mac Help is not working f_h_petrone Mac OS X System & Mac Software 1 September 27th, 2005 04:53 AM
DVD-D not really working Zammy-Sam Bob's Place 7 September 9th, 2004 10:17 PM
How do you get Classics working after you've got OS X working ? zzbuckley Mac Classic System & Software 20 March 23rd, 2003 02:34 PM
USB working AppleWatcher Apple News, Rumors & Discussion 2 March 9th, 2001 10:35 AM


All times are GMT -5. The time now is 02:54 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.