kanotix.com

Software - How to run a VNC server?

raid517 - 23.05.2006, 12:17 Uhr
Titel: How to run a VNC server?
Hi, I installed a package from the debian repositories called 'vncserver.' Not very discriptive I know, because it doesn't say which vncserver it is, but in any case it seemed to fit the bill for what I needed.

The problem is though that whenever I try to run it, I get a fatal vncserver crash, and it quits complainig about not being able to find quite a few font paths on my system.

I have updated to the latest xorg build and I did run the fix-fonts script and the 'fix-xorg7" script - but both of these also produced errors relating to missing fonts:

Code:
#./fix-xorg7.sh
Reading package lists... Done
Building dependency tree... Done
xserver-xorg is already the newest version.
mesa-utils is already the newest version.
xkb-data is already the newest version.
fix-fonts is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
pcf processing... /usr/X11R6/lib/X11/fonts/75dpi
pcf processing... /usr/X11R6/lib/X11/fonts/misc
ttf processing... /usr/share/fonts
ttf processing... /usr/share/fonts/truetype/alee
ttf processing... /usr/share/fonts/truetype/arphic
ttf processing... /usr/share/fonts/truetype/baekmuk
ttf processing... /usr/share/fonts/truetype/dustin
ttf processing... /usr/share/fonts/truetype/freefont
ttf processing... /usr/share/fonts/truetype/itrans-fonts
ttf processing... /usr/share/fonts/truetype/kochi
ttf processing... /usr/share/fonts/truetype/latex-xft-fonts
ttf processing... /usr/share/fonts/truetype/mikachan
ttf processing... /usr/share/fonts/truetype/msttcorefonts
ttf processing... /usr/share/fonts/truetype/openoffice
ttf processing... /usr/share/fonts/truetype/sazanami
ttf processing... /usr/share/fonts/truetype/sjfonts
ttf processing... /usr/share/fonts/truetype/thai
ttf processing... /usr/share/fonts/truetype/ttf-arabeyes
ttf processing... /usr/share/fonts/truetype/ttf-bengali-fonts
ttf processing... /usr/share/fonts/truetype/ttf-bitstream-vera
ttf processing... /usr/share/fonts/truetype/ttf-bpg-georgian
ttf processing... /usr/share/fonts/truetype/ttf-dejavu
ttf processing... /usr/share/fonts/truetype/ttf-devanagari-fonts
Invalid_File_Format
open failed: ./kalimati.ttf
ttf processing... /usr/share/fonts/truetype/ttf-dzongkha
ttf processing... /usr/share/fonts/truetype/ttf-farsiweb
ttf processing... /usr/share/fonts/truetype/ttf-gentium
ttf processing... /usr/share/fonts/truetype/ttf-gujarati-fonts
ttf processing... /usr/share/fonts/truetype/ttf-junicode
ttf processing... /usr/share/fonts/truetype/ttf-kacst
ttf processing... /usr/share/fonts/truetype/ttf-kannada-fonts
ttf processing... /usr/share/fonts/truetype/ttf-khmeros
ttf processing... /usr/share/fonts/truetype/ttf-lao
ttf processing... /usr/share/fonts/truetype/ttf-larabie-deco
ttf processing... /usr/share/fonts/truetype/ttf-larabie-straight
ttf processing... /usr/share/fonts/truetype/ttf-larabie-uncommon
ttf processing... /usr/share/fonts/truetype/ttf-malayalam-fonts
Invalid_File_Offset
open failed: ./Racotf04.ttf
ttf processing... /usr/share/fonts/truetype/ttf-mgopen
ttf processing... /usr/share/fonts/truetype/ttf-mph-2b-damase
ttf processing... /usr/share/fonts/truetype/ttf-oriya-fonts
ttf processing... /usr/share/fonts/truetype/ttf-paktype
ttf processing... /usr/share/fonts/truetype/ttf-punjabi-fonts
ttf processing... /usr/share/fonts/truetype/ttf-tamil-fonts
ttf processing... /usr/share/fonts/truetype/ttf-telugu-fonts
ttf processing... /usr/share/fonts/truetype/ttf-xfree86-nonfree
ttf processing... /usr/share/fonts/truetype/unfonts
ttf processing... /usr/share/fonts/truetype/uralic
ttf processing... /usr/share/fonts/ttf/decoratives
ttf processing... /usr/share/fonts/ttf/western
pcf processing... /usr/share/fonts/X11/100dpi
warning: /usr/lib/X11/fonts/100dpi does not exist or is not a directory
warning: /usr/lib/X11/fonts/100dpi does not exist or is not a directory
pcf processing... /usr/share/fonts/X11/75dpi
pcf processing... /usr/share/fonts/X11/cyrillic
warning: /etc/X11/fonts/cyrillic does not exist or is not a directory
warning: /usr/lib/X11/fonts/cyrillic does not exist or is not a directory
warning: /etc/X11/fonts/cyrillic does not exist or is not a directory
warning: /usr/lib/X11/fonts/cyrillic does not exist or is not a directory
pcf processing... /usr/share/fonts/X11/misc
install-fglrx-debian.sh...current version
install-kernel-source-vanilla.sh...current version
install-nvidia-debian.sh...current version
update-scripts-kanotix.sh...no update available


Code:
#fix-fonts
pcf processing... /usr/X11R6/lib/X11/fonts/75dpi
pcf processing... /usr/X11R6/lib/X11/fonts/misc
ttf processing... /usr/share/fonts
ttf processing... /usr/share/fonts/truetype/alee
ttf processing... /usr/share/fonts/truetype/arphic
ttf processing... /usr/share/fonts/truetype/baekmuk
ttf processing... /usr/share/fonts/truetype/dustin
ttf processing... /usr/share/fonts/truetype/freefont
ttf processing... /usr/share/fonts/truetype/itrans-fonts
ttf processing... /usr/share/fonts/truetype/kochi
ttf processing... /usr/share/fonts/truetype/latex-xft-fonts
ttf processing... /usr/share/fonts/truetype/mikachan
ttf processing... /usr/share/fonts/truetype/msttcorefonts
ttf processing... /usr/share/fonts/truetype/openoffice
ttf processing... /usr/share/fonts/truetype/sazanami
ttf processing... /usr/share/fonts/truetype/sjfonts
ttf processing... /usr/share/fonts/truetype/thai
ttf processing... /usr/share/fonts/truetype/ttf-arabeyes
ttf processing... /usr/share/fonts/truetype/ttf-bengali-fonts
ttf processing... /usr/share/fonts/truetype/ttf-bitstream-vera
ttf processing... /usr/share/fonts/truetype/ttf-bpg-georgian
ttf processing... /usr/share/fonts/truetype/ttf-dejavu
ttf processing... /usr/share/fonts/truetype/ttf-devanagari-fonts
Invalid_File_Format
open failed: ./kalimati.ttf
ttf processing... /usr/share/fonts/truetype/ttf-dzongkha
ttf processing... /usr/share/fonts/truetype/ttf-farsiweb
ttf processing... /usr/share/fonts/truetype/ttf-gentium
ttf processing... /usr/share/fonts/truetype/ttf-gujarati-fonts
ttf processing... /usr/share/fonts/truetype/ttf-junicode
ttf processing... /usr/share/fonts/truetype/ttf-kacst
ttf processing... /usr/share/fonts/truetype/ttf-kannada-fonts
ttf processing... /usr/share/fonts/truetype/ttf-khmeros
ttf processing... /usr/share/fonts/truetype/ttf-lao
ttf processing... /usr/share/fonts/truetype/ttf-larabie-deco
ttf processing... /usr/share/fonts/truetype/ttf-larabie-straight
ttf processing... /usr/share/fonts/truetype/ttf-larabie-uncommon
ttf processing... /usr/share/fonts/truetype/ttf-malayalam-fonts
Invalid_File_Offset
open failed: ./Racotf04.ttf


and if I try to run vncserver:

Code:
Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xtightvnc process.

MAXSOCKS=1000
23/05/06 12:11:46 Xvnc version 3.3.tight1.2.9
23/05/06 12:11:46 Copyright (C) 1999 AT&T Laboratories Cambridge.
23/05/06 12:11:46 Copyright (C) 2000-2002 Constantin Kaplinsky.
23/05/06 12:11:46 All Rights Reserved.
23/05/06 12:11:46 See http://www.uk.research.att.com/vnc for information on VNC
23/05/06 12:11:46 See http://www.tightvnc.com for TightVNC-specific information
23/05/06 12:11:46 Desktop name 'X' (linux1:1)
23/05/06 12:11:46 Protocol version supported 3.3
23/05/06 12:11:46 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/Type1' not found - ignoring

Fatal server error:
could not open default font 'fixed'
MAXSOCKS=1000
23/05/06 12:11:47 Xvnc version 3.3.tight1.2.9
23/05/06 12:11:47 Copyright (C) 1999 AT&T Laboratories Cambridge.
23/05/06 12:11:47 Copyright (C) 2000-2002 Constantin Kaplinsky.
23/05/06 12:11:47 All Rights Reserved.
23/05/06 12:11:47 See http://www.uk.research.att.com/vnc for information on VNC
23/05/06 12:11:47 See http://www.tightvnc.com for TightVNC-specific information
23/05/06 12:11:47 Desktop name 'X' (linux1:1)
23/05/06 12:11:47 Protocol version supported 3.3
23/05/06 12:11:47 Listening for VNC connections on TCP port 5901
Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring

Fatal server error:
could not open default font 'fixed'


So again, I seem to have some pretty big font path issues. (I wonder if this might explain why it takes xorg so long to start up too? I have a 3.4GHZ machine with 1GB of RAM - but sometimes it takes as long as 6 minutes for KDM and xorg to start (and that is after the rest of the system has fully booted).

Does anyone have any suggestions on how to fix this?

GJ
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007