Joseph Nahmias a icrit :
> On Tue, Jul 10, 2007 at 05:55:54PM +0200, [EMAIL PROTECTED] wrote:
>> Hi,
>>   I would like to know if the current Xserver is VNC server or not.
>> Command "xpdyinfo" returns a "vendor string" that is supposed to say
>>   that.
>> However  VNC server answers "The XFree86 Project, Inc"...
>> Is there a better way to know that the Xserver is VNC ?
>
> Please let me know if you find an answer to this question!
>

Hi,
  one could also look at the VNC-EXTENSION. Try :
$ xdpyinfo -queryExtensions|grep VNC

If the Xserver has VNC capabilities this command returns:
    VNC-EXTENSION  (opcode: 134, base event: 66)


or try to get some valye with vncconfig:
$ vncconfig -get desktop
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to