Bug 512800 - Listening port (5900) does not change until logged out and back in
Summary: Listening port (5900) does not change until logged out and back in
Status: REPORTED
Alias: None
Product: krfb
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: George Goldberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-30 16:47 UTC by Blazer Silving
Modified: 2025-11-30 16:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blazer Silving 2025-11-30 16:47:25 UTC
SUMMARY
I use virt-viewer (SPICE) to interact with virtual machine displays, this defaults to localhost:5900. Obviously this conflicts with VNC, so I've historically used port 5901 for my host machine's x11vnc and 5902 to access any TightVNC instances in Windows guests. In this instance, I want to use 5903 for the krfb service. 

In krfb, the configured listening port does not become active until the entire Wayland session is logged out and back in. 

STEPS TO REPRODUCE
1. Log into fresh profile and open krfb
2. Configure a non-standard VNC port (default 5900)
3. The port does not update upon closing settings (no auto-restart on configure)
4. The port does not update when closing and re-opening krfb
5. The port becomes active after a full log off/log on. 

EXPECTED RESULT
The VNC server should immediately restart and use the new port once configured in the settings, not afterwards. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION