robpatrick
Registered
Would somebody be kind enough to help me "ssh -X" from a Linux machine into my Powerbook with OS X?
"ssh -X" from my Powerbook to the Linux machine works fine (I can pull up the WindowManager and use the GUI desktop as if I was at the Linux box. Simple ssh (without XForwarding) into my Powerbook from another location works fine.
What I'd like to do is "ssh -X" into MY computer and pull up WindowMaker. In other words, login to my Powerbook (which is running XFree86 and WindowMaker) and pull up the X-Windows desktop and use the GUI system remotely, through XForwarding.
So, here's where I'm at so far...
Let's call the outside machine "outside" and my machine "powerbook." I'm logging into my powerbook from the outside machine. Here's what I type after I've logged in with "ssh -X powerbook.ip.address":
outside$ setenv DISPLAY "outside.ip.address":0.0
outside$ xhost + "powerbook.ip.address"
and at this point it gives me an error:
outside$ xhost: unable to open display "powerbook.ip.address:0.0"
Even if I get past that, I get the same problem:
(after ssh'ing to my powerbook)
powerbook$ export DISPLAY="powerbook.ip.address:0"
powerbook$ startx (or twm, or whatever window manager I like)
powerbook$ twm: unable to open display "outside.ip.address:0"
Any ideas? I've tried a couple small changes to ssh_config and sshd_config (Like "X11Forwarding yes") that actually just ended up messing up ssh in general and cause Darwin to exit me out at login (real weird).
I know this is a hardcore UNIX thing to do.. but I think I'm pretty close to getting it. It really SHOULD work. (By the way, how do I find out what the IP Address of the machine I'm currently at is, in the terminal?)
Thanks to anyone who can attempt a solution or advice,
Rob
"ssh -X" from my Powerbook to the Linux machine works fine (I can pull up the WindowManager and use the GUI desktop as if I was at the Linux box. Simple ssh (without XForwarding) into my Powerbook from another location works fine.
What I'd like to do is "ssh -X" into MY computer and pull up WindowMaker. In other words, login to my Powerbook (which is running XFree86 and WindowMaker) and pull up the X-Windows desktop and use the GUI system remotely, through XForwarding.
So, here's where I'm at so far...
Let's call the outside machine "outside" and my machine "powerbook." I'm logging into my powerbook from the outside machine. Here's what I type after I've logged in with "ssh -X powerbook.ip.address":
outside$ setenv DISPLAY "outside.ip.address":0.0
outside$ xhost + "powerbook.ip.address"
and at this point it gives me an error:
outside$ xhost: unable to open display "powerbook.ip.address:0.0"
Even if I get past that, I get the same problem:
(after ssh'ing to my powerbook)
powerbook$ export DISPLAY="powerbook.ip.address:0"
powerbook$ startx (or twm, or whatever window manager I like)
powerbook$ twm: unable to open display "outside.ip.address:0"
Any ideas? I've tried a couple small changes to ssh_config and sshd_config (Like "X11Forwarding yes") that actually just ended up messing up ssh in general and cause Darwin to exit me out at login (real weird).
I know this is a hardcore UNIX thing to do.. but I think I'm pretty close to getting it. It really SHOULD work. (By the way, how do I find out what the IP Address of the machine I'm currently at is, in the terminal?)
Thanks to anyone who can attempt a solution or advice,
Rob