Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4467

Advanced users • on RPi5 what is command line command to toggle VNC without launching raspi-config

$
0
0
Is there a way to toggle the VNC slider with out using raspi-config on a Raspberry Pi 5

For SSH I can run the following to toggle the SSH:
sudo systemctl enable ssh
sudo systemctl start ssh
sudo systemctl status ssh | grep "Active"

is there a way to do this with VNC?
chatGPT said:

sudo systemctl enable vncserver-x11-serviced.service
sudo systemctl start vncserver-x11-serviced.service
sudo systemctl status vncserver-x11-serviced.service

but that does not work... but it also does not seem to start the VNC, so I'm still trying to figure this out.

thoughts?

Statistics: Posted by STEAMClown — Mon Mar 10, 2025 4:19 am — Replies 1 — Views 79



Viewing all articles
Browse latest Browse all 4467

Trending Articles