Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

XDMCP - What can I do with it/how to make it work?

Post Reply
Massa
Posts: 1
Joined: 2004-07-01 09:53

XDMCP - What can I do with it/how to make it work?

Post by Massa »

Is it possible to connect with e.g. a Linux or HP-UX box _without_ using VNC to my Windows-UltraVNC Server?

Or what exactly can be done when I enable the option "Enable Xdmcp" at the server.

I tried to connect e.g. via "X -broadcast ..." and also "X -query..." - but nothing worked for me :cry:

Am I doing something wrong or is this feature meant for something else?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6883
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

You need to have the xdmcp.exe in the ultravnc directory..
Can be downloaded from our sourceforge files page

This some experimental stuff.....
darkhelmet

XDMCP

Post by darkhelmet »

First, let me say that including XDMCP support was one heck of a bonus. A friend and I used the plugin and got it going. We ran the Win32 server and used a Red Hat Linux box to connect. Wow. We did find one glitch that we could use some help with. We were able to mouse around and click on things, but the keyboard input was ignored. We're not certain if the problem is with 'nix or with UltraVNC, or with the XDMCP plugin. We suspect the plugin, but further testing was inconclusive. Thoughts?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6883
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

xdmcp works as follow.

The xdmcp deamon is used to get the ip of the unix
machine that want to connect.

Then we use this ip to start a Xvncviewer, native recompiled
on win32.

connect.exe -display client_ip:0.0-c chex localhost:5900 chex=128 bit cookie

It could be that the unix version require a window manager and not an application as answer to the xdmcp request.

There are other ways to connect to the unix server

A)
You could start the session on your site.
connext.exe -display clientip:0.0 localhost:5900
If the unix server has already started a window manager and
xhost + to allow remote displays.

B)
You could also run a rshnt deamon, there are some free to download.
From the unix server
rsh PC connect.exe -display unixip:0.0 localhost:5900

Code is almost 2 years old, development was stopped (Xvncviewer on linux is a lot faster, a java viewer run on all platforms)

-Xvncviewer (win32),xdmcp (win32) code is in cvs
Post Reply