LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2002, 06:17 PM   #1
ozric99
LQ Newbie
 
Registered: Dec 2002
Posts: 10

Rep: Reputation: 0
Unhappy Having trouble installing TightVNC


I'm trying to install TightVNC on a freshly installed Slackware8.1.

If I try to install the rpm, this appears:


error: failed dependencies:
XFree86 is needed by tightvnc-server-1.2.7-1
bash >= 2.0 is needed by tightvnc-server-1.2.7-1
/sbin/chkconfig is needed by tightvnc-server-1.2.7-1
/etc/init.d is needed by tightvnc-server-1.2.7-1
/bin/sh is needed by tightvnc-server-1.2.7-1
/bin/sh is needed by tightvnc-server-1.2.7-1
/bin/sh is needed by tightvnc-server-1.2.7-1
ld-linux.so.2 is needed by tightvnc-server-1.2.7-1
libc.so.6 is needed by tightvnc-server-1.2.7-1
libdl.so.2 is needed by tightvnc-server-1.2.7-1
libjpeg.so.62 is needed by tightvnc-server-1.2.7-1
libm.so.6 is needed by tightvnc-server-1.2.7-1
libnsl.so.1 is needed by tightvnc-server-1.2.7-1
libnss_files.so.2 is needed by tightvnc-server-1.2.7-1
libnss_nis.so.2 is needed by tightvnc-server-1.2.7-1
libX11.so.6 is needed by tightvnc-server-1.2.7-1
libXext.so.6 is needed by tightvnc-server-1.2.7-1
libz.so.1 is needed by tightvnc-server-1.2.7-1
/bin/bash is needed by tightvnc-server-1.2.7-1
/usr/bin/perl is needed by tightvnc-server-1.2.7-1
libc.so.6(GLIBC_2.0) is needed by tightvnc-server-1.2.7-1
libc.so.6(GLIBC_2.1) is needed by tightvnc-server-1.2.7-1
libc.so.6(GLIBC_2.1.3) is needed by tightvnc-server-1.2.7-1
libc.so.6(GLIBC_2.2) is needed by tightvnc-server-1.2.7-1
libm.so.6(GLIBC_2.0) is needed by tightvnc-server-1.2.7-1
libnsl.so.1(GLIBC_2.0) is needed by tightvnc-server-1.2.7-1



If I try to install from the .tar.gz, using the commands in the README file, this appears:

bash-2.05a# cd Xvnc/
bash-2.05a# ./configure
./configure: xmkmf: command not found
make: *** No targets specified and no makefile found. Stop.
./configure: xmkmf: command not found


I'm a complete linux newbie (obviously!) - am I doing something extremely stupid?

Thanks

Paul
 
Old 12-11-2002, 10:16 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
xmkmf is part of XFree86, have a look for it in /usr/X11R6/bin and if it's there add /usr/X11R6/bin to default system path in /etc/profile.
 
Old 12-12-2002, 12:16 AM   #3
ozric99
LQ Newbie
 
Registered: Dec 2002
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Aussie
xmkmf is part of XFree86, have a look for it in /usr/X11R6/bin and if it's there add /usr/X11R6/bin to default system path in /etc/profile.
I've just checked my path, and that already seems to be there:

bash-2.05a$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/kde/bin:/usr/lib/qt-3.0.4/bin:/usr/share/texmf/bin:.

bash-2.05a$ whereis xmkmf
xmkmf: /usr/X11R6/bin/xmkmf /usr/bin/X11/xmkmf /usr/X11/bin/xmkmf /usr/X11/man/man1/xmkmf.1x.gz


In /etc/profile, the following is already set, too:

PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"


Do you think it's worth trying to reinstall the OS? Maybe something went wrong initially.

Thanks

Paul
 
Old 12-12-2002, 12:30 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Try running ./configure as a user and see what happens.
 
Old 12-12-2002, 12:39 AM   #5
ozric99
LQ Newbie
 
Registered: Dec 2002
Posts: 10

Original Poster
Rep: Reputation: 0
bash-2.05a$ ./configure
./configure: config/cf/platform.def: Permission denied
./configure: config/cf/platform.def: Permission denied
./configure: config/cf/platform.def: Permission denied
./configure: config/cf/platform.def: Permission denied
imake -I../..//config/cf -DTOPDIR=../../ -DCURDIR=.
imake: Permission denied
imake: Cannot create temporary file Makefile.
Stop.
make: *** No targets specified and no makefile found. Stop.
mv -f Makefile Makefile.bak
mv: cannot create regular file `Makefile.bak': Permission denied
imake -I.//config/cf -DTOPDIR=./ -DCURDIR=.
imake: Permission denied
imake: Cannot create temporary file Makefile.
Stop.


btw, I'm running this in my home directory.. I assume that's not the problem?
 
Old 12-12-2002, 12:59 AM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
No, I'd say the problem is there are some files created when you did it as root that are causing the permission denied errors and the initial xmkmf: command not found error is caused by /usr/X11R6/bin not being in roots path.
 
Old 12-12-2002, 01:46 AM   #7
ozric99
LQ Newbie
 
Registered: Dec 2002
Posts: 10

Original Poster
Rep: Reputation: 0
You're going to hate me, but...

Okay, I deleted the directory and extracted the tar.gz again. Ran the install as a user, as described in the README, and it seemed to make and install ok. I've copied the vnc files to /usr/local/bin and ran the "vncserver".

--------------------------
bash-2.05a$ vncserver
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.

New 'X' desktop is paul-bp6:1

Starting applications specified in /home/paul/.vnc/xstartup
Log file is /home/paul/.vnc/paul-bp6:1.log
--------------------------

The log it generated is:

12/12/02 06:37:11 Xvnc version 3.3.tight1.2.7
12/12/02 06:37:11 Copyright (C) 1999 AT&T Laboratories Cambridge.
12/12/02 06:37:11 Copyright (C) 2000-2002 Constantin Kaplinsky.
12/12/02 06:37:11 All Rights Reserved.
12/12/02 06:37:11 See http://www.uk.research.att.com/vnc for information on VNC
12/12/02 06:37:11 See http://www.tightvnc.com for TightVNC-specific information
12/12/02 06:37:11 Desktop name 'X' (paul-bp6:1)
12/12/02 06:37:11 Protocol version supported 3.3
12/12/02 06:37:11 Listening for VNC connections on TCP port 5901
12/12/02 06:37:11 Listening for HTTP connections on TCP port 5801
12/12/02 06:37:11 URL http://paul-bp6:5801
_FontTransSocketUNIXConnect: Can't connect: errno = 2
failed to set default font path 'unix/:7100'
Fatal server error:
could not open default font 'fixed'
12/12/02 06:37:12 Xvnc version 3.3.tight1.2.7
12/12/02 06:37:12 Copyright (C) 1999 AT&T Laboratories Cambridge.
12/12/02 06:37:12 Copyright (C) 2000-2002 Constantin Kaplinsky.
12/12/02 06:37:12 All Rights Reserved.
12/12/02 06:37:12 See http://www.uk.research.att.com/vnc for information on VNC
12/12/02 06:37:12 See http://www.tightvnc.com for TightVNC-specific information
12/12/02 06:37:12 Desktop name 'X' (paul-bp6:1)
12/12/02 06:37:12 Protocol version supported 3.3
12/12/02 06:37:12 Listening for VNC connections on TCP port 5901
12/12/02 06:37:12 Listening for HTTP connections on TCP port 5801
12/12/02 06:37:12 URL http://paul-bp6:5801
xrdb: No such file or directory
xrdb: can't open file '/home/paul/.Xresources'



I've had a search on google but haven't come up with anything.


edit:
BTW, the vnc server script, .vnc/startup is:
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

Last edited by ozric99; 12-12-2002 at 01:51 AM.
 
Old 12-12-2002, 02:05 AM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You've got me with that one...I don't use vnc so I can't help you with specific vnc problems.
 
Old 12-12-2002, 03:14 AM   #9
ozric99
LQ Newbie
 
Registered: Dec 2002
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks muchly for your help thus far. I'll keep soldiering on
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Trouble! Drenerk Linux - Newbie 6 03-01-2005 01:30 PM
TightVNC trouble on Mandrake 10.1 shea1roh Mandriva 16 11-24-2004 11:17 AM
trouble with installing chaos_dragon Linux - Newbie 1 10-22-2004 03:38 PM
trouble installing rh 9.0 therealdeal316 Red Hat 2 03-11-2004 03:04 PM
Trouble installing Qt. Manyguns Linux - General 0 04-22-2002 10:24 PM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration