Pengwin: startlxde throws 'No session for pid' error

Created on 20 Apr 2019  路  6Comments  路  Source: WhitewaterFoundry/Pengwin

After doing sudo apt-get install task-lxde-desktop and then startlxde, the desktop environment does successfully start, but it throws this error every time:

image

Answered Unable To Reproduce User Support

Most helpful comment

Fixed it by going to Preferences > Default applications for LXSession > Core applications, and then clearing the Polkit agent field.

Definitely something to keep in mind when you add a desktop GUI option to pengwin-setup

All 6 comments

Also happens in Windowed Apps mode.

sudo apt-get install task-lxde-desktop is installing something with a service dependency, probably dbus.

You can try installing launching dbus manually by sudo apt-get install dbus-x11 and then dbus launch. This is in the pipeline to be added as an optional feature.

But really I would just reset and use sudo apt-get install lxde which will get you started with most of LXDE without this error.

You can then install Synaptic with sudo apt-get install synaptic to get a graphical package manager to easily install anything else you need.

Did a completely fresh installation. Uninstalled Pengwin, reinstalled it. Did pengwin-setup and the only thing I did was Tools > GUI. Then I did sudo apt update, sudo apt upgrade, and lastly, sudo apt-get install lxde. Then I did startlxde. Same thing happened.

image

So I tried the dbus stuff you mentioned... it seems the command is actually dbus-launch, not dbus launch, but that didn't work either:

image
image

I am currenty unable to duplicate. Can you $ ps -p 16206 -o comm= (replacing the PID as appropriate) next time this hapens?

Thanks.

The return is lxpolkit

Fixed it by going to Preferences > Default applications for LXSession > Core applications, and then clearing the Polkit agent field.

Definitely something to keep in mind when you add a desktop GUI option to pengwin-setup

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juliosegarra picture juliosegarra  路  3Comments

laurin1 picture laurin1  路  4Comments

sharpninja picture sharpninja  路  3Comments

ket000 picture ket000  路  5Comments

WSLUser picture WSLUser  路  4Comments