mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Install RealVNC server if it is missing when enabled.
This commit is contained in:
parent
98887bc18d
commit
b867597b73
@ -604,6 +604,9 @@ do_vnc() {
|
||||
RET=$1
|
||||
fi
|
||||
if [ $RET -eq 0 ]; then
|
||||
if [ ! -d /usr/share/doc/realvnc-vnc-server ] ; then
|
||||
sudo apt-get install realvnc-vnc-server
|
||||
fi
|
||||
systemctl enable vncserver-x11-serviced.service &&
|
||||
systemctl start vncserver-x11-serviced.service &&
|
||||
STATUS=enabled
|
||||
|
Loading…
Reference in New Issue
Block a user