Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is this "xhost" command?




On 21 Oct 2004, at 4:34 pm, Kenneth Klein wrote:

Thanks for mentioning the -v flag. That shows me this on my iMac in a terminal window.



email@hidden's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: channel 0: request pty-req
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel 0: request x11-req
debug1: channel 0: request shell
debug1: channel 0: open confirm rwindow 0 rmax 32768



After I see this I execute the X11 program that I find in /applications/utilities.

You should run this *before* you connect to the remote server. Otherwise there's no local DISPLAY for the SSH tunnel to connect to.


It takes over ther whole screen in grey and opens a small xterm.
There I execute "X :0 -query MYAIXHOST". At that point the window dissappears altogether but returns a minute later, all grey, no desktop, just a grey screen.
What am I doing wrong?

Aha! Don't try that command. That's trying to start the X server again (you can't - you're already running it!!!) and it's also trying to start an XDMCP session on the remote host - I don't think the Apple X server supports these. Besides, XDMCP is also a concept which is rather outdated these days - it dates from the days that people ran X on an X Terminal, and the entire session was managed by a server somewhere else on the network.


That's not the way Apple's X11 is designed to work; it manages its own X session, running a local window manager (quartz-wm, usually), and XDMCP is not involved. You just ssh to other machines, and let X clients talk through the ssh tunnel.

Tim

--
Dr Tim Cutts
Informatics Systems Group, Wellcome Trust Sanger Institute
GPG: 1024D/E3134233 FE3D 6C73 BBD6 726A A3F5  860B 3CDD 3F56 E313 4233

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Where is this "xhost" command? (From: Hugh McIntyre <email@hidden>)
 >Re: Where is this "xhost" command? (From: Kenneth Klein <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.