Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: VNC: list

Xvnc + XDMCP

 

 

VNC list RSS feed   Index | Next | Previous | View Threaded


sbremal at hotmail

Feb 9, 2009, 10:32 PM

Post #1 of 5 (1637 views)
Permalink
Xvnc + XDMCP

Hi All,

Is there anyone who managed recently to start Xvnc with XDMCP on FreeBSD?

I have been struggling with this for a few days already. After switching xdm
to debug mode, I noticed that Xvnc does not contact xdm at all! Then obviuosly
only the grey screen opens with the mouse cursor, no loging window.

Xvnc seems to completely ignore the "-query localhost" argument, why?
(Starting X with "-query localhost" works fine, I can see the XDMCP messages
exchanged with xdm.)

Any idea?

(Just upgraded to vnc-4.1.3_1 but no avail.)

Cheers,
Balazs
_______________________________________________
VNC-List mailing list
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


sbremal at hotmail

Feb 10, 2009, 8:05 AM

Post #2 of 5 (1562 views)
Permalink
RE: Xvnc + XDMCP [In reply to]

Is there a more appropriate list to address this question to?

Thanks.

B.

> From: sbremal [at] hotmail
> To: vnc-list [at] realvnc
> Subject: Xvnc + XDMCP
> Date: Tue, 10 Feb 2009 06:32:27 +0000
>
> Hi All,
>
> Is there anyone who managed recently to start Xvnc with XDMCP on FreeBSD?
>
> I have been struggling with this for a few days already. After switching xdm
> to debug mode, I noticed that Xvnc does not contact xdm at all! Then obviuosly
> only the grey screen opens with the mouse cursor, no loging window.
>
> Xvnc seems to completely ignore the "-query localhost" argument, why?
> (Starting X with "-query localhost" works fine, I can see the XDMCP messages
> exchanged with xdm.)
>
> Any idea?
>
> (Just upgraded to vnc-4.1.3_1 but no avail.)
>
> Cheers,
> Balazs
> _______________________________________________
> VNC-List mailing list
> VNC-List [at] realvnc
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_________________________________________________________________
Drag n dropGet easy photo sharing with Windows Live Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx
_______________________________________________
VNC-List mailing list
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Phillip.Long at gossinternational

Feb 10, 2009, 9:13 AM

Post #3 of 5 (1566 views)
Permalink
RE: Xvnc + XDMCP [In reply to]

-----Original Message-----
From: vnc-list-admin [at] realvnc [mailto:vnc-list-admin [at] realvnc] On
Behalf Of Balazs
Sent: Tuesday, February 10, 2009 11:05 AM
To: vnc-list [at] realvnc
Subject: RE: Xvnc + XDMCP

Is there a more appropriate list to address this question to?

Thanks.

B.

> From: sbremal [at] hotmail
> To: vnc-list [at] realvnc
> Subject: Xvnc + XDMCP
> Date: Tue, 10 Feb 2009 06:32:27 +0000
>
> Hi All,
>
> Is there anyone who managed recently to start Xvnc with XDMCP on
FreeBSD?
>
> I have been struggling with this for a few days already. After
switching xdm
> to debug mode, I noticed that Xvnc does not contact xdm at all! Then
obviuosly
> only the grey screen opens with the mouse cursor, no loging window.
>
> Xvnc seems to completely ignore the "-query localhost" argument, why?
> (Starting X with "-query localhost" works fine, I can see the XDMCP
messages
> exchanged with xdm.)
>
> Any idea?
>
> (Just upgraded to vnc-4.1.3_1 but no avail.)
>
> Cheers,
> Balazs



Balazs:

Well, this may not be the right forum, since it's an X question, but
we're all here to help one another; I'm no X whiz, but here's my
guess ...

Is your FreeBSD machine running as an X display being managed by XDMCP?

IIRC, this protocol implies that the machine on which xdm is running is
the X server, usually running with very limited resources. I believe
that many, if not most, of the programs that run on an xdm-managed X
server reside elsewhere; that's why they came up with a different
protocol. This is not to say that U couldn't do it by running xdm
instead of a full-blown server (which is what Xvnc is), but what U
want to do is run the viewer application (xvncviewer), not the server,
and connect back to your xdm-managed X server.

HTH and isn't too far off the mark (like I said, I'm no X guru!).

--------------------------------------------------------

Goss ... Innovation for Business

NOTICE: This e-mail and any attachment(s) may contain confidential and
proprietary information of Goss International Corporation and/or its
subsidiaries and may be legally privileged. This e-mail is intended solely for
the addressee. If you are not the addressee, dissemination, copying or other
use of this e-mail or any of its content is strictly prohibited and may be
unlawful. If you are not the intended recipient please inform the sender
immediately and destroy the e-mail and any copies. All liability for viruses
is excluded to the fullest extent permitted by law. Any views expressed in
this message are those of the individual sender. No contract may be construed
by this e-mail.
_______________________________________________
VNC-List mailing list
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


sbremal at hotmail

Feb 10, 2009, 3:41 PM

Post #4 of 5 (1559 views)
Permalink
RE: Xvnc + XDMCP [In reply to]

Thanks for your answer. You're right, the BSD machine has a local istallation
of XDM, X11 and VNC. I am a happy user :) of Symbian on E90, for which the VNC
viewer got ported (unfortunately no X server port yet), so I can have full
access to my home server over 3G phone even from the office with strict
firewall.

As far as I understood when Xvnc (or the vncserver wrapper) is started, an X
server and a VNC server is started in the same process. Then this Xvnc process
should contact the local XDM for the login window ("-query localhost"
argument), which does not happen. Xvnc does not even try to send the XDMCP
query packet to XDM. XDM is running fine.

Could the FreeBSD port of VNC be the problem?

Just spent too many hours to give up now... The workaround now is to (1) log
in to the server with Putty, (2) start the Xvnc manually, (3) exit from Putty,
(4) start the VNC viewer on the phone. Ideally (1), (2) and (3) could be saved
if the login would be handled by Xvnc through XDM (and Xvnc started from
inetd).

Cheers,
Balazs
_______________________________________________
VNC-List mailing list
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list


Phillip.Long at gossinternational

Feb 11, 2009, 6:12 AM

Post #5 of 5 (1530 views)
Permalink
RE: Xvnc + XDMCP [In reply to]

-----Original Message-----
From: vnc-list-admin [at] realvnc [mailto:vnc-list-admin [at] realvnc] On
Behalf Of sbremal
Sent: Tuesday, February 10, 2009 6:41 PM
To: vnc-list [at] realvnc
Subject: RE: Xvnc + XDMCP

> As far as I understood when Xvnc (or the vncserver wrapper) is
started,
> an X server and a VNC server is started in the same process. Then this


I'm afraid I didn't explain myself very well; sorry about that. I
think a better way for me to put it might be that I believe that Xvnc
*is* an Xserver, so there is no reason for it to contact *another*
Xserver. I think (I haven't tried this yet) that if U want the
vncviewer to display what U see on the console, U have to start
Xvncserver *instead* of xdm. Only the Enterprise version of uses
native authentication; the Free version doesn't even use encryption,
which is why U'll read about people sending the RFB packets through an
SSH tunnel (see http://www.realvnc.com/vnc/features.html). If U use
Xvncserver as your Xserver, however, authentication by VNC doesn't
matter, because your system will do the authentication as the Xserver.
Authentication is not encryption, however, so U should still send the
connection through a tunnel, or it will be visible to anybody who takes
the trouble to look.

Of course, YMMV; as I warned in my previous post, I'm an X *user*, not
a guru. :) I use x86-64 Debian at home and Cygwin X on WinXP at work,
but I don't get a lot of time to play with my Linux box. The only
thing that I have done so far is to fix the screen resolutions available

(so that I'm not stuck with 640x480) by copying xorg.conf from Knoppix;
I couldn't even tell U why that works, because I haven't had time to
investigate.

> Just spent too many hours to give up now... The workaround now is to
> (1) log in to the server with Putty, (2) start the Xvnc manually, (3)
> exit from Putty, (4) start the VNC viewer on the phone. Ideally (1),
> (2) and (3) could be saved if the login would be handled by Xvnc
> through XDM (and Xvnc started from inetd).

So I gather that U have done this before?

> Cheers,
> Balazs

--------------------------------------------------------

Goss ... Innovation for Business

NOTICE: This e-mail and any attachment(s) may contain confidential and
proprietary information of Goss International Corporation and/or its
subsidiaries and may be legally privileged. This e-mail is intended solely for
the addressee. If you are not the addressee, dissemination, copying or other
use of this e-mail or any of its content is strictly prohibited and may be
unlawful. If you are not the intended recipient please inform the sender
immediately and destroy the e-mail and any copies. All liability for viruses
is excluded to the fullest extent permitted by law. Any views expressed in
this message are those of the individual sender. No contract may be construed
by this e-mail.
_______________________________________________
VNC-List mailing list
VNC-List [at] realvnc
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

VNC list RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.