Tumbleweed gnome won't lock screen

I installed the gnome version a couple of weeks ago and I am having trouble with screen lock. About 1 in 3 times I think gnome-shell kind of does the restart (like if you did alt-f2 r). About 1 in 3 times it locks as expected, and about 1 in 3 times I think it crashes and ends the session, sending you back to the original gdm login page. This happens whether I select lock-screen from the drop down or if I use Super+L. I have the same problems in Wayland or X

Any suggestions, even for trouble shooting?

Thanks

On Wed 31 May 2017 06:26:01 PM CDT, exdevnull wrote:

I installed the gnome version a couple of weeks ago and I am having
trouble with screen lock. About 1 in 3 times I think gnome-shell kind
of does the restart (like if you did alt-f2 r). About 1 in 3 times it
locks as expected, and about 1 in 3 times I think it crashes and ends
the session, sending you back to the original gdm login page. This
happens whether I select lock-screen from the drop down or if I use
Super+L. I have the same problems in Wayland or X

Any suggestions, even for trouble shooting?

Thanks

Hi
What graphics card and driver?


/sbin/lspci -nnk |grep -A3 VGA

Also, when it happens check for X errors;


cat ~/.local/share/xorg/Xorg.0.log
cat ~/.xsession-errors-\:0


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.62-18.6-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thanks for the reply. My card is intel.

00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 515 [8086:191e] (rev 07)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1cfd]
    Kernel driver in use: i915
    Kernel modules: i915

.xsessions log has one entry

/etc/X11/xinit/xinitrc.d/vboxadd-xclient.sh: line 26: notify-send: command not found

The Xorg log looks pretty boring, mostly screen resolutions

~/.local/share/xorg> tail -200 Xorg.1.log

 15052.780] (II) modeset(0): EDID vendor "ATV", prod id 256
 15052.780] (II) modeset(0): Using hsync ranges from config file
 15052.780] (II) modeset(0): Using vrefresh ranges from config file
 15052.780] (II) modeset(0): Printing DDC gathered Modelines:
 15052.780] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1089 1095 1125 +hsync +vsync (67.5 kHz eP)
 15052.780] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
 15052.780] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
 15052.780] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
 15052.780] (II) modeset(0): Modeline "800x600"x70.0   45.50  800 840 920 1040  600 601 604 625 -hsync +vsync (43.8 kHz e)
 15052.780] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
 15052.780] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
 15052.893] (II) modeset(0): EDID vendor "ATV", prod id 256
 15052.893] (II) modeset(0): Using hsync ranges from config file
 15052.893] (II) modeset(0): Using vrefresh ranges from config file
 15052.893] (II) modeset(0): Printing DDC gathered Modelines:
 15052.893] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1089 1095 1125 +hsync +vsync (67.5 kHz eP)
 15052.893] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
 15052.893] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
 15052.893] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
 15052.893] (II) modeset(0): Modeline "800x600"x70.0   45.50  800 840 920 1040  600 601 604 625 -hsync +vsync (43.8 kHz e)
 15052.893] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
 15052.893] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
 15133.545] (II) modeset(0): EDID vendor "ATV", prod id 256
 15133.546] (II) modeset(0): Using hsync ranges from config file
 15133.546] (II) modeset(0): Using vrefresh ranges from config file
 15133.546] (II) modeset(0): Printing DDC gathered Modelines:
 15133.546] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1089 1095 1125 +hsync +vsync (67.5 kHz eP)
 15133.546] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
 15133.546] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
 15133.546] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
 15133.546] (II) modeset(0): Modeline "800x600"x70.0   45.50  800 840 920 1040  600 601 604 625 -hsync +vsync (43.8 kHz e)
 15133.546] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
 15133.546] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
 15135.137] (II) modeset(0): EDID vendor "ATV", prod id 256
 15135.138] (II) modeset(0): Using hsync ranges from config file
 15135.138] (II) modeset(0): Using vrefresh ranges from config file
 15135.138] (II) modeset(0): Printing DDC gathered Modelines:
 15135.138] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1089 1095 1125 +hsync +vsync (67.5 kHz eP)
 15135.138] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
 15135.138] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
 15135.138] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
 15135.138] (II) modeset(0): Modeline "800x600"x70.0   45.50  800 840 920 1040  600 601 604 625 -hsync +vsync (43.8 kHz e)
 15135.138] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
 15135.138] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
 15443.510] (II) modeset(0): EDID vendor "ATV", prod id 256
 15443.510] (II) modeset(0): Using hsync ranges from config file
 15443.510] (II) modeset(0): Using vrefresh ranges from config file
 15443.510] (II) modeset(0): Printing DDC gathered Modelines:
 15443.510] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1089 1095 1125 +hsync +vsync (67.5 kHz eP)
 15443.510] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
 15443.510] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
 15443.510] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
 15443.510] (II) modeset(0): Modeline "800x600"x70.0   45.50  800 840 920 1040  600 601 604 625 -hsync +vsync (43.8 kHz e)
 15443.510] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
 15443.510] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
 15445.014] (II) modeset(0): EDID vendor "ATV", prod id 256
 15445.014] (II) modeset(0): Using hsync ranges from config file
 15445.014] (II) modeset(0): Using vrefresh ranges from config file
 15445.014] (II) modeset(0): Printing DDC gathered Modelines:
 15445.014] (II) modeset(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1089 1095 1125 +hsync +vsync (67.5 kHz eP)
 15445.014] (II) modeset(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
 15445.014] (II) modeset(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
 15445.014] (II) modeset(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
 15445.014] (II) modeset(0): Modeline "800x600"x70.0   45.50  800 840 920 1040  600 601 604 625 -hsync +vsync (43.8 kHz e)
 15445.014] (II) modeset(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
 15445.014] (II) modeset(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)

I did have a problem with my gnome-keyring not unlocking when I logged in. I used this command to unlock it (I’m using gdm):

sudo /usr/sbin/pam-config -a --gnome_keyring --gnome_keyring-auto_start --gnome_keyring-only_if=gdm,gdm-password,lxdm,lightdm

Hi
So that’s a skylake device… hmmm, maybe some module options required then.

Have a look here at some skylake tweaks;
https://wiki.archlinux.org/index.php/Intel_graphics#Skylake_support

Use YaST bootloader to add kernel options.

Else probably time to look at a bug report…

Thanks again for the reply. I’m kind of wondering why you think it might be a video driver issue? I haven’t had the system crash or hang on me, just this weird screen-lock behavior. I’ve run fedora/gnome-ubuntu/kubuntu without encountering this problem. I know skylake has had a pretty rough run, but this seems idiosyncratic to opensuse, granted it might just be idiosyncratic to me.

I wish I could locate an actual error…

Hi
So what about any gnome-shell extensions? Any other customizations?

Thanks for the suggestion! That did it. There was an extension called Launch that changed the “Applications” in the top bar to a application square button. With that off screen lock works again.

Thanks again.