piserver icon indicating copy to clipboard operation
piserver copied to clipboard

How to enable VNC?

Open OkenKhuman opened this issue 4 years ago • 4 comments

How to enable VNC server on client?

OkenKhuman avatar Dec 19 '20 10:12 OkenKhuman

raspi-config interfaces settings enable vnc ?

m-gavrilyuk avatar Jan 15 '21 11:01 m-gavrilyuk

Can this be done by script ie. without having to interactively access raspi-config

ilium007 avatar Mar 02 '21 04:03 ilium007

Can this be done by script ie. without having to interactively access raspi-config

You should only have to do it once in the chroot shell on the server, to have it apply to all clients. So no need to script.

Do keep in mind that using RealVNC on more than 10 computers, or for commercial purposes may require commercial licensing.

maxnet avatar Mar 04 '21 12:03 maxnet

I did setup piserver out of the box from Debian Bullseye with Raspberry Pi Desktop found here: https://www.raspberrypi.com/software/raspberry-pi-desktop/ I did try raspi-config to enable VNC server for the clients but gut error: root@raspberry:/# raspi-config cat: /proc/device-tree/model: No such file or directory Running in chroot, ignoring command 'status' Running in chroot, ignoring command 'start' cat: /proc/device-tree/model: No such file or directory any help?

did try also: without success: root@raspberry:/# sudo systemctl enable vncserver-x11-serviced.service root@raspberry:/# sudo systemctl start vncserver-x11-serviced.service Running in chroot, ignoring command 'start'

hans-dot avatar Feb 12 '24 12:02 hans-dot