Feetsbian Posted February 27 Posted February 27 I recently installed the latest Armbian Ubuntu 24.04 Desktop on an OrangePi Zero 2W and I have tried to follow many tutorials from various sites, but I cannot get a VNC server to work. Can somebody help me? Armbian image: Armbian_community_25.5.0-trunk.87_Orangepizero2w_noble_current_6.6.72_gnome_desktop.img 0 Quote
Igor Posted February 27 Posted February 27 16 hours ago, Feetsbian said: VNC server to work You need a VNC server that supports Wayland. Put that into Google search / ask AI. 0 Quote
eloirotava Posted February 28 Posted February 28 On a headless machine, I use Xvfb (a virtual display server) and x11vnc to enable remote access. Here's what works for me: Xvfb :1 -screen 0 1280x720x16 & DISPLAY=:1 startx & x11vnc -display :1 -rfbport 5900 -forever & Make sure you have Xvfb and x11vnc installed! Xvfb :1 -screen 0 1280x720x16 → Starts a virtual display at :1 with a resolution of 1280x720 and 16-bit color depth. DISPLAY=:1 startx → Starts the X session using the virtual display. x11vnc -display :1 -rfbport 5900 -forever → Starts the VNC server on display :1, keeping the session active after disconnects. 0 Quote
Feetsbian Posted March 2 Author Posted March 2 Thank you both very much. Pardon the delay; I hadn't seen any notifications in my email but I just logged back into the forum. 0 Quote
Solution Igor Posted March 3 Solution Posted March 3 On 2/28/2025 at 7:23 PM, eloirotava said: and x11vnc Which most likely won't work on Wayland based Gnome desktop ... switching Gnome to X or using XFCE or similar is a way that this will work. 0 Quote
laibsch Posted March 17 Posted March 17 Another option you can look into that should be easier to get up and running is to use an X tunnel over ssh. You don't need to run a full-blown Desktop Environment if you only want a browser or Libreoffice or ... At the same time, I highly encourage you to love and learn the command line. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.