LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-04-2011, 11:03 AM   #1
stevet2048
LQ Newbie
 
Registered: Dec 2010
Posts: 18

Rep: Reputation: 0
Installation difficulties with x11vnc on Slack 13.1


Hello,

I've been wrestling with this one for a couple of days and I'm chasing my tail. Hoping I can get some help. I'm not a Slack guru, but not a total newbie (or maybe I am...:-)

Trying to make my Slack machine remotely accessible before installing (I hope) virtualbox. Looked around slackbuilds.org and figured I'd try using the script there to install x11vnc. So, downloaded the script and sourcecode and proceeded. All seemed to go well. The script generated the package 'x11vnc-0.9.10-x86_64-1_SBo.tgz' which I installed using 'pkgtool'.

When the installation was apparently complete I 'verified' installation by opening pkgtool, selecting 'Remove' and observing that x11vnc-0.9.10 appeared in the list of packages eligible for removal.

According the the x11vnc website (http://www.karlrunge.com/x11vnc/) the next step is to issue the command on the vnc box: 'x11vnc -display :0'. When I did that I was advised that “bash: x11vnc: command not found”.

Anybody got a quick idea about what I'm doing wrong?

Cheers,
st
 
Old 09-04-2011, 11:37 AM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Well, look in the file /var/log/packages/x11vnc-0.9.10-x86_64-1_SBo to see where the x11vnc command is installed. If that directory isn't in your PATH environment variable, you'll have to give the full path to the executable.
 
Old 09-05-2011, 07:16 AM   #3
stevet2048
LQ Newbie
 
Registered: Dec 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Following the suggestion, I issued a 'less /var/log/packages/x11vnc-0.9.10-x86_64-1_SBo' and got this:
<some output omitted>
FILE LIST:
./
usr/
usr/doc/
usr/doc/x11vnc-0.9.10/
usr/doc/x11vnc-0.9.10/x11vnc.SlackBuild
install/
install/slack-desc

Added /usr/doc to my PATH and verified that was successful using 'set | grep PATH'. Still no help. Issued a 'find / -name x11vnc*' from root and got this:

root@petraeus:/# find / -name x11vnc*
/tmp/x11vnc-0.9.10-x86_64-1_SBo.tgz
/tmp/SBo/package-x11vnc/usr/doc/x11vnc-0.9.10
/tmp/SBo/package-x11vnc/usr/doc/x11vnc-0.9.10/x11vnc.SlackBuild
/var/log/packages/x11vnc-0.9.10-x86_64-1_SBo
/xvncbuild/x11vnc
/xvncbuild/x11vnc/x11vnc.info
/xvncbuild/x11vnc/x11vnc.SlackBuild
/xvncbuild/x11vnc.tar.gz
/root/x11vnc-0.9.10.tar.gz
/root/x11vnc.tar.gz
/usr/doc/x11vnc-0.9.10
/usr/doc/x11vnc-0.9.10/x11vnc.SlackBuild

Added /xnvcbuild and /xvncbuild/x11vnc to my PATH and verified it was there as follows:

root@petraeus:/# set | grep xvncbuild
OLDPWD=/xvncbuild
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/doc:/xvncbuild:/xvncbuild/x11vnc
PWD=/xvncbuild/x11vnc

Still, when I issue the command x11vnc -display :0, I get

root@petraeus:/xvncbuild/x11vnc# x11vnc -display :0
bash: x11vnc: command not found

How can I verify the build process worked correctly?
 
Old 09-05-2011, 11:09 AM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
It is quite rare for a package to install the main executable in anything other than a directory named "bin" or "sbin". I'd say that your slackbuild didn't succeed for one reason or another.

Please uninstall the package that you've made and re-run the slackbuild script again. Post the output of the slackbuild script here and we'll take a look at it.
 
Old 09-05-2011, 01:17 PM   #5
stevet2048
LQ Newbie
 
Registered: Dec 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up SOLVED - Installation difficulties with x11vnc on Slack 13.1

I am typing this response from a VNC session established with my Linux Slackware box. I reinstalled x11vnc using the slackbuilds script and it worked. Regret to admit this was a PEBKAC error; specifically that I did not put the source code in the correct location the first few times I tried to install it. Thanks and apologies!
 
  


Reply



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
difficulties with samba config on slack 13.0 SOLVED unclejed613 Slackware 2 03-14-2011 05:35 PM
RPM installation difficulties (I think) sacredchao Linux - Software 4 03-29-2007 12:15 AM
Installation Difficulties no matter what distro i try Tadaen Linux - Newbie 4 09-01-2006 09:33 PM
kde installation difficulties ewt3y Linux - Distributions 2 07-13-2005 03:33 AM
Sarge installation difficulties howarddevore Debian 7 05-21-2005 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:02 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
Open Source Consulting | Domain Registration