Open StevenMacias opened 2 years ago
I'm not sure how to help you if you cannot update the packages. Does supplying DISPLAY
help?
Hi! Thanks for your reply. Supplying DISPLAY does not help. I know it is a complicated situation...
We are setting up a test server to see what breaks if we update that package only. I will keep you updated. Are the versions backward compatible?
Hi, this is a really special request since I am working with a production server that runs Debian Jeesie, python 3.4 and screeninfo 0.2.2. I am not allowed to update packages in there so I know this is going to be challenging.
Basically, we have a GUI that should run on a physical screen. This specific system does not have a physical screen connected, however X11 is running and I can take screenshots graphical programs like xterm.
However, when I run the app in this headless server I get the following error:
I have tried to enable Xinerama on xorg.conf:
And then
systemctl restart display-manager
. It is usingslim
. I even restarted the whole server since the issue persisted.When I run just
scrot
, I get the following messagegiblib error: Can't open X display. It *is* running, yeah?
but by googling a little bit I managed to make it work by setting the display environment variable for the command like this:DISPLAY=:0 scrot
.Any help to figure out what is going on with this error is more than welcome. I am quite new with trying to launch virtual displays on headless servers.