|
|
A workaround for X11 sharing by multiple users
In contrast to the strong opinion of some posters I need to say that this is not a bad idea.
The problem with open-x11 (which is just a wrapper script around "open -a X11 xapp" BTW) is that you cannot pass command line arguments to the application. Say you want to load the file bla.txt in emacs or bla.ps in gv. This is not possible with open-x11.
Here is a Bourne shell compatible version of the above code:
I have written an open-x11 replacment "open-xapp" which is available from
http://lionel.kr.hs-niederrhein.de/~dalitz/data/software/macosx/open-xapp
A workaround for X11 sharing by multiple users
Wrap the code above in logic to check if $DISPLAY is already set first. This way you can be logged into your Mac using x11 and can also ssh in remotely from another machine and have x11 display properly both locally and remotely. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks 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.08 seconds |
|