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.

Blog Logo

Mario Loria


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview