Dogtail-run-headless-next: Could not get the environment from /usr/bin/gnome-shell process

When I run the script dogtail-run-headless-next like so

dogtail-run-headless-next TestGui.py

I get the error

dogtail-run-headless-next: Could not get the environment from /usr/bin/gnome-shell process.

How should I approach this error?


Prior to that I got the error

FileNotFoundError: [Errno 2] No such file or directory: '/etc/gdm/custom.conf'

But I symlinked gdm3 to gdm.

Solution, use vxfb-run /path/to/TestGui.py

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.