This shows you the differences between two versions of the page.
vnc [2016-01-11 06:29:09] |
vnc [2016-01-11 06:29:09] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== VNC remote control ====== | ||
+ | ===== Connect to a running X session ===== | ||
+ | |||
+ | <code> | ||
+ | $ x11vnc | ||
+ | </code> | ||
+ | |||
+ | Then connect to host:5901 (usually; uses the first free port above 5900) | ||
+ | |||
+ | ===== Display manager with mandatory login is running ===== | ||
+ | |||
+ | Obtain its DISPLAY and XAUTHORITY (ps axue | grep [X]AUTH), | ||
+ | <code> | ||
+ | # x11vnc -display DISPLAY -auth XAUTHORITY | ||
+ | </code> | ||
+ | Then connect and log in. | ||
+ | |||
+ | ===== Independent X server ===== | ||
+ | |||
+ | Run vncserver from tightvncserver package. A new screen is created. |