Ben arch linux kullanıyorum.
GNOME tarafından oluşturulan VNC sunucusunu bağlayamadım.
Sonra tigervnc'i kurdum, ardından tigervnc
başlatmak için bir kez koşdum
Ancak systemctl start vncserver
başarısız oldu:
● vncserver.service - Remote desktop service (VNC)
Loaded: loaded (/usr/lib/systemd/system/vncserver.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-01-16 22:39:59 CST; 4s ago
Process: 17611 ExecStart=/usr/bin/vncserver -fg (code=exited, status=2)
Process: 17609 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill >/dev/null 2>&1 || true (code=exit
Main PID: 17611 (code=exited, status=2)
1月 16 22:39:59 bjpc systemd[1]: Starting Remote desktop service (VNC)...
1月 16 22:39:59 bjpc systemd[1]: Started Remote desktop service (VNC).
1月 16 22:39:59 bjpc vncserver[17611]: vncserver: The HOME environment variable is not set.
1月 16 22:39:59 bjpc systemd[1]: vncserver.service: Main process exited, code=exited, status=2/INVALI
1月 16 22:39:59 bjpc systemd[1]: vncserver.service: Failed with result 'exit-code'.
Sonra kurdum x11vnc
ve aynı hata oluştu.