mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-04-01 17:05:22 +02:00
Merge branch 'vnc-fix' into 'master'
Fix vncpass= boot option See merge request systemrescue/systemrescue-sources!117
This commit is contained in:
commit
8bf8c4a7ac
|
|
@ -80,7 +80,10 @@ do
|
|||
# Auto-start x11vnc with the graphical environment
|
||||
dovnc)
|
||||
echo "Found option '${curopt}' on the boot command line"
|
||||
echo 'x11vnc -nevershared -forever -logfile /var/log/x11vnc.log &' > /root/.xprofile
|
||||
{
|
||||
echo '[ -f ~/.vnc/passwd ] && pwopt="-usepw" || pwopt="-nopw"'
|
||||
echo 'x11vnc $pwopt -nevershared -forever -logfile /var/log/x11vnc.log &'
|
||||
} > /root/.xprofile
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue