Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-11-06 19:32:09

BertRAMAerts
Member
Registered: 2023-11-06
Posts: 2

[SOLVED] Wake up display after power savings fails in RealVNC Viewer

I use Ubuntu 23.10 with XFCE 4.18 on a Lenovo Legion 5 laptop.
In BIOS discrete graphics is set with nVIDIA GeForce RTX-2060, so no Intel graphics.
I use X11 and not Wayland.
I use RealVNC Server 7.7.0 on Ubuntu XFCE laptop.
I use RealVNC Viewer 7.7.0 on a Windows 10 laptop to connect with Ubuntu XFCE.
Power Manager settings in XFCE for Display in "Plugged in" state are
+ blank after 10 minutes
+ put to sleep after 11 minutes
+ switch off after 12 minutes
Problem is that when XFCE display is switched off due to power savings and I see a black screen in VNC Viewer, I can move the mouse of the Windows laptop and in VNC Viewer I see the XFCE display again, but everything is extremely slow. When I look at the XFCE laptop, display is still off, so I did not succeed in waking up the XFCE display. As soon as I move the mouse of the Ubuntu laptop with XFCE display, display goes on again. From that moment onwards VNC viewer on the Windows laptop reacts normal on mouse/key commands.

Before I started using XFCE, I was using Gnome and there this display-no-wake-up-issue does NOT exist.

Questions:
Is there a keyboard key combination on the Windows laptop to get the XFCE display switched on again?
Or is there another solution?

I know that RealVNC advises to turn OFF power savings on the machine running VNC Server.
But as it was working in Gnome, I hope to get it also working in XFCE.

Last edited by BertRAMAerts (2024-03-06 13:41:42)

Offline

#2 2024-03-06 12:07:34

BertRAMAerts
Member
Registered: 2023-11-06
Posts: 2

Re: [SOLVED] Wake up display after power savings fails in RealVNC Viewer

I solved it with a script file that can be called by clicking on a desktop shortcut:

cat wakeupscreen.sh
#!/bin/bash
xset dpms force on

This way from within RealVNC Viewer on a Windows 10 laptop, I can turn on the screen and get normal (fast) response from the remote laptop.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 520.09 KiB (Peak: 529.18 KiB) ]