English
Ask Your Question
1

Fedora 25: Unable to log in after logging out (Wayland)

asked 2016-12-28 17:27:18 +0000

whitepeony gravatar image

Description

I can log into a Wayland session just fine after a reboot. I can also log in with Xorg after logging out, regardless of what type of session I had before. However, every time I try to log in with Wayland after having already logged out, I get kicked back to the login screen.

I am not sure if any of these are relevant, but here are all of the "important" entries from the system log:

11:59:40 AM spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0
11:59:26 AM gnome-session-b: Unrecoverable failure in required component org.gnome.Shell.desktop
11:59:20 AM gnome-session-b: Unrecoverable failure in required component org.gnome.Shell.desktop
11:59:12 AM gnome-session-b: Unrecoverable failure in required component org.gnome.Shell.desktop
11:58:30 AM pulseaudio: [pulseaudio] client-conf-x11.c: xcb_connection_has_error() returned true
11:58:29 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:29 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:29 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:29 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:29 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:28 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:28 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:28 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:28 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:58:28 AM gnome-session-b: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
11:40:47 AM krita: krita.core: Missing name attribute for tag  "date"
11:34:39 AM spice-vdagent: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0

Specifications

Memory: 31.4GiB

Processor: Intel® Core™ i7-6700K CPU @ 4.00GHz × 8

OS Type: 64-bit

Graphics: GeForce GTX 980/PCIe/SSE2

NVIDIA Driver Version: 375.26

GNOME: Version 3.22.2

Disk: 475.3 GB

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2017-01-02 05:09:13 +0000

cmurf gravatar image

Get to a VT without logging into gnome (e.g. ctrl-alt-f2) and list sessions with:

loginctl

I'm going to bet the login is still active, even though you logged out of the gnome-shell session. You can list the processes still running in this user session

loginctl user-status <username>

And you can terminate the login session and everything still running with this:

loginctl terminate-session <sessionID>

And now you can login again. You can make this default behavior by editing /etc/systemd/logind.conf and setting KillUserProcesses=yes, remember to remove # to uncomment it. Just know that this will immediately forcibly kill all processes you own upon logout. That'd include screen or tmux and any of its processes.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2016-12-28 17:27:18 +0000

Seen: 1,151 times

Last updated: Jan 02