Page 1 of 1

On Fedora 31, after locking the screen, the screen goes black forever

Posted: 30. Jan 2020, 03:44
by Lostnode
Hello Fedora Users,

Ok there is no other way to describe this. Fedora 31 installs fine, but when I go to lock the screen manually, it fades to black as if going to sleep, but never wakes up, I have to reset the VM to get back into it.
I have changed the power settings to never go to a blank screen and it is set to never automatically suspend. Am I missing something, has anyone else experienced this?
I have tried every key combo to get it wake up but once the screen is black, it stays that way. I once got it to stay at the lock screen, but when It asks for a password, I hit ESC to go back as I really didn't want to log in, and it went to the same dead black screen... now no matter what I do, it fades to black and stays that way till I reset the box.

Worst part is, when I lock my windows box (to which hosts the Virtual Box guests) it initiates the lock screen and I can never get back in again till, again, I reset.

Latest update on Fedora 31, latest Vbox guest additions.

Hope I am not the only one, and someone has an answer...

Regards,
Matt

Re: On Fedora 31, after locking the screen, the screen goes black forever

Posted: 30. Jan 2020, 04:00
by Lostnode
What else does not work - at all.

Code: Select all

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0

Code: Select all

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0

Code: Select all

gsettings set org.gnome.desktop.screensaver idle-activation-enabled false

Code: Select all

gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
And

Code: Select all

gsettings set org.gnome.settings-daemon.plugins.power idle-brightness 100
None of the above did anything to fix the screen going completely black, and not being able to revive the instance without a reboot.

Re: On Fedora 31, after locking the screen, the screen goes black forever

Posted: 30. Jan 2020, 22:24
by scottgus1
I don't believe this is a Virtualbox problem. Virtualbox is just a 'hardware' provider, even though that 'hardware' be virtual. Just like if you installed Fedora on a Gigabtye or Biostar motherboard.

I have had Linux Mint on bare metal on a laptop fail to re-light the screen, had to go through and disconnect Mint's ability to control the screen.

I would try going through all the power options in Fedora and turning all of them off, so the guest has no control over the power settings on any part of the Virtualbox 'hardware'. (I don't know if the commands you posted were such disconnect-settings command, I'm no Linux guy.)

Approach this as if Fedora were installed on a real PC. Look through Fedora's help forums etc to see what they'd say.

Re: On Fedora 31, after locking the screen, the screen goes black forever

Posted: 31. Jan 2020, 04:24
by Lostnode
Although I am sure it has something to do with fedora, I am not counting out VBox as the issue... considering how when I switch to ctrl-alt-F[x] the screen is still blank, which makes it seem like a Vbox issue (video driver maybe) as the screen is still blank and is not part of Gnome at that point.

Re: On Fedora 31, after locking the screen, the screen goes black forever

Posted: 31. Jan 2020, 04:41
by Lostnode
Ok, I seem to have fixed the issue... seems older version had an issue with VMSVGA, where the screen would not go into full screen mode, it was suggested to use VBOXVGA which I have been doing since about Fedora 27-28-ish..

I just set it to VMSVGA and above actually going into full screen, I seem to be able to get my screen to come back on mouse move, where as with VBOXVGA it did not, although after a long while of fidgeting with settings it would randomly come back on, I had no control... So I am assuming this is something to do with how using that driver affected the mouse input after it blanked out the screen... which seems odd, but is the only thing that makes sense.

The screen going black in the first place is definitely a Fedora issue, even though I have it set to never go blank, and I have set "xset s off" along with adding a few lines to the xorg.conf as suggested here - https://bugzilla.redhat.com/show_bug.cgi?id=1645678 it still goes black, but st least the mouse brings it back now with VMSVGA. Glad VBox fixed that issue so that driver can be used again.