Hi I'm trying to use xeyes on a rapsberry Pi equiped with an LCD screen. I'm using Raspberry Pi Os Lite Legacy ( a debian buster) and i've installed the packages x11-apps. But when I try a DISPLAY=:0 xeyes command I get the Error : Can't open display. I'm not trying to use ssh. What can I do to fix this ?

New contributor
Red Karibou is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    You need an X server for this. The easiest way is not to use the "Lite" version but the full OS
    – PMF
    2 days ago
  • Yeah that could be a way of solving it but is there no way to get an X server on "Lite" ? I though that x11-apps was the X server system 1 hour ago
  • No, if I'm not misstaken, x11-apps is just a bunch of small gui tools (such as xeyes, which is nice just for testing that the Gui works). The packages you need are xserver-xorg and xinit. And then you need to start it with startx.
    – PMF
    1 hour ago

Your Answer

Red Karibou is a new contributor. Be nice, and check out our Code of Conduct.

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

Browse other questions tagged or ask your own question.