TightVNC 服务器有点问题。
刚刚tightvncserver
在 Ubuntu 18.04 上安装了软件包,但它在启动会话时立即崩溃:
06/11/19 18:40:25 Xvnc version TightVNC-1.3.10
06/11/19 18:40:25 Copyright (C) 2000-2009 TightVNC Group
06/11/19 18:40:25 Copyright (C) 1999 AT&T Laboratories Cambridge
06/11/19 18:40:25 All Rights Reserved.
06/11/19 18:40:25 See http://www.tightvnc.com/ for information on TightVNC
06/11/19 18:40:25 Desktop name 'X' (srv:1)
06/11/19 18:40:25 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
06/11/19 18:40:25 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
/etc/X11/Xvnc-session: 6: /etc/X11/Xvnc-session: vncconfig: not found
Killing Xtightvnc process ID 2428
/etc/X11/Xvnc-session
看起来很标准:
#! /bin/sh
test x"$SHELL" = x"" && SHELL=/bin/bash
test x"$1" = x"" && set -- default
vncconfig -iconic &
$SHELL -l <<EOF
exec /etc/X11/Xsession "$@"
EOF
vncserver -kill $DISPLAY
我尝试重新安装 TightVNC 服务器,但没有帮助。
什么是 vncconfig?它不应该是 TightVNC 包的一部分吗?如果没有,我在哪里可以找到它?