Brian_Rice
Posts: 2
Joined: Mon Nov 25, 2019 8:50 am

Only works when HDMI plugged into TV? PI4 + Ubuntu Server 32 + Desktop + x11vnc

Mon Nov 25, 2019 8:58 am

Hi all

I wonder if anyone can help with this please?

I have a lovely set up with a Pi4 4Gb running Ubuntu server 32bit, I installed desktop so it has a gui and then I have also installed x11vnc server.

It all works perfectly when the PI's HDMI cable is plugged into a turned on TV. Whooop Whoop

But if I unplug the HDMI (which i wish to do and only connect via VNC) and reboot it does not work. I belive the xwindows does not start.

Anyone have any suggestions please?

Thanks

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8739
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Only works when HDMI plugged into TV? PI4 + Ubuntu Server 32 + Desktop + x11vnc

Mon Nov 25, 2019 10:26 am

RealVNC clones the local desktop.
With no monitor connected there is no EDID to identify resolutions, therefore there is no desktop to clone.

https://www.raspberrypi.org/documentati ... /README.md section "Creating a virtual desktop", or you need to fake a connected monitor via config.txt.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Brian_Rice
Posts: 2
Joined: Mon Nov 25, 2019 8:50 am

Re: Only works when HDMI plugged into TV? PI4 + Ubuntu Server 32 + Desktop + x11vnc

Mon Nov 25, 2019 10:47 am

Hi there 6by9

That looks sensible thanks for the info.

Is there a way this can run automatically when the Pi is rebooted?

Ta

Return to “Ubuntu”