Jump to content

Recommended Posts

Posted

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

Posted
16 hours ago, Feetsbian said:

VNC server to work


You need a VNC server that supports Wayland. Put that into Google search / ask AI.

Posted

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.

 

 

  • Solution
Posted
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.

Posted

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines