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:

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.

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:


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
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