1. Open your router admin panel and go to status of LAN connection to see IP of your bare metal.
2. Setup PuTTY and login by ssh
vncserver -localhost no
Starting applications specified in /etc/X11/Xvnc-session
Log file is /root/.vnc/evgeniy-X9SCL:1.log
Use xtigervncviewer -SecurityTypes VncAuth -passwd /root/.vnc/passwd :1 to connect to the VNC server.
3. Open log file to see a port to connect
cat /home/evgeniy/.vnc/evgeniy-X9SCL:7.log
Xvnc TigerVNC 1.10.0 - built Apr 9 2020 06:49:31
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12008000, The X.Org Foundation
Thu Mar 3 20:36:42 2022
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5907
vncext: created VNC server for screen 0
xrdb: No such file or directory
xrdb: can't open file '/home/evgeniy/.Xresources'
New 'evgeniy-X9SCL:8 (evgeniy)' desktop at :8 on machine evgeniy-X9SCL
Starting applications specified in /home/evgeniy/.vnc/xstartup
Log file is /home/evgeniy/.vnc/evgeniy-X9SCL:8.log
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /home/evgeniy/.vnc/pas
Thu Mar 3 20:36:45 2022
TcpSocket: unable to get peer name for socket
TcpSocket: unable to get peer name for socket
Connections: accepted: ::0
TcpSocket: unable to get peer name for socket
VNCSConnST: closing ::0: write: Connection reset by peer (104)
EncodeManager: Framebuffer updates: 0
EncodeManager: Total: 0 rects, 0 pixels
EncodeManager: 0 B (1:-nan ratio)
TcpSocket: unable to get peer name for socket
Connections: closed: ::0
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
Thu Mar 3 20:37:59 2022
TcpSocket: unable to get peer name for socket
TcpSocket: unable to get peer name for socket
Connections: accepted: ::0
TcpSocket: unable to get peer name for socket
VNCSConnST: closing ::0: write: Connection reset by peer (104)
EncodeManager: Framebuffer updates: 0
EncodeManager: Total: 0 rects, 0 pixels
EncodeManager: 0 B (1:-nan ratio)
TcpSocket: unable to get peer name for socket
Connections: closed: ::0
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
Warning: VNC extension does not support -reset, terminating instead. Use -norese
Thu Mar 3 20:40:53 2022
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
Xvnc TigerVNC 1.10.0 - built Apr 9 2020 06:49:31
Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12008000, The X.Org Foundation
Fri Mar 4 21:50:24 2022
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5907
vncext: created VNC server for screen 0
xrdb: No such file or directory
xrdb: can't open file '/home/evgeniy/.Xresources'
4. Install tigervnc
5. Connect with vnc client
"C:\Program Files (x86)\TigerVNC\vncviewer.exe" -FullScreen -SecurityTypes VncAuth 192.168.1.109::5907
No comments:
Post a Comment