7

I've setup successfully a tigervnc server. I've been able to successfully remotely log in the VNC session using a viewer desktop client or Apache Guacamole.

Now is the day after and the host computers have their screen locked. When I launch the VNC session, I see the locked screen. When I swipe the mouse or press "space", the login screen is stuck on "Authentification error" and you cannot do anything except reboot or hit "ESC". You cannot type in the login field. It is like the VNC session is trying to login multiple times per second.

In journalctl, I can see:

JS ERROR: Failed to open reauthentification channel: Gio.DBusError:org.freedesktop.DBUS.Error.AccessDenied: No session available
_reauthentificationChannelOpened@resource:///org/gnome/shell/gdm/util.js:352:34
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22

2 Answers 2

6

I just encountered this error on a fresh install of Ubuntu 20.04, using TigerVNC. It seems to be an old error: https://bugzilla.redhat.com/show_bug.cgi?id=960149

A workaround is to SSH into the machine and unlock the session: loginctl unlock-session. I'd love to see a real fix for this.

3
  • What I've done is SSH and restart the VNC session altogether. But I agree that a fix would be welcome !
    – Kriegalex
    May 14, 2020 at 12:30
  • 1
    Yes, that 'works', too. But you lose all the open windows in the killed VNC session. If you just unlock it via loginctl you can just continue in your running session :)
    – yodbha
    May 15, 2020 at 7:17
  • Another RH issue suggests they have done something in their tigervnc package to work around this problem. Not sure if it can help us somehow. bugzilla.redhat.com/show_bug.cgi?id=1112982
    – aap
    May 31, 2020 at 18:47
3

Run the command

loginctl unlock-sessions

in ssh terminal under the same user as logged to the VNC session. For me this solution works fine with Ubuntu 20.04, Gnome 3.36.8 (the one which was installed by Ubuntu, I did not change it).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.