Prerequisites for this to work are :

I'm not 100% sure about needing xserv35.tgz, but it works definitely if it's installed. Now configure xdm to start an Xvnc server :

Add the following line to /etc/X11/xdm/Xservers :

	:1 local /usr/local/bin/Xvnc :1 -geometry 1024x768 -depth 16 -desktop banana -wm

And add this to /etc/X11/xdm/xdm-config :

	DisplayManager._1.authorize:    false

After this, (re)start xdm(1), and you should be able to connect your vnc client to display :1, log in and work remotely on your OpenBSD machine. Remember to use SSH tunneling (see ssh(1) for more details) to secure the communcation channel between VNC client and server. To enforce this, you can use the '-localhost' option to Xvnc.

Back to OpenBSD stuff

Powered by OpenBSD