How to check the running Pi desktop session from terminal on Raspbian Stretch? And does desktop session even run on a headless scenario?

1 Answer 1


Assuming SSH is enabled, you should be able to run desktop headless just fine. I don't see what would be the point as many resources would be used to draw windows and such which you wouldn't see. You can check what's happening process wise with

ps -aux

or something like

  • because I am getting a tiny desktop with x0vncserver as it loads the 0 dektop (the main desktop), so was looking for a fix in the de may be and it is showing that lxde-pi is running as I did ps aux | grep de. So wish me luck. Oct 12, 2017 at 8:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.