🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.raspberry-pi
Article #12

Re: RealVNC server on RasPi with Raspian/Debian Bookworm - current situation

#12
From: Knute Johnson
Date: Tue, 13 Oct 2026 14:20
56 lines
3722 bytes
On 10/13/26 09:16, Knute Johnson wrote:
> On 10/12/26 04:20, NY wrote:
>> "Knute Johnson" <groups@585ranch.com> wrote in message 
>> news:11agrjv$3012t$1@dont-email.me...
>>> If you want to run RealVNC server on your Pi and access it from the 
>>> internet you need to set your Pi to use X11 not Wayland.  Do that in 
>>> raspi-config.  You can get a free account from RealVNC for up to 3 
>>> servers for personal use.  It works great.  I have 3 Pis running 
>>> RealVNC server and accessing them from the internet.
>>
>> Can I check what I need to do to switch between Wayland and X11, 
>> because I get a blank screen when I do so...
>>
>> sudo raspi-config
>> Advanced Options
>> Wayland
>> Openbox with X11 (as opposed to Labwc with Wayland, as it was before)
>> reboot
>>
>> RealVNC (direct TCP connection) gives a blank window, and the output 
>> on HDMI1 is also a black screen,
>>
>> Fortunately I'd enabled SSH, so I was able to connect using PuTTY and 
>> run raspi-config to change back to Wayland
> 
> I have one Pi5 that is running Bookworm and Wayland.  I can access it 
> with RealVNC viewer.  It sometimes gives me a gray screen (not black) 
> and other times I get the login screen if nobody is logged in.  There 
> are two users on that computer and I can log in as either but only one 
> at a time and it is the running desktop that I can get to.  I'm not sure 
> how it works if you connect the RealVNC viewer with one user and then 
> login to the computer with another but it seems to work most of the time.
> 
> FYI - I just tried to change that Pi5 to X11 and I can't get into it 
> with the RealVNC viewer.  It may have something to do with nobody being 
> logged in.  It's not convenient to run back and forth to the computers 
> as they are 100 yards apart in different buildings.
> 
> I've got 4 Pis running X11 with no problems.  Anytime I try Wayland I 
> get some sort of issue that I can't resolve.
> 
> I think RealVNC and Wayland only work when you are on the same network, 
> not using their servers.
> 

To know whether you are running X11 or Wayland, from a command prompt 
type: echo $XDG_SESSION_TYPE.

You should get X11 or Wayland.  This doesn't work if you SSH into 
another computer as it gives you: tty



-- 

Knute Johnson
Technical Details
Message-ID: <11alemk$jt09$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11agnjm$2ug8j$1@dont-email.me> <11agrjv$3012t$1@dont-email.me> <11ai8q1$3ehem$1@dont-email.me> <11alego$jsnv$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Knute Johnson <groups@585ranch.com>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: RealVNC server on RasPi with Raspian/Debian Bookworm - current
 situation
Date: Tue, 13 Oct 2026 09:20:04 -0500
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <11alemk$jt09$1@dont-email.me>
References: <11agnjm$2ug8j$1@dont-email.me> <11agrjv$3012t$1@dont-email.me>
 <11ai8q1$3ehem$1@dont-email.me> <11alego$jsnv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 13 Oct 2026 14:20:05 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="652297"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19mkfJT233CJ1UlzhBNCwwp"; posting-host="b759b8e993109230feae092c5514be9e"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:j2PQ2yCRyA6GtcwEuEd2WVXQ/KM= sha256:7U8az/en3NxVBAtmxmxZY31Lf/Pw6BHirlRvGLvrsoM=
	sha1:uyLayzyqZ9Hgi9az6tssr/Bm+Rs= sha256:aISXTsRMoEU2/+mXIrXj5T2weRkR3qpf6iiML/xovys=
In-Reply-To: <11alego$jsnv$1@dont-email.me>
Content-Language: en-US