Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've used pacman on Arch to install xorg-server and Qt5, but keep running into "display not found issues" or "qmlviewer cannot connect to x server" when running xhost and qmlviewer respectively.

The X11 server appears to work (I can run Xterm), but I suspect I'm taking the wrong approach to building Qt on my Pi... Do I actually need an X server to run Qt on Pi? I keep reading about how QTonPi bypasses X based rendering...

Should I uninstall xorg-server, Qt5 and attempt to build QTonPi, or can I "patch" my current installation?

share|improve this question

Check this for complee details on how to build Raspberry Pi.

And this for your particular issue.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Perhaps you could add a synopsis here... link-only answers are not helpful! – Andrew Dec 20 '12 at 11:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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