I am trying to install a window manager for Raspbian (not Lite) so I can use it with my headless Raspberry Pi 3. I connect using VNC Viewer.

I have followed the tutorial that I found in this thread but it does not seem to work.

Should running VNC on Jessie Lite "just work"?

My raspberry connects via VNC fine and I can use it.

When I type "vncserver" in the terminal or when I enable VNC I get this line

"unable to autolaunch a dbus-daemon without a $display for x11"

I don´t know if it is related. As to my understanding I need to run an X server in order to have a windows manager.

I am quite new to all this, so any help will be appreciated!

  • If you want help you need to say what you did to setup VNC – Milliways May 12 '18 at 21:42
  • I used this guide hackernoon.com/raspberry-pi-headless-install-462ccabd75d0 . I installed Raspbian Stretch with desktop from the raspberry website. As said before, connecting to VNC works but I want to install some sort of window manager to move and drag windows – Victor Gil Garcia May 13 '18 at 8:54
  • I got it to work! I started from scratch and I followed this elinux.org/RPi_VNC_Server It worked like a charm – Victor Gil Garcia May 13 '18 at 9:34
  • Hi @VictorGilGarcia, I may have a similar issue as you (raspberrypi.stackexchange.com/questions/90386/…), but honestly I'm not sure because I'm confused by the question: you write "My raspberry connects via VNC fine and I can use it", but then why were you trying to run vncserver if VNC was already working? Or did you have some problems with it? Maybe you can edit the question for clarity? – rob74 Oct 29 '18 at 8:25

Your Answer

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.