infrastructure:vnc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
infrastructure:vnc [2022/01/17 13:30] – [Vncviewer after Reboot] s_fuyedc | infrastructure:vnc [2022/04/13 13:18] (current) – [Vncviewer after Reboot] s_fuyedc | ||
---|---|---|---|
Line 116: | Line 116: | ||
In the tigervnc-viewer, | In the tigervnc-viewer, | ||
- | Afterwards, you can enter ' | + | Afterwards, you can enter '**localhost**' in the connection dialog and hit Connect. |
+ | Please note: Please __do not__ enter the IP address of your remote machine here, but really ' | ||
**Important: | **Important: | ||
Line 122: | Line 123: | ||
====Vncviewer after Reboot==== | ====Vncviewer after Reboot==== | ||
- | After reboot the desired display :1 is not loaded until you logged in on display :0. We need to connect to display :0 once after rebooting. With x11vnc you can easily open :0. | + | Tested with GDM3 (20.04 default display manager). |
+ | |||
+ | After reboot the desired display :1 is not loaded until you logged in on display :0. We need to connect to display :0 once after rebooting. With x11vnc you can easily open :0. A newly set-up system needs one UI login to establish general display settings. | ||
< | < | ||
- | # on your host machine | + | # on the remote |
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install x11vnc | sudo apt-get install x11vnc | ||
</ | </ | ||
- | Now from the client you can launch x11vnc similar to the x0vncserver. | + | Get onto the remote machine and look for the Xauthority file in / |
+ | |||
+ | < | ||
+ | # on the remote machine | ||
+ | sudo find /run/user/ -name Xauthority | ||
+ | </ | ||
+ | |||
+ | This will yield at least two paths, one with a 4-digit named directory, and another with 3 digits. We need the path with 3-digits. | ||
< | < | ||
Line 139: | Line 149: | ||
Connect to x11vnc with vncviewer, it will show the login display :0. After login, close the connection | Connect to x11vnc with vncviewer, it will show the login display :0. After login, close the connection | ||
- | |||
- | |||
- | |||
infrastructure/vnc.1642426250.txt.gz · Last modified: 2022/01/17 13:30 by s_fuyedc