Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows TigerVNC server crashes on client connection #1851

Open
Mukul1127 opened this issue Oct 17, 2024 · 1 comment
Open

Windows TigerVNC server crashes on client connection #1851

Mukul1127 opened this issue Oct 17, 2024 · 1 comment
Labels
bug Something isn't working winvnc This is only relevant for WinVNC

Comments

@Mukul1127
Copy link

Mukul1127 commented Oct 17, 2024

Describe the bug
The Windows TigerVNC64 server crashes as soon as a client tries to connect.

To Reproduce
Steps to reproduce the behavior:

  1. Start TigerVNC64 (User or Service)
  2. Try to connect
  3. It crashes

Expected behavior
It works and I am able to connect

Screenshots
If applicable, add screenshots to help explain your problem.

Client (please complete the following information):

  • OS: [e.g. Windows 8.1] Windows 11 Iot Enterprise LTSC 26100.2033
  • VNC client: [e.g. TigerVNC, or UltraVNC] TigerVNC
  • VNC client version: [e.g. 1.8.0] 1.14.0
  • Client downloaded from: [e.g. my Linux distribution] Sourceforge

Server (please complete the following information):

  • OS: [e.g. Windows 8.1] Windows 11 Iot Enterprise LTSC 26100.2033
  • VNC server: [e.g. TigerVNC, or UltraVNC] TigerVNC
  • VNC server version: [e.g. 1.8.0] 1.14.0
  • Server downloaded from: [e.g. my Linux distribution] Sourceforge
  • Server was started using: [e.g. vncserver] .\winvnc4.exe -Log *:file:100

Additional context
Error log:


Thu Oct 17 17:25:01 2024
 Config:      set immutable Log
 VNCServerST: creating single-threaded server MUKUL-PC
 Registry:    duplicated ffffffff80000001 to ffffffff80000001
 Registry:    createKey(ffffffff80000001,Software\TigerVNC\WinVNC4) =
              0000000000000234
 Registry:    RegCloseKey(ffffffff80000001)
 MsgWindow:   creating window "VNCTray"
 RegConfig:   registry changed
 Config:      set Password(Binary)
 Config:      set SecurityTypes(String) to VeNCrypt,X509Vnc,TLSVnc,VncAuth
 Config:      set QueryConnect(Bool) to 1
 Config:      set QueryOnlyIfLoggedOn(Bool) to 1
 Config:      set PortNumber(Int) to 5900
 Config:      set IdleTimeout(Int) to 0
 Config:      set LocalHost(Bool) to 0
 Config:      set Hosts(String) to +,
 Config:      set AcceptKeyEvents(Bool) to 1
 Config:      set RawKeyboard(Bool) to 0
 Config:      set AcceptPointerEvents(Bool) to 1
 Config:      set AcceptCutText(Bool) to 1
 Config:      set SendCutText(Bool) to 1
 Config:      set DisableLocalInputs(Bool) to 0
 Config:      set DisconnectAction(String) to None
 Config:      set RemoveWallpaper(Bool) to 0
 Config:      set DisableEffects(Bool) to 0
 Config:      set UpdateMethod(Int) to 0
 Config:      set PollConsoleWindows(Bool) to 1
 Config:      set UseCaptureBlt(Bool) to 1
 RegConfig:   unable to process UseHooks
 Config:      set Protocol3.3(Bool) to 0
 Config:      set X509Cert(String) to
              C:\Users\Mukul\Documents\Cloudflare\vnc.mookul.dev\vnc.mookul.dev.pem
 Config:      set X509Key(String) to
              C:\Users\Mukul\Documents\Cloudflare\vnc.mookul.dev\vnc.mookul.dev.key
 ManagedListener: set server to 000000de6e9ff090
 ManagedListener: set port to 5900
 MsgWindow:   null _this in 00000000001d0c58, message 24
 MsgWindow:   null _this in 00000000001d0c58, message 81
 ManagedListener: set filter to +,
 VNCServerWin32: Refreshing tray icon
 VNCServerWin32: Entering message loop
 MsgWindow:   null _this in 00000000001d0c58, message 83
 MsgWindow:   created window "VNCTray" (00000000001d0c58)

Thu Oct 17 17:25:10 2024
 SocketManager: accepting incoming connection
 TcpSocket:   ACCEPT [::1]
 Connections: accepted: [::1]::51500
 SConnection: reading protocol version
 SConnection: Client needs protocol version 3.8
 SConnection: processing security type message
 SConnection: processing security type message
 SConnection: Client requests security type VeNCrypt(19)
 SConnection: processing security message
 SConnection: processing security message
 SConnection: processing security message
 SVeNCrypt:   Client requests security type X509Vnc (261)
 TLS:         Process security message (session 0000000000000000)
 TLS:         X509 session has been set
 TLS:         Deferring completion of TLS handshake: Resource temporarily
              unavailable, try again.
 SConnection: processing security message
 TLS:         Process security message (session 000002b1503a5d20)
 TLS:         Deferring completion of TLS handshake: Resource temporarily
              unavailable, try again.
 SConnection: processing security message
 TLS:         Process security message (session 000002b1503a5d20)
 TLS:         TLS handshake completed with
              (TLS1.3)-(ECDHE-SECP256R1)-(RSA-PSS-RSAE-SHA256)-(AES-256-GCM)

Thu Oct 17 17:25:14 2024
 SConnection: processing security message
 VNCServerST: starting desktop
 SDisplay:    starting
 SDisplay:    Attaching to virtual desktop
 SDisplay:    deleting old pixel buffer & device
 SDisplay:    creating pixel buffer
 DeviceContext: 32-bit BitFields: (ff0000, ff00, ff)
 DIBSectionBuffer: recreateBuffer()
 MsgWindow:   creating window "rfb::win32::SDisplayCorePolling"
 MsgWindow:   null _this in 00000000004b0900, message 24
 MsgWindow:   null _this in 00000000004b0900, message 81
 MsgWindow:   null _this in 00000000004b0900, message 83
 MsgWindow:   created window "rfb::win32::SDisplayCorePolling"
              (00000000004b0900)
 SDisplayCorePolling: setScreenRect
 SDisplay:    Started Polling
 MsgWindow:   creating window "WMMonitor"
 MsgWindow:   null _this in 00000000006c099c, message 24
 MsgWindow:   null _this in 00000000006c099c, message 81
 MsgWindow:   null _this in 00000000006c099c, message 83
 MsgWindow:   created window "WMMonitor" (00000000006c099c)
 MsgWindow:   creating window "Clipboard"
 MsgWindow:   null _this in 00000000005c0bd8, message 24
 MsgWindow:   null _this in 00000000005c0bd8, message 81
 MsgWindow:   null _this in 00000000005c0bd8, message 83
 MsgWindow:   created window "Clipboard" (00000000005c0bd8)
 Clipboard:   local clipboard changed by 00000000000700a2
 Clipboard:   no clipboard notifier registered
 Clipboard:   registered clipboard handler
 SDisplay:    started

The process is dead.

@CendioOssman CendioOssman added bug Something isn't working winvnc This is only relevant for WinVNC labels Oct 18, 2024
@CendioOssman
Copy link
Member

Thanks for your report. Possible duplicate of #943.

Unfortunately, WinVNC does not have anyone maintaining it. So it is unlikely that anyone will be looking at this anytime soon. :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working winvnc This is only relevant for WinVNC
Projects
None yet
Development

No branches or pull requests

2 participants