February 27, 20251 yr 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
February 27, 20251 yr 16 hours ago, Feetsbian said: VNC server to work You need a VNC server that supports Wayland. Put that into Google search / ask AI.
February 28, 20251 yr 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.
March 2, 20251 yr Author 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.
March 3, 20251 yr Solution 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.
March 17, 20251 yr 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.
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.