sudo systemctl status vncserver@:1
[sudo] password for gc:
● vncserver@:1.service - Remote desktop service (VNC)
Loaded: loaded (/usr/lib/systemd/system/vncserver@.service; enabled; preset: disabled)
Active: active (running) since Sat 2024-08-10 14:04:46 CST; 1h 19min ago
Invocation: 9d552f94c00641e28d233216c00620b7
Process: 399 ExecStart=/usr/bin/vncsession-start :1 (code=exited, status=0/SUCCESS)
Main PID: 409 (vncsession)
Tasks: 0 (limit: 9347)
Memory: 668K
CGroup: /system.slice/system-vncserver.slice/vncserver@:1.service
‣ 409 /usr/bin/vncsession gc :1
Aug 10 14:04:46 DESKTOP-9CLCAAC systemd[1]: Starting Remote desktop service (VNC)...
Aug 10 14:04:46 DESKTOP-9CLCAAC vncsession[409]: pam_systemd(tigervnc:session): New sd-bus connection (system-bus-pam-systemd-409) opened.
Aug 10 14:04:46 DESKTOP-9CLCAAC vncsession[409]: pam_unix(tigervnc:session): session opened for user gc(uid=1000) by gc(uid=0)
Aug 10 14:04:46 DESKTOP-9CLCAAC systemd[1]: Started Remote desktop service (VNC).
vncviewer -passwd ~/.vnc/passwd 127.0.0.1:1
TigerVNC Viewer v1.14.0
Built on: 2024-07-26 19:05
Copyright (C) 1999-2024 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Sat Aug 10 15:24:57 2024
main: ~/.vnc is deprecated, please consult 'man vncviewer' for paths to
migrate to.
DecodeManager: Detected 8 CPU core(s)
DecodeManager: Creating 4 decoder thread(s)
CConn: Connected to host 127.0.0.1 port 5901
CConnection: Server supports RFB protocol version 3.8
CConnection: Using RFB protocol version 3.8
CConnection: Choosing security type VeNCrypt(19)
CVeNCrypt: Choosing security type TLSVnc (258)
DesktopWindow: Adjusting window size to avoid accidental full-screen request
CConn: Using pixel format depth 24 (32bpp) little-endian rgb888
CConnection: Enabling continuous updates
DesktopWindow: Invalid screen layout computed for resize request!
DesktopWindow: 1 screen(s)
DesktopWindow: 0 (0x00000000): 100x-8+0+0 (flags 0x00000000)
DesktopWindow:
Sat Aug 10 15:24:58 2024
CConn: SetDesktopSize failed: 3
logs
Sat Aug 10 15:25:59 2024
Connections: accepted: 127.0.0.1::36940
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VeNCrypt(19)
SVeNCrypt: Client requests security type TLSVnc (258)
VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
Sat Aug 10 15:26:00 2024
RandR: Failed to resize screen to 100x4
environment wsl2 arch
use
logs