Re: Problems with remote X11 apps and Apple X11 beta 0.2.1
Re: Problems with remote X11 apps and Apple X11 beta 0.2.1
- Subject: Re: Problems with remote X11 apps and Apple X11 beta 0.2.1
- From: Darwin Mailing List accout <email@hidden>
- Date: Sun, 9 Mar 2003 08:47:58 -0800 (PST)
First, thanks for responding to my post!
Second, here are the answers to queries:
When sucessfully starting x-apps from my Windows box I use REXEC. An xterm
command looks like this:
xterm -display 10.0.1.34:0 -fg green -bg black -T dakkon -n dakkon -g 100x50 &
I can start x-apps from my Linux box via rlogin or any other number of ways.
When I attempted to do this on my Mac, here's what I found. At first, I was
just rlogin'ing into my NetBSD box, setting DISPLAY to 10.0.1.32:0.0, and
launch the app. It said:
Xlib: connection to 10.0.1.32:0.0 refused by server
Xlib: No protocol specified
Error: Can't open display: 10.0.1.32:0.0
After reading the developer note, I modified the ssh_config on my Mac, and the
sshd.conf on my BSD box. I already had ssh working, so I tried ssh -X. It
changed my DISPLAY variable to dakkon:10.0. When I tried to spawn an x-app, I
got nothing, no error message, no display. I had to CTRL-C out of the app.
ssh_config
...
# Host *
ForwardAgent yes
ForwardX11 yes
...
sshd.config
...
StrictModes yes
X11Forwarding yes
X11DisplayOffset 10
...
-Gerry
On Sunday, Mar 9, 2003 Krister Joas wrote:
>
> On Sunday, Mar 9, 2003, at 13:59 Asia/Tokyo, Darwin Mailing List accout
> wrote:
>
> > I have a NetBSD box, a Linux box, several Windows boxes, and a
> > Powerbook G4 DVI.
> >
> > I have Hummingbird's Exceed X-windows server running on my PC's.
> >
> > I can run X-apps on my NetBSD box and display them on my Windows
> > boxes. I can
> > also run display them on my Linux box.
> >
> > I'm trying to do the same on my Powerbook with Apple's X11 running.
> > The Readme
> > file suggests going to
> > http://developer.apple.com/qa/qa2001/qa1232.html for
> > help and advise.
> >
> > This documents states the following:
> >
> > Q: How do I forward remote X displays to my Mac?
> >
> > A: The best (and safest) way is to simply "ssh -X user@remotehost"
> > from the
> > inital xterm. X forwarding and your DISPLAY environment variable on
> > the remote
> > host will automatically be set. Remote host must have X Forwarding
> > enabled in
> > ssh_config file. MacOSX does not enable this by default.
> >
> > I've tried many times to launch an X-app on my NetBSD box and display
> > it on my
> > Mac. But any X-app always complains that is can't open the Mac's
> > display. I
> > can't figure what I'm doing wrong here.
> >
> > Help!!
>
> Gerry,
>
> I think you need to provide some more information. What are the exact
> error messages when you try displaying on your Mac? What's the value
> of the DISPLAY environment variable when you log in to your NetBSD box
> from your Mac? How do you login/run apps when doing it successfully on
> your other machines, ssh, rsh, telnet? Is sshd server X11 forwarding
> enabled on the NetBSD machine (is X11Forwarding is set to yes in your
> /etc/ssh/sshd_config)?
>
> Krister
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.