You are not logged in.
Pages: 1
Hello everybody!
I'm new to SliTaz but I already love it!
I have some troubles trying to install TightVNC, I get-installed these three packages by using TazPanel:
- tightvnc
- tightvnc-extra
- tightvnc-viewer
But when I try to start the server, by running the "vncserver" script, I get the following error:
------------------------------------------------------------------------
root@slitaz:/home/tux# /usr/bin/vncserver
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
29/04/12 14:09:39 Xvnc version TightVNC-1.3.10
29/04/12 14:09:39 Copyright (C) 2000-2009 TightVNC Group
29/04/12 14:09:39 Copyright (C) 1999 AT&T Laboratories Cambridge
29/04/12 14:09:39 All Rights Reserved.
29/04/12 14:09:39 See http://www.tightvnc.com/ for information on TightVNC
29/04/12 14:09:39 Desktop name 'X' (slitaz:1)
29/04/12 14:09:39 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
29/04/12 14:09:39 Listening for VNC connections on TCP port 5901
29/04/12 14:09:39 Listening for HTTP connections on TCP port 5801
29/04/12 14:09:39 URL http://slitaz:5801
_FontTransSocketUNIXConnect: Can't connect: errno = 2
failed to set default font path 'unix/:7100'
Fatal server error:
could not open default font 'fixed'
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
29/04/12 14:09:40 Xvnc version TightVNC-1.3.10
29/04/12 14:09:40 Copyright (C) 2000-2009 TightVNC Group
29/04/12 14:09:40 Copyright (C) 1999 AT&T Laboratories Cambridge
29/04/12 14:09:40 All Rights Reserved.
29/04/12 14:09:40 See http://www.tightvnc.com/ for information on TightVNC
29/04/12 14:09:40 Desktop name 'X' (slitaz:1)
29/04/12 14:09:40 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
29/04/12 14:09:40 Listening for VNC connections on TCP port 5901
29/04/12 14:09:40 Listening for HTTP connections on TCP port 5801
29/04/12 14:09:40 URL http://slitaz:5801
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
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/75dpi/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring
Fatal server error:
could not open default font 'fixed'
------------------------------------------------------------------------
I don't know exactly what "fontPath" is, can anyone help me please?
Thank you very much in advance,
Lexis
Offline
Symlink to SliTaz fonts and rgb.txt
Open terminal,su, Password: root
mkdir -p /usr/X11R6/lib/X11/fonts
ln -s /usr/share/fonts/X11/misc /usr/X11R6/lib/X11/fonts
ln -s /usr/share/X11/rgb.txt /usr/X11R6/lib/X11
As regular user start vnc server
vncserver
Enter password required for client connection.
tux@slitaz:~$ vncserver
xauth: /home/tux/.Xauthority not writable, changes will be ignored
xauth: error in locking authority file /home/tux/.Xauthority
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
New 'X' desktop is slitaz:1
Starting applications specified in /home/tux/.vnc/xstartup
Log file is /home/tux/.vnc/slitaz:1.log
Verify vncserver is running:
tux@slitaz:~$ pgrep -l Xvnc
879 Xvnc
vncserver is working regardless of error messages
As regular user stop vnc server:
vncserver -kill slitaz:1
Configure xstartup
leafpad /home/tux/.vnc/xstartup
[c]#!/bin/sh
openbox-session &
pcmanfm -d &[/c]
Save/Quit
Start vncserver
Connect with client:
vncviewer <i.p. address of server>:5901
Offline
Wow!! I'm impressed :-)
Thank you very much for your answer, it works!
If you have time, I have two more questions:
- Is it possible to have the same X session on VNC viewer than the one visible on the computer's screen? Like VNC on Microsoft Windows.
- Is it possible to start VNC automatically at startup?
Thank you again!
Lexis
Offline
Thanks Mojo, your "Configure xstartup" instructions allowed me to view full desktop.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]