So my main problem with most vnc servers available for linux is their ability to log me into my machine with a completely different environment than what I am already logged into. This makes me mad. On windows, by default, you log into your main profile, end of story. This is how I like it.

Using x11vnc, we can log into our current session without any problems!
Heres How::
<br></br> apt-get install x11vnc<br></br> mkdir ~/.vnc<br></br> touch ~/.vnc/passwd<br></br> x11vnc -storepasswd 'mypassword' ~/.vnc/passwd<br></br> x11vnc -many -usepw -bg

Thats it! this will make your password file, and start vnc in the background allowing you to connect as many times as your want.

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.