Fatal server error: could not open default font 'fixed' 02/06/23 16:31:11 Xvnc version TightVNC-1.3.9 02/06/23 16:31:11 Copyright (C) 2000-2007 TightVNC Group 02/06/23 16:31:11 Copyright (C) 1999 AT&T Laboratories Cambridge 02/06/23 16:31:11 All Rights Reserved. 02/06/23 16:31:11 See http://www.tightvnc.com/ for information on TightVNC 02/06/23 16:31:11 Desktop name 'X' (linaro-alip:1) 02/06/23 16:31:11 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t 02/06/23 16:31:11 Listening for VNC connections on TCP port 5901 Font directory '/usr/share/fonts/X11/misc/' not found - ignoring Font directory '/usr/share/fonts/X11/Speedo/' not found - ignoring Font directory '/usr/share/fonts/X11/Type1/' not found - ignoring Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring Fatal server error: could not open default font 'fixed'
时间: 2023-09-06 17:10:00 浏览: 521
这个错误提示说明 VNC Server 无法找到默认字体 'fixed'。要解决这个问题,你可以尝试以下方法:
1. 安装 X fonts:在终端中输入以下命令:
```
sudo apt-get install xfonts-base
```
这会安装 X Window System 的基本字体。
2. 配置 X 资源:在终端中输入以下命令:
```
echo "xsetroot -solid grey" >> ~/.vnc/xstartup
echo "x-terminal-emulator -geometry 80x24+10+10 -ls -title \"$VNCDESKTOP Desktop\" &" >> ~/.vnc/xstartup
echo "x-window-manager &" >> ~/.vnc/xstartup
```
这会在 VNC Server 启动时配置 X 资源。
3. 重启 VNC Server:在终端中输入以下命令:
```
tightvncserver -kill :1
tightvncserver :1
```
然后再次尝试连接到 VNC Server,看是否能够正常工作。
阅读全文