|
|
A workaround for X11 sharing by multiple users
Sorry, but this looks like a Really Bad Idea (tm)!!
A workaround for X11 sharing by multiple users
I have to concur this hint is a REALLY BAD IDEA.
A little tact would go a long way (was: workaround for X11 sharing by multiple users)
I'm sorry, where is it written that submissions to this site need to come from some sysadmin guru with 200 years experience? You make some VERY valid points about how DISPLAY settings can get you into trouble, but please, this site is called macosxHINTS.com, not bloody macos-snotty-mightier-than-thou-gurus.com. Don't discourage new members (like myself!) from posting with this kind of negative comback. We want posts, posters, and user experiences on this site, right?
A little tact would go a long way (was: workaround for X11 sharing by multiple users)
Ah! A discussion thread I have never seen before ;)
A little tact would go a long way (was: workaround for X11 sharing by multiple users)
I am not a sys admin (obvious by now ;). Why anyone would assume so perplexes me since this great site is an open public forum. I am an academic research scientist who studies viruses using biophysical methods, and a long time unix end user. My lab works on a stricly limited budget and can not employ a sys admin. So it is left to those of us willing to take on new enterprises (usually at personal cost) to extend our capabilities and solve some of our impediments. This is why I read this site and posted this hint here - like the great variety of non-admins out there I was looking for helpful discussion. I did look for the answer to my problem for the amount of time I could afford, and didn't run across the answer. Indeed, the capability I look for doesn't appear to exist. The open-x11 command is very close though and I will make use of it.
A workaround for X11 sharing by multiple users
You still disagree, you think you have a nice script to figure it out in the hint, but you are wrong. Imagine that you ssh into a machine and wish to have your X11 connection forwarded. The login script will blow away the value that DISPLAY has been set to by ssh. If you have to use telnet, the .telnetrc file lets you do a similar thing. A simple hack with the TERM variable and it works with rlogin/rsh/remsh as well. I do not even want to get into VMS.
humbug here's the solution to the ssh/telnet whatever problem (rewrite in your fav. shell):
You can use login like the poster's script where 'setenv DISPLAY :0' is to figure out what the DISPLAY should be set too. The point is that the Terminal app is not meant to run X11 apps from. Let your X11 environment set-up the X11 environment properly and run your X11 apps from there. poppycock! I run X apps from Terminal all of the time. I like the Terminal's split screen and I like the way you can search in the buffer. Terminal is miles better than xterm.
|
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.09 seconds |
|