|
|
Use Xnest to run X11 sessions in a window
vikingshelmut:
It's likely that xinit is not in your PATH. Type echo $PATH at the prompt and see if /usr/X11R6/bin is in there. If not, you'll need to add it or specify the path explicitly. If that sounds like gibberish, you really need to read a basic unix tutorial because you're getting into waters that are over your head. (However, it's easy to learn to swim!) I'm sure Rob has some hints that point to such tutorials... ---
PATH doesn't seem to be an issue for me
I am familiar with adding directories to my path, however if I just cd into the /usr/X11R6/bin directory and try to execute the command, bash says xinit is not a command. This is what I don't understand. Again, my previous post has what was originally listed as a script:
PATH doesn't seem to be an issue for me
the more modern unix variants wont execute a file if its in your current working directory ( because its not in your PATH by default ). Only commands which are in your PATH are searched and executed. You have to explicitly tell the system where it is:
You can, however add the current directory to your PATH. Then it will work like you expected, example for tcsh:
PATH doesn't seem to be an issue for me
Take note, however, that adding the current working directory to your $PATH is a serious security risk. If someone finds a way to put a file named 'ls' somewhere on your drive (maybe through guest access/file sharing), and you type ls in that folder as root, then you have excecuted their script as root. This is not a good idea. Just put ./ in front of the filename if you want to run something in the local directory. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|