Try relaxing the X security settings : On your connected linux bos, type 'xhost +'

Ed

Robert Citek wrote:


On Friday, Feb 4, 2005, at 08:40 US/Central, Craig Smith wrote:

I want to connect from my Mac (which runs Apple's X11) to my linux box
through ssh using X11forwarding. When I connect to my linux box by typing
"ssh -X [EMAIL PROTECTED]", everything seem fine but when I try to start a
program
the requires an X window I get the following response


Nedit: Can't open display

How do I fix this. Any help would be appreciated


First, connecting from a Mac to linux via ssh and then starting nedit does work. I do it all the time. Second, your ssh connection command looks right and should work. So, it's a matter of figuring out what isn't set correctly.

Some questions to figure this out:

- What version of OS/X are you running? I'm running 10.2.8.
- What Linux distro are you running? We're running RH7.3, RH9, FC1, Knoppix.
- On the Mac, is X11 started?
- On the Mac, what do you get when you type 'echo $DISPLAY' in a shell?
- Once you've connected to the Linux box via ssh, what do you get when you type 'echo $DISPLAY' ?
- Does your sshd service on the linux box have ssh forwarding enabled? For example:


  $ grep -i forwar /etc/ssh/sshd_config
  X11Forwarding yes

Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software.  Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent

_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/    [email protected]
http://lists.firepipe.net/listinfo/cwe-lug


--
Ed Howland
WDT Solutions, LLC.
[EMAIL PROTECTED]
(314) 962-0766

_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/ [email protected]
http://lists.firepipe.net/listinfo/cwe-lug

Reply via email to