LinuxQuestions.org
Help answer threads with 0 replies.
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 08-01-2015, 09:48 AM   #1
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Rep: Reputation: Disabled
xvfb-run command not found


I need to use the command xvfb-run for a particular piece of software. I have the xvfb package installed (its xorg-server-xvfb). Trying xvfb-run returns command not found, searching for xvfb-run shows that it is in, /usr/sbo/games/megaglest and if I chmod +x xvfb-run I can do ./xvfb-run however still typing xvfb-run outside of this directory does not work. Do I need to create a system link or something?
 
Old 08-01-2015, 10:06 AM   #2
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Try:

Code:
$ Xvfb
 
Old 08-01-2015, 12:44 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Altiris, it's time for you to learn the basics of Linux and in that aim, to do some reading. You can visit http://www.tldp.org/ and http://docs.slackware.com, it's free.

For instance to understand why you sometimes need to type the full path to a program, see http://docs.slackware.com/howtos:cli_manual:shells.
 
Old 08-01-2015, 03:20 PM   #4
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Altiris, it's time for you to learn the basics of Linux and in that aim, to do some reading. You can visit http://www.tldp.org/ and http://docs.slackware.com, it's free.

For instance to understand why you sometimes need to type the full path to a program, see http://docs.slackware.com/howtos:cli_manual:shells.
I don't know why me asking xvfb-run made you think I needed to read something. Every other distro I have tried (Debian, CentOS, ubuntu, arch ,etc) all use the xvfb-run command, it didn't come to my mind at all to simply try Xvfb, especially with a capital X. Using the locate command for xvfb also does not show /usr/bin/Xvfb but doing "locate Xvfb did"...again I would never try with a capital X as I have never encountered a capitalized letter in an executable file with various linux distros. That slackware document did show how to make it so it'll show the hostname and directory for local users which is helpful, although majority of the beginning I already knew about.
 
Old 08-01-2015, 03:44 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
You should have known that if ./xvfb-run works from /usr/sbo/games/megaglest but not typed xvfb-run, then you could have either made a symlink to /usr/sbo/games/megaglest/xvfb-run ar added /usr/sbo/games/megaglest to your PATH to solve the issue. That's something very basic.

But that's not only this thread that makes me think that you need to learn the basics, but also other threads of yours in which I have answered like this one, this one or this other one., considering that you had already asked a very similar question in that one and you got answers.

This being said, you are of course free not to follow my advice.

I will add that you will learn faster sticking with a distribution than trying many. But you are not obliged to follow this other advice either.

Last edited by Didier Spaier; 08-02-2015 at 12:38 AM.
 
1 members found this post helpful.
Old 08-01-2015, 04:09 PM   #6
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
You should have known that if ./xvfb-run works from /usr/sbo/games/megaglest but not typed xvfb-run, then you could have either made a symlink to /usr/sbo/games/megaglest/xvfb-run ar added /usr/sbo/games/megaglest to your PATH to solve the issue. That's something very basic.

But that's not only this thread that makes me think that you need to learn the basics, but also other thread of yours in which I have answered like this one, this one or this other one., considering that you had already asked a very similar question in that one and you got answers.

This being said, you are of course free not to follow my advice.

I will add that you will learn faster sticking with a distribution than trying many. But you are not obliged to follow this other advice either.
I wrote about should I make a sym link in OP though I wasn't sure if there was something I was missing, which in short I was, as the command in Slackware is just Xvfb and not xvfb-run.

Most of my questions are simply me not being able to comprehend the documentation or about what is better/worse/advantages/disadvantages. I am only 17 and although I have a lot of time on my hands, I wouldn't like to make it all with reading/learning about Slackware (eh really I would but parents don't let me). If I have the opportunity to get feedback from someone else who might be able to give me a more "hand-held" explanation I would prefer that as more than likely I understand that better than the documentation. I am not trying to go against you, simply that I felt pointing me to documentation that really didn't pertain to what I was asking was just weird and wasn't going to help me.
 
  


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
xvfb-run Command not found pravin_bluebird Fedora 4 09-22-2009 04:46 AM
Xvfb linux command line. zimma Linux - Software 0 04-26-2009 05:41 AM
Trying to run Gnome from the command line and getting startx not found sneaky Linux - Newbie 6 08-28-2008 06:15 AM
Shell: command not found / Runs fine with "Run command" badbunny Linux - Newbie 1 01-22-2007 01:21 AM
Run Time Error- CLS command not found ashwinipahuja Programming 1 05-15-2004 12:50 AM

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

All times are GMT -5. The time now is 09:47 AM.

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