ฉันติดตั้ง VNC โดยใช้
sudo apt-get install xfce4 xfce4-goodies tightvncserver
แต่ฉันไม่สามารถเริ่มได้เมื่อฉันเข้า
vncserver
ฉันได้รับข้อความแสดงข้อผิดพลาดเป็น
Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xtightvnc process.
15/07/15 18:59:34 Xvnc version TightVNC-1.3.9
15/07/15 18:59:34 Copyright (C) 2000-2007 TightVNC Group
15/07/15 18:59:34 Copyright (C) 1999 AT&T Laboratories Cambridge
15/07/15 18:59:34 All Rights Reserved.
15/07/15 18:59:34 See http://www.tightvnc.com/ for information on TightVNC
15/07/15 18:59:34 Desktop name 'X' (vultr.guest:1)
15/07/15 18:59:34 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
15/07/15 18:59:34 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/misc/' 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'
15/07/15 18:59:35 Xvnc version TightVNC-1.3.9
15/07/15 18:59:35 Copyright (C) 2000-2007 TightVNC Group
15/07/15 18:59:35 Copyright (C) 1999 AT&T Laboratories Cambridge
15/07/15 18:59:35 All Rights Reserved.
15/07/15 18:59:35 See http://www.tightvnc.com/ for information on TightVNC
15/07/15 18:59:35 Desktop name 'X' (vultr.guest:1)
15/07/15 18:59:35 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
15/07/15 18:59:35 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'
ฉันได้แก้ไขปัญหาหนึ่งโดยเพิ่มชื่อโฮสต์ในไฟล์โฮสต์ แต่ยังคงมีข้อผิดพลาดอื่น ๆ โปรดช่วยด้วย
sudo apt-get install xfonts-base
และsudo apt-get install xfonts-100dpi
และsudo apt-get install xfonts-75dpi
แก้ไขปัญหาแบบอักษร
xfonts-base
แพ็คเกจซึ่งแนะนำสำหรับtightvncserver
: คุณติดตั้งด้วย--no-install-recommends
หรือไม่