meefik/linuxdeploy

No session for pid (lxsession pid)

Closed this issue · 7 comments

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.

See #826

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

At me works so:

rm /etc/xdg/autostart/lxpolkit.desktop

or

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

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

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

Neither of these have fixed it for me.

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