I installed kubuntu 20.04 on a server. There is a low-res monitor (1600x1200) connected to the console. I want to connect to the server using VNC (tigervncserver) from a system with a high-res/high-DPI monitor (3840x2160).
After starting tigervnc and connecting to the server, a window is displayed with (as expected) very small text. I set the Global Scale to 200% and select "Save display properties: For only this specific display arrangement". The display listed is VNC-0.
When I kill and restart vncserver and connect with vncviewer, I see the plasma startup screen and then the screen goes black. If I wait long enough, the lock screen is displayed. When unlocked, the screen returns to black.
If I delete ~/.local/share/kscreen and reboot, I am again able to connect to the server with vnc, with the scaling set to 200% for all displays. (On occasion I have had to reboot in recovery mode for this to work.) If I try to log in on the system console in graphics mode while connected with VNC, I get a screen frozen with the startup splash screen. I get a pop-up on the vnc window saying "kwin_x11 closed unexpectedly" and it goes black. I can kill vncserver and restart and get a responsive screen when I reconnect. If I have logged in on the console before connecting with vnc, the error messages sometimes shows up there before both console being unresponsive and vnc window going black.
I can work around this mess by starting the system console in text mode, but display-specific scaling is broken.
After starting tigervnc and connecting to the server, a window is displayed with (as expected) very small text. I set the Global Scale to 200% and select "Save display properties: For only this specific display arrangement". The display listed is VNC-0.
When I kill and restart vncserver and connect with vncviewer, I see the plasma startup screen and then the screen goes black. If I wait long enough, the lock screen is displayed. When unlocked, the screen returns to black.
If I delete ~/.local/share/kscreen and reboot, I am again able to connect to the server with vnc, with the scaling set to 200% for all displays. (On occasion I have had to reboot in recovery mode for this to work.) If I try to log in on the system console in graphics mode while connected with VNC, I get a screen frozen with the startup splash screen. I get a pop-up on the vnc window saying "kwin_x11 closed unexpectedly" and it goes black. I can kill vncserver and restart and get a responsive screen when I reconnect. If I have logged in on the console before connecting with vnc, the error messages sometimes shows up there before both console being unresponsive and vnc window going black.
I can work around this mess by starting the system console in text mode, but display-specific scaling is broken.
Comment