Step-by-step for mfaridi:
- Install tightvnc package.
- Open the appropriate ports on your network. By default, the port number for incoming connections from VNC clients to the server is 5900+display number. If you will be using VNC clients with -listen, open the appropriate ports as necessary.
- Run the server from the connect-to userid on your OpenBSD platform for the first time:
$ vncserver
Provide a connection password for normal connection.
Optionally provide a display only password for restricted connection.
- Kill the server:
$ pkill vnc
- Edit ~/.vnc/xstartup. Have it start gnome-session, rather than running the default fvwm window manager.
- Rerun the vncserver
- Connect from your VNC client(s).