mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
always set vnc password new on rerunning update-installer.sh -launch-xfce
This commit is contained in:
parent
1721145995
commit
e8eca0f9b5
2 changed files with 2 additions and 2 deletions
|
@ -91,6 +91,8 @@ if [[ "${_L_XFCE}" == "1" ]]; then
|
|||
echo -e "\033[1mStep 4/4:\033[0m Starting avahi-daemon ..."
|
||||
systemctl start avahi-daemon.service
|
||||
fi
|
||||
echo "Setting VNC password /etc/tigervnc/passwd to ${_VNC_PW} ..."
|
||||
echo "${_VNC_PW}" | vncpasswd -f > /etc/tigervnc/passwd
|
||||
echo -e "Launching XFCE now, logging is done on \033[1m/dev/tty8\033[0m ..."
|
||||
startxfce4 >/dev/tty8 2>&1
|
||||
echo -e "To relaunch XFCE desktop use: \033[92mstartxfce4\033[0m"
|
||||
|
|
|
@ -530,6 +530,4 @@ Type=Application
|
|||
Name=Tigervnc
|
||||
Exec=x0vncserver -rfbauth /etc/tigervnc/passwd
|
||||
EOF
|
||||
echo "Setting VNC password /etc/tigervnc/passwd to ${_VNC_PW} ..."
|
||||
echo "${_VNC_PW}" | vncpasswd -f > /etc/tigervnc/passwd
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue