From 7b325f06cae473b559713da7ce64ee7ff747b42d Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Sun, 22 Oct 2023 23:13:51 +0800 Subject: [PATCH] xconf: usr/local/static --- ubt-core/src/xconf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ubt-core/src/xconf.sh b/ubt-core/src/xconf.sh index f2cc980..ee564b6 100644 --- a/ubt-core/src/xconf.sh +++ b/ubt-core/src/xconf.sh @@ -114,8 +114,8 @@ $RUN \ sed -i "s^OSH_THEME=\"font\"^OSH_THEME=\"axin\"^g" /home/headless/.bashrc; # link: Xvnc, vncpasswd -# $RUN rm -f /usr/bin/Xvnc; ln -s /usr/local/tigervnc/bin/Xvnc /usr/bin/Xvnc; \ -# rm -f /usr/bin/vncpasswd; ln -s /usr/local/tigervnc/bin/vncpasswd /usr/bin/vncpasswd; +$RUN rm -f /usr/bin/Xvnc; ln -s /usr/local/static/bin/Xvnc /usr/bin/Xvnc; \ + rm -f /usr/bin/vncpasswd; ln -s /usr/local/static/bin/vncpasswd /usr/bin/vncpasswd; # for core: avoid multi> 'dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session'; #(headless x2, root x1) kill -9 `ps -ef |grep dbus |grep -v grep |awk '{print $2}'` \ No newline at end of file