LinHES Forums
http://forum.linhes.org/

X11 forwarding on MacOS X
http://forum.linhes.org/viewtopic.php?f=11&t=10134
Page 1 of 1

Author:  sjwanta [ Sun May 21, 2006 8:46 am ]
Post subject:  X11 forwarding on MacOS X

Has anyone been able to get X11 fowarding to work with MacOS X?

I have enabled forwarding in the ssh config file on the server.

When I try to connect using Apple's X11, I get the following message:

Code:
Ashlar:~ shawn$ ssh sjconnect.zapto.org
Password:
Linux mythtv 2.6.15-chw-2 #1 SMP PREEMPT Thu Jan 5 08:10:40 UTC 2006 i686 GNU/Li
nux


Last login: Sun May 21 09:41:11 2006 from c-24-118-175-241.hsd1.mn.comcast.net
shawn@mythtv:~$ su
Password:
root@mythtv:/home/shawn# startx
xauth:  creating new authority file /root/.Xauthority
xauth:  creating new authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority

X: warning; process set to priority -1 instead of requested priority 0

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to debian-x@lists.debian.org.

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit:  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
root@mythtv:/home/shawn#

Author:  mac [ Sun May 21, 2006 9:22 pm ]
Post subject: 

what is it that your tring to do?

Fun with ssh xforwarding:
Code:
ssh -X sjconnect.zapto.org
xeyes


did it work? if it did, your ssh xforwarding worked.

Author:  sjwanta [ Mon May 22, 2006 7:29 am ]
Post subject:  xeys worked

mac,

Yes, the xeyes worked, thank you. But, the mythfrontend still gives errors.

Code:
shawn@mythtv:~$ mythfrontend
mythfrontend: cannot connect to X server localhost:10.0

Author:  mac [ Mon May 22, 2006 5:35 pm ]
Post subject: 

on osx:

xhost +

on mythbox:

export DISPLAY=<ip of osx box>:0.0
mythfrontend&

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/