Get status on remote hosts` X engine

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
Get status on remote hosts` X engine

Submitted by Anonymous on Wed, 02/06/2002 - 03:17. Developers
Any help with this will be appreciated,

I need to get information on a system`s X engine..I basically need to konw if I`m able to send X driven apps to them.

This is a web driven tool for which I`m using php and its socket support. So far I am able to open the socket and in the case of x86 emulators, tell if they`re running the X engine or not. But I need to get more detailed information and specifically if it will accept the display.. I`ve read some threads that point to a utility called xwininfo? But I don`t know how that normally get`s called.

Again, I`ll appreciate any help/comments.

ICS_support

xwininfo is an application program ( http//www.motifzone.com/resources/man/xwininfo.html ) that gives you information about windows. It isn`t of too much use here. What you really want is http//www.motifzone.com/resources/man/xdpyinfo.html , which gives you more information about the server. Or, more properly, it sounds like you want to be able to try to do an XOpenDisplay() and then fail if necessary. And the way to do that is to call XOpenDisplay() and be prepared to handle a NULL Display* . The comp.windows.x FAQ (follow the links from http//www.motifzone.com/resources/other.html ) has more information on how to do this.

Anonymous

Thank you dbl, this is exactly what I was looking for...I appreciate the help.