Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No session for pid (lxsession pid) #978

Closed
shiftyshady opened this issue Aug 12, 2018 · 7 comments
Closed

No session for pid (lxsession pid) #978

shiftyshady opened this issue Aug 12, 2018 · 7 comments

Comments

@shiftyshady
Copy link

On Ubuntu 16.04 with default settings (chroot, ubuntu, armhf, xenial, file, ext4, POSIX, enabled INIT, init system: run-parts, GUI: enabled, VNC, LXDE), I get error "No session for pid XXXX" at start up. The pid corresponds to lxsession
I have to click on OK to finish booting.

This error seems quite common in Linux distros, but the solutions suggested in a number of different sites (e.g. disabling apparmor, editing files that do not exist here) are not useful.

@meefik
Copy link
Owner

meefik commented Aug 13, 2018

See #826

@shiftyshady
Copy link
Author

shiftyshady commented Aug 13, 2018

I had seen the 4pda post, but I don't even have lxpolkit.
Apt-get installed lxpolkit, lxsession and changed window manager to openbox-lxde (it was openbox), but same results. Renamed lxpolkit, same. I still get the session error when I run: startlxde

@shiftyshady
Copy link
Author

screenshot

@meefik
Copy link
Owner

meefik commented Aug 20, 2018

At me works so:

rm /etc/xdg/autostart/lxpolkit.desktop

or

mv /usr/bin/lxpolkit /usr/bin/lxpolkit.bak

@meefik meefik closed this as completed Aug 24, 2018
@piadam
Copy link

piadam commented Oct 14, 2019

Seems like: rm /etc/xdg/autostart/lxpolkit.desktop
was not enough...

mv /usr/bin/lxpolkit /usr/bin/lxpolkit.ORIG
did the trick for me!

@RenaKunisaki
Copy link

Neither of these have fixed it for me.

@Gabriel-Python-Archlinux

Parece que: rm /etc/xdg/autostart/lxpolkit.desktop não foi suficiente...

mv /usr/bin/lxpolkit /usr/bin/lxpolkit.ORIG fez o truque para mim!

Thanks your method works for min on archlinux lxde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants