Gnome: GDM [unstable]

gnome
gdm

#1

For Gnome’s users please note that:
i have added in our overlay gdm-3.29.91+2+g21867afd just now but a manual intervent is needed.
Since GDM developers have merged the code of gdm-dev plus others minor improvements i have build this but you need to check the presence of /etc/gdm/PostLogin/Default file. If present and not already commented out the code into it or removed the persmission to execute please do it.
I’m happy to say this workaround is not longer needed to kill the zombie shell :wink:

Test it as always guys

Best
Stefano

EDIT: Packages release 2 modified to not manual intervent so forgot my first message :grin:

Cheers
Stefano


GDM does not start after failing user@120 service
[Stable Update] 2018-08-25 - Kernels, KDE Apps & Framework, Flatpak 1.0, Nvidia, Cleanup
#2

@Ste74: if this file is present on the gdm package and not in the updated version you may remove it via pre- or post-install functions in a install file. Having manual user interactions are always not the way to go.


#3

Ok … no problem, let me rebuild with a small script to remove automatically if present … Honestly I have not even thought about it but actually it’s right this way you suggest :sunglasses:
Tonight i re build it


#4

No pressure. We are a team and work as a collective mind.


#5

I guess the topic category should be in something with “Unstable”?


#6

Will the /etc/gdm/PostLogin/Default now completely removed?

Because I added 2 extra commands in that file. Will it be saved, since it is not the same version than installed.

There are probably not many user who have added something, maybe I’m the only one. But in the end it is a normal gdm config file.


#7

@xabbu @philm created a .install script . It check the Default file and check if the kill gdm is present if yes it remove the line where is present and preserve all Default content :wink:


#8

Is now in current testing update.


#9

Did work fine - got a .pacnew which for me essentially is exactly the same as the current one - so worked flawless =) thank you


#10

Work well here on unstable channel, thanks.


#11

It works fine, but I don’t have any /etc/gdm/PostLogin/Default file.


#12

Yep i have also removed for new installations… The problem was only for an old installation (manjaro-gnome-assets ecc)


#13

Works fine here :ok_hand:


#14

I tested fresh gnome edition installed with manjaro-architect. /etc/gdm/PostLogin/Default is still present AND gnome shell still runs twice.

/etc/gdm/PostLogin/Default

#!/bin/sh
grep -q "^AutomaticLoginEnable=True" /etc/gdm/custom.conf || pkill -KILL -u gdm

sudo ps_mem

 Private  +   Shared  =  RAM used	Program

160.0 KiB +  29.0 KiB = 189.0 KiB	xf86-video-intel-backlight-helper (2)
160.0 KiB +  71.0 KiB = 231.0 KiB	sleep (2)
304.0 KiB +  67.5 KiB = 371.5 KiB	lvmetad
336.0 KiB +  40.5 KiB = 376.5 KiB	rtkit-daemon
376.0 KiB +  36.5 KiB = 412.5 KiB	anacron
616.0 KiB +  31.5 KiB = 647.5 KiB	crond
664.0 KiB +  47.5 KiB = 711.5 KiB	dconf-service
572.0 KiB + 163.5 KiB = 735.5 KiB	mbim-proxy
648.0 KiB + 224.5 KiB = 872.5 KiB	login
444.0 KiB + 447.5 KiB = 891.5 KiB	check-theme
440.0 KiB + 453.5 KiB = 893.5 KiB	check-aur
824.0 KiB + 122.5 KiB = 946.5 KiB	gvfs-goa-volume-monitor
940.0 KiB +  69.5 KiB =   1.0 MiB	gvfs-mtp-volume-monitor
  1.0 MiB +  86.5 KiB =   1.1 MiB	accounts-daemon
  1.1 MiB + 130.5 KiB =   1.2 MiB	gvfsd
  1.2 MiB + 178.5 KiB =   1.4 MiB	gsd-disk-utility-notify
  1.0 MiB + 418.5 KiB =   1.4 MiB	systemd-logind
  1.3 MiB + 142.0 KiB =   1.4 MiB	gsd-screensaver-proxy (2)
  1.1 MiB + 305.5 KiB =   1.4 MiB	gvfs-afc-volume-monitor
  1.3 MiB + 200.0 KiB =   1.5 MiB	gdm-x-session (2)
  1.3 MiB + 152.0 KiB =   1.5 MiB	gsd-mouse (2)
  1.3 MiB + 224.5 KiB =   1.5 MiB	obexd
  1.4 MiB + 165.0 KiB =   1.5 MiB	gsd-rfkill (2)
  1.5 MiB +  87.5 KiB =   1.6 MiB	bluetoothd
  1.5 MiB + 265.5 KiB =   1.8 MiB	sudo
  1.8 MiB + 195.5 KiB =   2.0 MiB	goa-identity-service
  1.6 MiB + 488.5 KiB =   2.1 MiB	cupsd
  1.8 MiB + 374.5 KiB =   2.1 MiB	upowerd
  1.9 MiB + 289.0 KiB =   2.2 MiB	at-spi2-registryd (2)
  2.2 MiB + 285.0 KiB =   2.4 MiB	gsd-sound (2)
  2.0 MiB + 492.5 KiB =   2.5 MiB	gsd-printer
  2.2 MiB + 247.0 KiB =   2.5 MiB	gsettings-helper (2)
  2.4 MiB + 429.5 KiB =   2.8 MiB	gvfs-udisks2-volume-monitor
  2.4 MiB + 383.5 KiB =   2.8 MiB	systemd-udevd
  2.8 MiB + 130.5 KiB =   2.9 MiB	gnome-keyring-daemon
  3.1 MiB +  67.5 KiB =   3.1 MiB	zsh
  2.6 MiB + 560.0 KiB =   3.2 MiB	gsd-sharing (2)
  3.2 MiB +  65.5 KiB =   3.3 MiB	gvfsd-fuse
  2.6 MiB + 819.0 KiB =   3.4 MiB	gsd-print-notifications (2)
  2.5 MiB + 973.0 KiB =   3.4 MiB	(sd-pam) (2)
  3.4 MiB + 144.5 KiB =   3.6 MiB	gdm
  3.5 MiB + 248.0 KiB =   3.8 MiB	gsd-housekeeping (2)
  3.8 MiB + 202.0 KiB =   4.0 MiB	at-spi-bus-launcher (2)
  4.2 MiB +  53.5 KiB =   4.3 MiB	wpa_supplicant
  3.4 MiB +   1.3 MiB =   4.6 MiB	mission-control-5
  4.4 MiB + 386.5 KiB =   4.8 MiB	udisksd
  4.8 MiB +  12.5 KiB =   4.8 MiB	haveged
  4.5 MiB + 536.5 KiB =   5.0 MiB	ModemManager
  4.7 MiB + 672.5 KiB =   5.4 MiB	dbus-daemon (5)
  4.6 MiB + 893.0 KiB =   5.5 MiB	gdm-session-worker (2)
  5.4 MiB + 153.0 KiB =   5.5 MiB	gsd-a11y-settings (2)
  3.6 MiB +   1.9 MiB =   5.5 MiB	evolution-addressbook-factory
  4.4 MiB +   1.4 MiB =   5.8 MiB	evolution-source-registry
  4.9 MiB + 882.0 KiB =   5.8 MiB	gnome-session-binary (2)
  4.1 MiB +   2.0 MiB =   6.1 MiB	gsd-smartcard (2)
  5.7 MiB + 481.5 KiB =   6.2 MiB	colord
  4.5 MiB +   2.2 MiB =   6.7 MiB	evolution-calendar-factory
  6.0 MiB + 864.0 KiB =   6.8 MiB	gsd-datetime (2)
  5.5 MiB +   1.7 MiB =   7.2 MiB	gnome-shell-calendar-server
  6.9 MiB +   1.1 MiB =   7.9 MiB	NetworkManager
  6.1 MiB +   2.2 MiB =   8.2 MiB	evolution-calendar-factory-subprocess
  7.7 MiB + 836.5 KiB =   8.5 MiB	tracker-store
  5.8 MiB +   2.7 MiB =   8.6 MiB	systemd (3)
  6.7 MiB +   2.6 MiB =   9.4 MiB	evolution-addressbook-factory-subprocess
  9.2 MiB +   3.0 MiB =  12.2 MiB	pulseaudio (2)
 10.4 MiB +   2.8 MiB =  13.2 MiB	polkitd
 13.8 MiB + 387.5 KiB =  14.2 MiB	systemd-journald
  8.6 MiB +   5.6 MiB =  14.2 MiB	goa-daemon
 19.3 MiB +   1.1 MiB =  20.5 MiB	msm_notifier
 21.3 MiB +   1.2 MiB =  22.5 MiB	gsd-clipboard (2)
 21.6 MiB +   1.2 MiB =  22.8 MiB	gsd-keyboard (2)
 21.9 MiB +   1.4 MiB =  23.3 MiB	gsd-wacom (2)
 17.5 MiB +   5.8 MiB =  23.4 MiB	Xorg (2)
 22.5 MiB +   2.3 MiB =  24.8 MiB	gsd-color (2)
 24.4 MiB +   1.8 MiB =  26.2 MiB	gsd-xsettings (2)
 24.8 MiB +   1.9 MiB =  26.6 MiB	gsd-media-keys (2)
 25.1 MiB +   1.8 MiB =  26.9 MiB	gsd-power (2)
 19.1 MiB +   8.2 MiB =  27.4 MiB	evolution-alarm-notify
 25.8 MiB +   5.9 MiB =  31.7 MiB	blueman-applet
167.1 MiB +  33.2 MiB = 200.3 MiB	gnome-shell (2)
---------------------------------
                        740.2 MiB
=================================

However, gnome edition seems to be much snappier and performs better than before for some reason.


#15

I am on testing:

cat /etc/gdm/PostLogin/Default
#!/bin/sh
grep -q "^AutomaticLoginEnable=True" /etc/gdm/custom.conf || pkill -KILL -u gdm
 Private  +   Shared  =  RAM used	Program

 92.0 KiB +  10.5 KiB = 102.5 KiB	none
168.0 KiB +  81.0 KiB = 249.0 KiB	cat (2)
336.0 KiB +  47.5 KiB = 383.5 KiB	rtkit-daemon
352.0 KiB +  66.5 KiB = 418.5 KiB	lvmetad
340.0 KiB + 214.5 KiB = 554.5 KiB	chrome-sandbox (3)
616.0 KiB +  36.5 KiB = 652.5 KiB	crond
580.0 KiB + 179.5 KiB = 759.5 KiB	mbim-proxy
756.0 KiB +  75.5 KiB = 831.5 KiB	gdm-wayland-session
340.0 KiB + 521.0 KiB = 861.0 KiB	firejail (2)
812.0 KiB +  72.5 KiB = 884.5 KiB	gsd-screensaver-proxy
876.0 KiB +  90.5 KiB = 966.5 KiB	gsd-a11y-settings
928.0 KiB +  95.5 KiB =   1.0 MiB	gsd-mouse
944.0 KiB + 115.5 KiB =   1.0 MiB	at-spi-bus-launcher
  1.0 MiB +  73.5 KiB =   1.1 MiB	gsd-rfkill
988.0 KiB + 149.5 KiB =   1.1 MiB	gvfs-goa-volume-monitor
972.0 KiB + 185.5 KiB =   1.1 MiB	gsd-disk-utility-notify
  1.1 MiB +  98.5 KiB =   1.1 MiB	gvfs-mtp-volume-monitor
  1.0 MiB + 116.5 KiB =   1.1 MiB	at-spi2-registryd
  1.1 MiB +  74.5 KiB =   1.2 MiB	gvfsd-metadata
  1.1 MiB + 138.5 KiB =   1.3 MiB	gsettings-helper
  1.2 MiB +  51.5 KiB =   1.3 MiB	dconf-service
  1.2 MiB +  71.5 KiB =   1.3 MiB	gvfsd-fuse
  1.1 MiB + 152.5 KiB =   1.3 MiB	gvfsd-burn
  1.2 MiB + 154.5 KiB =   1.3 MiB	gvfsd
  1.2 MiB + 173.5 KiB =   1.4 MiB	obexd
  1.3 MiB + 155.5 KiB =   1.4 MiB	gsd-sound
  1.3 MiB + 177.5 KiB =   1.5 MiB	gvfsd-dnssd
  1.3 MiB + 160.5 KiB =   1.5 MiB	gsd-housekeeping
  1.3 MiB + 207.5 KiB =   1.5 MiB	ntpd
  1.3 MiB + 257.5 KiB =   1.5 MiB	gvfs-afc-volume-monitor
  1.0 MiB + 511.5 KiB =   1.5 MiB	systemd-logind
  1.4 MiB + 168.5 KiB =   1.5 MiB	gvfsd-network
  1.2 MiB + 425.5 KiB =   1.6 MiB	gsd-smartcard
  1.5 MiB + 197.5 KiB =   1.7 MiB	gvfsd-trash
  1.4 MiB + 303.5 KiB =   1.7 MiB	thermald
  1.6 MiB + 178.5 KiB =   1.7 MiB	gdm
  1.7 MiB +  98.5 KiB =   1.8 MiB	accounts-daemon
  1.8 MiB +  92.5 KiB =   1.9 MiB	nacl_helper
  1.6 MiB + 399.5 KiB =   2.0 MiB	gsd-print-notifications
  1.7 MiB + 374.5 KiB =   2.0 MiB	sudo
  1.5 MiB + 631.5 KiB =   2.1 MiB	(sd-pam)
  2.1 MiB +  64.5 KiB =   2.2 MiB	bluetoothd
  2.0 MiB + 215.5 KiB =   2.2 MiB	goa-identity-service
  2.0 MiB + 323.5 KiB =   2.3 MiB	upowerd
  2.1 MiB + 346.5 KiB =   2.4 MiB	gsd-printer
  2.4 MiB + 131.5 KiB =   2.6 MiB	bash
  2.1 MiB + 554.5 KiB =   2.6 MiB	gsd-sharing
  2.1 MiB + 486.5 KiB =   2.6 MiB	gvfs-udisks2-volume-monitor
  2.2 MiB + 431.5 KiB =   2.7 MiB	gsd-datetime
  2.5 MiB + 306.5 KiB =   2.8 MiB	gnome-keyring-daemon
  2.5 MiB + 494.5 KiB =   3.0 MiB	systemd-udevd
  2.7 MiB + 431.5 KiB =   3.1 MiB	cupsd
  2.8 MiB + 374.5 KiB =   3.2 MiB	gdm-session-worker
  3.0 MiB + 377.5 KiB =   3.4 MiB	gnome-session-binary
  3.8 MiB + 492.5 KiB =   4.3 MiB	dbus-daemon (3)
  4.0 MiB + 396.5 KiB =   4.4 MiB	udisksd
  4.4 MiB +  65.5 KiB =   4.4 MiB	wpa_supplicant
  2.6 MiB +   2.6 MiB =   5.2 MiB	systemd (2)
  4.7 MiB + 563.5 KiB =   5.3 MiB	ModemManager
  4.0 MiB +   2.1 MiB =   6.1 MiB	evolution-addressbook-factory
  5.7 MiB + 410.5 KiB =   6.1 MiB	colord
  5.2 MiB +   1.5 MiB =   6.7 MiB	gnome-shell-calendar-server
  6.6 MiB + 450.5 KiB =   7.0 MiB	pulseaudio
  4.5 MiB +   2.6 MiB =   7.1 MiB	evolution-addressbook-factory-subprocess
  4.8 MiB +   2.4 MiB =   7.2 MiB	evolution-calendar-factory
  7.0 MiB +   1.0 MiB =   8.0 MiB	NetworkManager
  7.8 MiB + 545.5 KiB =   8.3 MiB	tracker-store
  8.7 MiB +   1.0 MiB =   9.6 MiB	gsd-keyboard
  9.1 MiB +   1.1 MiB =  10.2 MiB	gsd-xsettings
  9.3 MiB +   1.2 MiB =  10.5 MiB	gsd-media-keys
  9.4 MiB +   1.1 MiB =  10.5 MiB	gsd-wacom
  9.6 MiB +   1.3 MiB =  10.9 MiB	gsd-power
 10.1 MiB +   1.3 MiB =  11.4 MiB	gsd-color
  8.8 MiB +   4.0 MiB =  12.8 MiB	polkitd
 13.1 MiB +   2.0 MiB =  15.1 MiB	evolution-source-registry
 14.7 MiB +   1.0 MiB =  15.7 MiB	gsd-clipboard
 10.3 MiB +   6.1 MiB =  16.4 MiB	msm_notifier
 14.0 MiB +   3.1 MiB =  17.2 MiB	gnome-terminal-server
 14.9 MiB +   2.3 MiB =  17.2 MiB	chrome-gnome-sh
 20.0 MiB +   3.4 MiB =  23.4 MiB	evolution-calendar-factory-subprocess
 23.7 MiB +   1.8 MiB =  25.4 MiB	goa-daemon
 41.5 MiB +   7.8 MiB =  49.4 MiB	nextcloud
 50.9 MiB +   8.9 MiB =  59.8 MiB	Xwayland
 70.3 MiB +  31.6 MiB = 101.9 MiB	systemd-journald
367.7 MiB +  10.8 MiB = 378.4 MiB	gnome-shell
308.8 MiB + 119.7 MiB = 428.5 MiB	chromium (7)
464.8 MiB + 101.3 MiB = 566.1 MiB	chrome (9)
566.5 MiB +  32.6 MiB = 599.1 MiB	firefox
  1.1 GiB +  63.7 MiB =   1.1 GiB	Web Content (3)
---------------------------------
                          3.6 GiB
=================================


#16

Yep this new version 3.29.91.xxxx kill gdm user after a little time… Is not the original workaround build with gnome-dev but another gdm developer use this one plus other modifications … for the presence of the

grep -q "^AutomaticLoginEnable=True" /etc/gdm/custom.conf || pkill -KILL -u gdm

is strange i have build a .install script with this content


this remove only the command … not work for you ?

Edit: uhmmm i have to check my hook… I suspect it reinstall the old file… Tomorrow look into it…


#17

@Chrysostomus @Th3Z0ne what gnome settings you use ? V17 or V18 ? I checked now the hook for V18 is not updated so in this wrong version it re install the old Default file … Can you confirm if is gnome-settings v18 in use ?


#18

:zipper_mouth_face: I have to confess that I do not have either installed - it messed with my gnome look so much - i removed it (thought it was mostly only for looks and default extensions :thinking:)


#19

I would have to resinstall to check. It was whichever you have in manjaro-architect branch:

probably this? manjaro-gnome-assets


#20

Ok … this use the v17 version already adjusted … what branch ? Stable?