LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   xvfb-run command not found (https://www.linuxquestions.org/questions/slackware-14/xvfb-run-command-not-found-4175549548/)

Altiris 08-01-2015 09:48 AM

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?

dslackw 08-01-2015 10:06 AM

Try:

Code:

$ Xvfb

Didier Spaier 08-01-2015 12:44 PM

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.

Altiris 08-01-2015 03:20 PM

Quote:

Originally Posted by Didier Spaier (Post 5399449)
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.

Didier Spaier 08-01-2015 03:44 PM

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.

Altiris 08-01-2015 04:09 PM

Quote:

Originally Posted by Didier Spaier (Post 5399508)
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.


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