Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 634636

Summary: gnome-base/gdm with wayland session: issues when using zenity after login
Product: Gentoo Linux Reporter: David Heidelberg (okias) <david>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.gnome.org/789652
Whiteboard:
Package list:
Runtime testing required: ---

Description David Heidelberg (okias) 2017-10-18 13:54:23 UTC
It seems that GDM in Wayland session is not able to run GUI window directly after login.

Example listed below is not able to display window and session get stuck.

$ cat /etc/gdm/PostLogin/Default
/usr/bin/zenity --info

I already noticed similiar issue on internet. Not sure if it's specifically Gentoo issue, but in case you think it's GNOME fault, please keep open and I'll link their bugreport.

Thank you
Comment 1 Mart Raudsepp gentoo-dev 2019-02-26 23:56:11 UTC
Nothing we can do downstream. GDM doesn't have a GUI itself (anymore), it uses gnome-shell for that. There's discussion in upstream bug about this (now at https://gitlab.gnome.org/GNOME/gdm/issues/340 )
Seems like you need some sort of input before login. There's now some sort of pam extension mechanism shoehorned into gdm since v3.28 that allows pam to ask questons from gdm, albeit probably still just a choice list. Maybe this can be utilized with some upstream work to do what you need - https://bugzilla.gnome.org/show_bug.cgi?id=788851 added that stuff and has more details.

Closing this bug here, as nothing we can do here, given the technical nature of the related stuff now.