I have experienced this problem trying to start lxde using the TightVNC vncserver from systemd.
The process with the displayed PID is always lxsession. I resolved it by adding PAMName=login to my unit file. This suggestion came from https://bugs.archlinux.org/task/42425 Note: I did not have to specify "-fg" to vncserver, as also suggested in this bug (this option is anyway not supported by TightVNC). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1273524 Title: LXDE guest session shows error message "no session for pid <pid for lxsession>" To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1273524/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs