Solved Connect VNC to existing MATE session

I’ve installed MATE desktop environment on my Lenovo T460 laptop, and it’s working fine.

I installed tigervnc-server from ports, and configured the xstartup file to run mate-session and that also works. I can connect to the VNC session just fine.

The problem I’m having is that I want to connecting to the already existing session that is running on the laptop. Right now it’s starts a new session with the VNC server, and that is the one I connect to.

The mate-session manual doesn’t seem to have an option for connecting to an existing session using the xstartup file.

How do I connect to an existing MATE desktop session using tightvnc-server?
 
The solution to this is to use the x0vncserver command as opposed to vncserver.

The docs indicate that x0vncserver is to connect to and share an already running session, while vncserver will create a virtual session.
 
Back
Top