TigerVNC/tigervnc

Server process stops if "Accept connections on port" is unchecked

Open

#999 opened on Apr 18, 2020

 (0 comments) (0 reactions) (0 assignees)C++ (1,176 forks)github user discovery
bughelp wantedwinvnc

Repository metrics

Stars
 (7,396 stars)
PR merge metrics
 (Avg merge 95d 10h) (4 merged PRs in 30d)

Description

Description

I run TigerVNC server on Windows 7 in User-Mode. I want it not to listen for new connections, but to connect to a given listening client. If I uncheck "Accept connections on port" checkbox, server process stops, no icon is displayed in the tray.

Expected behavior

Server process will work, but not listening for incoming connections, so that I can choose to add new client manually.

Server

  • OS: Windows 7
  • VNC server: TigerVNC
  • VNC server version: 1.10.80
  • Server downloaded from: nightly build
  • Server was started using: winvnc4.exe or using "VNC Server (User-Mode)/Run VNC Server" item in Start menu.

Log

Sat Apr 18 16:59:28 2020
 Config:      set immutable Log
 VNCServerST: creating single-threaded server GNUSMAS
 MsgWindow:   creating window "VNCTray"
 Registry:    duplicated FFFFFFFF80000001 to FFFFFFFF80000001
 Registry:    createKey(FFFFFFFF80000001,Software\TigerVNC\WinVNC4) =
              00000000000000F4
 Registry:    RegCloseKey(FFFFFFFF80000001)
 RegConfig:   registry changed
 Config:      set SecurityTypes(String) to VeNCrypt,TLSNone
 Config:      set QueryConnect(Bool) to 1(1)
 Config:      set QueryOnlyIfLoggedOn(Bool) to 0(0)
 Config:      set PortNumber(Int) to 0
 Config:      set IdleTimeout(Int) to 0
 Config:      set LocalHost(Bool) to 1(1)
 Config:      set Hosts(String) to +,
 Config:      set AcceptKeyEvents(Bool) to 1(1)
 Config:      set RawKeyboard(Bool) to 0(0)
 Config:      set AcceptPointerEvents(Bool) to 1(1)
 Config:      set AcceptCutText(Bool) to 1(1)
 Config:      set SendCutText(Bool) to 1(1)
 Config:      set DisableLocalInputs(Bool) to 0(0)
 Config:      set DisconnectClients(Bool) to 1(1)
 Config:      set AlwaysShared(Bool) to 1(1)
 Config:      set NeverShared(Bool) to 0(0)
 Config:      set DisconnectAction(String) to None
 MsgWindow:   null _this in 0000000000070490, message 24
 Config:      set RemoveWallpaper(Bool) to 1(1)
 MsgWindow:   null _this in 0000000000070490, message 81
 Config:      set DisableEffects(Bool) to 1(1)
 Config:      set UpdateMethod(Int) to 0
 Config:      set PollConsoleWindows(Bool) to 1(1)
 Config:      set UseCaptureBlt(Bool) to 1(1)
 RegConfig:   unable to process UseHooks
 Config:      set Protocol3.3(Bool) to 0(0)
 Config:      set Password(Binary) to 
 ManagedListener: set server to 000000000022F6C8
 ManagedListener: set port to 0
 ManagedListener: set filter to +,
 MsgWindow:   null _this in 0000000000070490, message 83
 VNCServerWin32: Refreshing tray icon
 VNCServerWin32: Entering message loop
 MsgWindow:   created window "VNCTray" (0000000000070490)
 VNCServerWin32: Listener not registered
 Registry:    RegCloseKey(00000000000000F4)
 VNCServerST: shutting down server GNUSMAS
 main:        WinVNC service destroyed
 main:        WinVNC process quitting

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide