oh hai thar
New Member
- Joined
- Apr 24, 2011
- Messages
- 56
- Reaction score
- 3
Oh hai,
tightvncserver is hard to setup for me (always some problem),
so I found x11vnc, which is easier
(though the documentation says SECURITY RISK if used like in this tutorial, starting it directly from putty, when GUI is not logged in)
If you start it -without- password, press CTRL+C or CTRL+Z or COMMAND: killall -9 x11vnc
to stop it, before you might get hacked.
Only use this method if you cannot get tightvncserver or vnc4server work.
How to install:
apt-get install x11vnc
How to configure (You need password):
x11vnc -storepasswd
Enter password
How to find auth file (If your GUI is not logged in)
x11vnc -findauth
EXAMPLE Output: XAUTHORITY=/var/run/lightdm/root/:0
How to Test Start (Remember: Do not forget -usepw, without it, you wont use password for VNC Server)
x11vnc -usepw -auth fileFromFindAuth
If everything works, and you want it running in Background (easier than Screen),
and if you want it "ON" all the time, except for computer reboot,
How to start
x11vnc -usepw -auth fileFromFindAuth -forever -bg
If you want to close it, type: killall -9 x11vnc
peace,
tightvncserver is hard to setup for me (always some problem),
so I found x11vnc, which is easier
(though the documentation says SECURITY RISK if used like in this tutorial, starting it directly from putty, when GUI is not logged in)
If you start it -without- password, press CTRL+C or CTRL+Z or COMMAND: killall -9 x11vnc
to stop it, before you might get hacked.
Only use this method if you cannot get tightvncserver or vnc4server work.
How to install:
apt-get install x11vnc
How to configure (You need password):
x11vnc -storepasswd
Enter password
How to find auth file (If your GUI is not logged in)
x11vnc -findauth
EXAMPLE Output: XAUTHORITY=/var/run/lightdm/root/:0
How to Test Start (Remember: Do not forget -usepw, without it, you wont use password for VNC Server)
x11vnc -usepw -auth fileFromFindAuth
If everything works, and you want it running in Background (easier than Screen),
and if you want it "ON" all the time, except for computer reboot,
How to start
x11vnc -usepw -auth fileFromFindAuth -forever -bg
If you want to close it, type: killall -9 x11vnc
peace,