Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Open an X11 query from Terminal.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Open an X11 query from Terminal.app
Authored by: makeitsimple on Mar 22, '06 08:06:37PM

Two years later - did anyone figure this out?!

I've tried these commands:
$ /usr/X11R6/bin/Xquartz -depth 24 -query <hostname> -xinerama
-OR-
$ /usr/X11R6/bin/X -query <hostname>

I found out that I was originally being denied due to firewall issues. So, I opened/mapped ports 6000-6010 and then I started to get this instead:

XFree86 Version 4.4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[DRI] screen 0 installation complete
Screen 0 added: 1440x878 @ (0,22)
Screen 0 placed at X11 coordinate (0,0).
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
XDM: too many retransmissions, declaring session dead
[DRI] screen 0 installation complete
Screen 0 added: 1440x900 @ (0,0)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
^CQuitting XDarwin...

No matter how I adjust the command, it's the same old story - gray screen with the X cursor and these endless loops on dead xdm sessions.

The Solaris 9 box has * for access in Xaccess, so I'm not sure what more to do...Surely SOMEONE has gotten this to work?! If so, can you psot or link to the X* files so we can check the settings against ours that fail?



[ Reply to This | # ]
Open an X11 query from Terminal.app
Authored by: zoombronco on Apr 19, '06 07:19:36PM

Ok, well, I did this with an installation of LTSP, but I assume the principle is similar:

X -query x.x.x.x :1

where x.x.x.x is the IP address of the server you are trying to reach.

I believe you were leaving out the display number after the address.

I did this in an X11 window running xterm. i simply started X11 from my utilities folder in Applications, typed in the above command, watched a few messages, and then the login popped up. i believe xdmcp must be configured properly in either gdm, kdm, or xdm to load properly. But I'm a newb, so what do i know? :)
Now my problem is that the login screen will not disconnect, even when using the "DISCONNECT" button on the darn screen...



[ Reply to This | # ]
Open an X11 query from Terminal.app
Authored by: raywang on May 06, '06 06:47:29PM

Hi there,

I encountered the same problem when I ran the following command in a terminal. FYI, my X11 works well in my Intel Mac-Mini with 10.4.6 Tiger.

Any hint for the solution? Thanks.

$ /usr/X11R6/bin/Xquartz -query my-ubuntu

XFree86 Version 4.4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[DRI] screen 0 installation complete
Screen 0 added: 1024x768 @ (0,0)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!



[ Reply to This | # ]