steveiliop56
Posts: 19
Joined: Wed Mar 01, 2023 7:27 am

New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 2:47 pm

Hello!

I recently saw the post about the all new raspberry pi 5 (which doesn't have the headphone jack :cry: ) and also saw about the new raspberry pi os 12 ditching x11 and dhcpcd for wayland and networkmanager. I have tried wayland through raspi-config but the vnc server disappears which means its probably not supported. So the question is will vnc server remain in raspberry pi os 12?

User avatar
aallan
Raspberry Pi Employee & Forum Moderator
Raspberry Pi Employee & Forum Moderator
Posts: 375
Joined: Mon Feb 09, 2015 11:30 am
Location: Exeter, UK

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 3:36 pm

steveiliop56 wrote:
Sun Oct 01, 2023 2:47 pm
Hello!

I recently saw the post about the all new raspberry pi 5 (which doesn't have the headphone jack :cry: ) and also saw about the new raspberry pi os 12 ditching x11 and dhcpcd for wayland and networkmanager. I have tried wayland through raspi-config but the vnc server disappears which means its probably not supported. So the question is will vnc server remain in raspberry pi os 12?

Yup! Unfortunately, our existing RealVNC server doesn't support Wayland, so we're using WayVNC as the server on the upcoming Bookworm release. The WayVNC server running on your Pi can be connected to using the TigerVNC client, which has binary releases for Linux, Windows, and macOS.
Head of Documentation
Raspberry Pi Ltd
About me, http://alasdairallan.com

User avatar
scruss
Posts: 5610
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 4:14 pm

Hmm, I'm going to have to find a way to replicate RealVNC's cloud connection, as sometimes the remote machine for me is in a different country
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

User avatar
rpiMike
Posts: 2696
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 4:22 pm

scruss wrote:
Sun Oct 01, 2023 4:14 pm
Hmm, I'm going to have to find a way to replicate RealVNC's cloud connection, as sometimes the remote machine for me is in a different country
Hmm, me too, been very useful.

User avatar
B.Goode
Posts: 15846
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 4:40 pm

scruss wrote:
Sun Oct 01, 2023 4:14 pm
Hmm, I'm going to have to find a way to replicate RealVNC's cloud connection, as sometimes the remote machine for me is in a different country
I haven't tried it, but I notice that TigerVNC, when installed on MS Windows, has a 'Listening Server' option which - I think - does something related to this issue.
Beware of the Leopard

steveiliop56
Posts: 19
Joined: Wed Mar 01, 2023 7:27 am

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 4:45 pm

Will I be able to connect to the vnc server on the pi through the real vnc viewer?

aBUGSworstnightmare
Posts: 8377
Joined: Tue Jun 30, 2015 1:35 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 5:08 pm

When betatesting wayvnc (server) and tigervnc (viewer) I was never able to get that working.
So hopefully there is a well explained how-too for noobs like me running different OS versions on there hosts...

Wayland - during beta testing - had lot of downsides as well. Lets's wait and see what it comes out once released.

User avatar
raehpi
Posts: 3
Joined: Thu Jan 26, 2023 4:53 pm
Location: Oslo, Norway

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 5:18 pm

aallan wrote:
Sun Oct 01, 2023 3:36 pm
steveiliop56 wrote:
Sun Oct 01, 2023 2:47 pm
Hello!

I recently saw the post about the all new raspberry pi 5 (which doesn't have the headphone jack :cry: ) and also saw about the new raspberry pi os 12 ditching x11 and dhcpcd for wayland and networkmanager. I have tried wayland through raspi-config but the vnc server disappears which means its probably not supported. So the question is will vnc server remain in raspberry pi os 12?

Yup! Unfortunately, our existing RealVNC server doesn't support Wayland, so we're using WayVNC as the server on the upcoming Bookworm release. The WayVNC server running on your Pi can be connected to using the TigerVNC client, which has binary releases for Linux, Windows, and macOS.
Is there an equivalent app for iOS/iPadOS that is able to connect to WayVNC? Didn't see anything on a quick look.

MiscBits
Posts: 1785
Joined: Wed Jan 27, 2021 12:48 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 6:07 pm

This is currently a deal breaker for me and a Bookworm upgrade :cry:

Get the feeling I'm going to be working through https://help.realvnc.com/hc/en-us/artic ... g-on-Linux or getting the OK for tailscale / zetotier...

steveiliop56
Posts: 19
Joined: Wed Mar 01, 2023 7:27 am

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 6:10 pm

The question is why realvnc doesn't make their server work with Wayland...

hippy
Posts: 15110
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 6:22 pm

Is there any support for RDP under Windows with Bookworm on a Pi ?

That's what I have generally used with my Pi with 'xrdp' installed.

And I expect how things are with respect to TeamViewer will be a question for some.

The big question is, will it be possible to 'downgrade' Bookworm to use X11 so it's usable with what people currently have while they figure out the best way forward ?

incognitum
Posts: 1407
Joined: Tue Oct 30, 2018 3:34 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Sun Oct 01, 2023 8:07 pm

raehpi wrote:
Sun Oct 01, 2023 5:18 pm
Is there an equivalent app for iOS/iPadOS that is able to connect to WayVNC? Didn't see anything on a quick look.
Safari is likely to work, if you upgrade WayVNC first to something more recent than is in Debian's repository, and install novnc/nginx...
https://github.com/raspberrypi/bookworm ... k/issues/5

User avatar
Gavinmc42
Posts: 7992
Joined: Wed Aug 28, 2013 3:31 am

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 12:34 am

The big question is, will it be possible to 'downgrade' Bookworm to use X11 so it's usable with what people currently have while they figure out the best way forward ?
Should still be able to use Bookworm Lite and put an X11 desktop on it.
Miss out on all the speed improvements but if using VNC anyway it should not matter.

You can try now, Debian 12 on RPi img are around and work on Pi4 and they come as Lite and need you to install a Desktop anyway.
https://raspberrytips.com/install-debia ... pberry-pi/

Raspberry PI Bookworm OS is coming tweaked with the Pi5 features.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

bls
Posts: 3285
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 3:54 am

Gavinmc42 wrote:
Mon Oct 02, 2023 12:34 am
The big question is, will it be possible to 'downgrade' Bookworm to use X11 so it's usable with what people currently have while they figure out the best way forward ?
Should still be able to use Bookworm Lite and put an X11 desktop on it.
Miss out on all the speed improvements but if using VNC anyway it should not matter.
Indeed. This works really well.

It's also possible to make the Bookworm Desktop version use X11 by default, but it seems easier to build up from Lite.
Pi tools:
Quickly and easily build customized exactly as-you-want SSDs/SD Cards: https://github.com/gitbls/sdm
Easily run and manage your network's DHCP/DNS servers on a Pi: https://github.com/gitbls/ndm
Easy and secure IPSEC/IKEV2 VPN installer/manager: https://github.com/gitbls/pistrong
Lightweight Virtual VNC Config: https://github.com/gitbls/RPiVNCHowTo

ejolson
Posts: 11705
Joined: Tue Mar 18, 2014 11:47 am

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 4:03 am

bls wrote:
Mon Oct 02, 2023 3:54 am
Gavinmc42 wrote:
Mon Oct 02, 2023 12:34 am
The big question is, will it be possible to 'downgrade' Bookworm to use X11 so it's usable with what people currently have while they figure out the best way forward ?
Should still be able to use Bookworm Lite and put an X11 desktop on it.
Miss out on all the speed improvements but if using VNC anyway it should not matter.
Indeed. This works really well.

It's also possible to make the Bookworm Desktop version use X11 by default, but it seems easier to build up from Lite.
Does the new Pi 5 require Wayland?

aBUGSworstnightmare
Posts: 8377
Joined: Tue Jun 30, 2015 1:35 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 5:22 am

wayvnc is lacking the file transfer capability - which realvnc offers - as well and adds some complexity to it.

Might not be a show stopper, but needs to be explained in detail to allow 'the average user' to make use of it.

aBUGSworstnightmare
Posts: 8377
Joined: Tue Jun 30, 2015 1:35 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 5:24 am

ejolson wrote:
Mon Oct 02, 2023 4:03 am
..
Does the new Pi 5 require Wayland?
no idea if it's 'required' (why should it?) - it just comes with wayland as most people think that animated windows and stuff 'are essential'

User avatar
Gavinmc42
Posts: 7992
Joined: Wed Aug 28, 2013 3:31 am

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 6:14 am

Does the new Pi 5 require Wayland?
Don't think it is "requires", my impression is Wayland/Wayfire is just twice as fast as old X11.
it just comes with wayland as most people think that animated windows and stuff 'are essential'
Nah, just an old dream becoming real ;)
Like Vulkan is faster than old OpenGL.

Been happy with my Pi400 on Bullseye, just Bookworm is better, but I don't use VNC.
Time for VNC to catch up, any bleeding edge VNC apps using Vulkan etc?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 32788
Joined: Sat Jul 30, 2011 7:41 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 6:32 am

Gavinmc42 wrote:
Mon Oct 02, 2023 6:14 am
Does the new Pi 5 require Wayland?
Don't think it is "requires", my impression is Wayland/Wayfire is just twice as fast as old X11.
it just comes with wayland as most people think that animated windows and stuff 'are essential'
Nah, just an old dream becoming real ;)
Like Vulkan is faster than old OpenGL.

Been happy with my Pi400 on Bullseye, just Bookworm is better, but I don't use VNC.
Time for VNC to catch up, any bleeding edge VNC apps using Vulkan etc?
I don't think we have tested X11 on Pi5 at all, because Wayland is so much faster. This is nothing to do with window animations, it's just much faster because Wayland handles GPU acceleration much better than X11, which was produced well before the era of GPUs so architecturally is inefficient.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

aBUGSworstnightmare
Posts: 8377
Joined: Tue Jun 30, 2015 1:35 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 6:43 am

jamesh wrote:
Mon Oct 02, 2023 6:32 am
Gavinmc42 wrote:
Mon Oct 02, 2023 6:14 am
Does the new Pi 5 require Wayland?
Don't think it is "requires", my impression is Wayland/Wayfire is just twice as fast as old X11.
it just comes with wayland as most people think that animated windows and stuff 'are essential'
Nah, just an old dream becoming real ;)
Like Vulkan is faster than old OpenGL.

Been happy with my Pi400 on Bullseye, just Bookworm is better, but I don't use VNC.
Time for VNC to catch up, any bleeding edge VNC apps using Vulkan etc?
I don't think we have tested X11 on Pi5 at all, because Wayland is so much faster. This is nothing to do with window animations, it's just much faster because Wayland handles GPU acceleration much better than X11, which was produced well before the era of GPUs so architecturally is inefficient.
I'm keen to test wayland and see if it has seen some improvement/some missing features added. Reported some during beta testing of Bookworm already (missing panning/transform i.e.).

caldimerda
Posts: 81
Joined: Tue Oct 09, 2012 9:41 am

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 1:27 pm

RealVNC is pretty important to me. I would describe myself as very much old-school CLI man but I have 20 Pi's at home and 50 at work and it is very handy using a single client to see the GUI on what are multiple different models running several OS versions. And with each new Pi being more capable of running a GUI, actually seeing and interacting with the screen has become more important.

The idea of going back to needing perhaps more than one client is not great. And TBH, given Wayland's been around in the Linux world for a while without RealVNC yet getting to grips with it - it doesn't look too promising in the short term.

It would be nice to hear optimistic words that say yes, we're talking to RealVNC and yes, we're hopeful of a solution!

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 32788
Joined: Sat Jul 30, 2011 7:41 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 1:44 pm

caldimerda wrote:
Mon Oct 02, 2023 1:27 pm
RealVNC is pretty important to me. I would describe myself as very much old-school CLI man but I have 20 Pi's at home and 50 at work and it is very handy using a single client to see the GUI on what are multiple different models running several OS versions. And with each new Pi being more capable of running a GUI, actually seeing and interacting with the screen has become more important.

The idea of going back to needing perhaps more than one client is not great. And TBH, given Wayland's been around in the Linux world for a while without RealVNC yet getting to grips with it - it doesn't look too promising in the short term.

It would be nice to hear optimistic words that say yes, we're talking to RealVNC and yes, we're hopeful of a solution!
We have certainly spoken to RealVNC, starting some time ago. It is their product, so they are the people who will need to make it work with Wayland.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

User avatar
rpiMike
Posts: 2696
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 1:57 pm

caldimerda wrote:
Mon Oct 02, 2023 1:27 pm
RealVNC is pretty important to me. I would describe myself as very much old-school CLI man but I have 20 Pi's at home and 50 at work and it is very handy using a single client to see the GUI on what are multiple different models running several OS versions. And with each new Pi being more capable of running a GUI, actually seeing and interacting with the screen has become more important.

The idea of going back to needing perhaps more than one client is not great. And TBH, given Wayland's been around in the Linux world for a while without RealVNC yet getting to grips with it - it doesn't look too promising in the short term.

It would be nice to hear optimistic words that say yes, we're talking to RealVNC and yes, we're hopeful of a solution!
Contact RealVNC, the more that do may influence a Wayland update, I have.

https://www.realvnc.com/en/contact-us/

any1
Posts: 24
Joined: Thu Sep 28, 2023 2:43 pm

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 2:04 pm

WayVNC is free, open source software. We can improve it together. The only thing that can't be easily replicated is the cloud thing. Because wayvnc is developed mostly without funding, there is no money to pay for hosting such a service.

However, there are alternatives to RealVNC's cloud service such as Tailscale. There are some benefits to using Tailscale; as far as I understand, it can operate in p2p mode given the right conditions, so there should be very little additional latency. The encryption employed by Tailscale is state-of-the-art, so it improves upon the somewhat lacklustre authentication & encryption offered by standard VNC.

User avatar
scruss
Posts: 5610
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON

Re: New raspberry pi os 12 coming out based on wayland... What about vnc server?

Mon Oct 02, 2023 2:08 pm

jamesh wrote:
Mon Oct 02, 2023 1:44 pm
We have certainly spoken to RealVNC, starting some time ago. It is their product, so they are the people who will need to make it work with Wayland.
RealVNC staff were active on the wayland-devel mailing list in 2013-4, so they've had some awareness of the issue. Unfortunately, the sum total of their current knowledge base seems to be about replacing Wayland with X11 to make RealVNC work again.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Return to “Raspberry Pi OS”