You are not logged in.

#1 2019-11-29 13:34:43

beng
Member
Registered: 2015-09-29
Posts: 64

lost my nm-applet and session lock

Hi
First you will have to excuse me I'm at work in front of my windows PC (ie. not at home in front of my beloved BL!)
I have lost my nn-applet, xfce4-power-manager (they don't autostart; I cannot see them tint anymore but I can start them manually) and my session does not lock anymore (the screen goes black but does not prompt for any password when I move the mouse); maybe I am missing others bt I have not realised yet
I suspect this happened following the installation of necessary packages in order to compile AOSP rom for my phone...
I am aware these are not managed by the openbox autostart but another file whose name I cannot currently remember (XDG something? it is mentioned in the autostart); but could not work out the issue...
Would this ring a bell with anyone please? Probably something obvious, I suspect all the modules mentioned in the XDG file are concerned with the issue, meaning the file is not actually loaded by the sytem (my analysis for what it is worth)
Thanks for your help.

Offline

#2 2019-11-29 18:00:07

ohnonot
...again
Registered: 2015-09-29
Posts: 4,165
Website

Re: lost my nm-applet and session lock

Can you start these apps manually?

Also, if you start openbox with

openbox-session

XDG stuff should get started.

Offline

#3 2019-12-03 12:48:34

beng
Member
Registered: 2015-09-29
Posts: 64

Re: lost my nm-applet and session lock

ohnonot wrote:

Can you start these apps manually?

beng wrote:

... but I can start them manually

ohnonot wrote:

Also, if you start openbox with

openbox-session

XDG stuff should get started.

mys sytem is set to start automatically in graphical mode

thanks for your help

Offline

#4 2019-12-04 06:45:07

ohnonot
...again
Registered: 2015-09-29
Posts: 4,165
Website

Re: lost my nm-applet and session lock

beng wrote:

I suspect this happened following the installation of necessary packages in order to compile AOSP rom for my phone...

What exactly happened there?
Look in apt history.

Execute the command to --list XDG-autostarted apps (it's at the top of ~/.config/openbox/autostart) and show us.

Can you add

nm-applet &
xfce4-power-manager &

to ~/.config/openbox/autostart, does that fix things?

Offline

#5 2019-12-04 07:13:37

beng
Member
Registered: 2015-09-29
Posts: 64

Re: lost my nm-applet and session lock

Hi
here is what the command returns:

~$ /usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list
[ ] PolicyKit Authentication Agent
	  File: /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop
	  Executes: /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
	* Excluded by: OnlyShowIn (XFCE, Unity, X-Cinnamon)

[ ] Certificate and Key Storage
	  File: /etc/xdg/autostart/gnome-keyring-pkcs11.desktop
	  Executes: /usr/bin/gnome-keyring-daemon --start --components=pkcs11
	* Excluded by: OnlyShowIn (GNOME, Unity, MATE)

[*] AT-SPI D-Bus Bus
	  File: /etc/xdg/autostart/at-spi-dbus-bus.desktop
	  Executes: /usr/lib/at-spi2-core/at-spi-bus-launcher --launch-immediately

[*] Power Manager
	  File: /etc/xdg/autostart/xfce4-power-manager.desktop
	  Executes: xfce4-power-manager

[ ] ClipIt
	  File: /etc/xdg/autostart/clipit-startup.desktop
	  Executes: clipit
	* Excluded by: OnlyShowIn (GNOME, XFCE, LXDE, Unity)

[*] Network
	  File: /etc/xdg/autostart/nm-applet.desktop
	  Executes: nm-applet

[*] Screen Locker
	  File: /etc/xdg/autostart/light-locker.desktop
	  Executes: light-locker

[ ] Secret Storage Service
	  File: /etc/xdg/autostart/gnome-keyring-secrets.desktop
	  Executes: /usr/bin/gnome-keyring-daemon --start --components=secrets
	* Excluded by: OnlyShowIn (GNOME, Unity, MATE)

[ ] SSH Key Agent
	  File: /etc/xdg/autostart/gnome-keyring-ssh.desktop
	  Executes: /usr/bin/gnome-keyring-daemon --start --components=ssh
	* Excluded by: OnlyShowIn (GNOME, Unity, MATE)

[ ] GSettings Data Conversion
	  File: /etc/xdg/autostart/gsettings-data-convert.desktop
	  Executes: gsettings-data-convert
	* Excluded by: OnlyShowIn (GNOME, Unity)

[*] PulseAudio Sound System
	  File: /etc/xdg/autostart/pulseaudio.desktop
	  Executes: start-pulseaudio-x11

and adding

nm-applet &
xfce4-power-manager &

to the autostart file does indeed get the applets started at reboot

Last edited by beng (2019-12-04 07:17:48)

Offline

#6 2019-12-05 06:29:15

ohnonot
...again
Registered: 2015-09-29
Posts: 4,165
Website

Re: lost my nm-applet and session lock

This is strange; it should get started without having to add it to autostart.
You can search the logs; maybe sth like

journalctl|grep -E 'power-manager|nm-applet'

It would be good to research what is going on.
My previous question still stands:

ohnonot wrote:
beng wrote:

I suspect this happened following the installation of necessary packages in order to compile AOSP rom for my phone...

What exactly happened there?
Look in apt history.

Offline

Board footer

Powered by FluxBB