mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Final VNC tweaks
This commit is contained in:
parent
de8477b500
commit
7936440427
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
raspi-config (20200207) buster; urgency=medium
|
||||
|
||||
* Fix bug preventing VNC from being disabled
|
||||
|
||||
-- Serge Schneider <serge@raspberrypi.org> Fri, 07 Feb 2020 12:59:29 +0000
|
||||
|
||||
raspi-config (20200205) buster; urgency=medium
|
||||
|
||||
* Add filter parameter to xrandr when setting pixel doubling
|
||||
|
@ -811,7 +811,7 @@ do_vnc() {
|
||||
RET=$1
|
||||
fi
|
||||
if [ $RET -eq 0 ]; then
|
||||
if is_installed realvnc-vnc-server || apt install -y realvnc-vnc-server; then
|
||||
if is_installed realvnc-vnc-server || apt-get install realvnc-vnc-server; then
|
||||
systemctl enable vncserver-x11-serviced.service &&
|
||||
systemctl start vncserver-x11-serviced.service &&
|
||||
STATUS=enabled
|
||||
@ -819,8 +819,10 @@ do_vnc() {
|
||||
return 1
|
||||
fi
|
||||
elif [ $RET -eq 1 ]; then
|
||||
systemctl disable vncserver-x11-serviced.service
|
||||
systemctl stop vncserver-x11-serviced.service
|
||||
if is_installed realvnc-vnc-server; then
|
||||
systemctl disable vncserver-x11-serviced.service
|
||||
systemctl stop vncserver-x11-serviced.service
|
||||
fi
|
||||
STATUS=disabled
|
||||
else
|
||||
return $RET
|
||||
|
Loading…
Reference in New Issue
Block a user