Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A workaround for X11 sharing by multiple users' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A workaround for X11 sharing by multiple users
Authored by: EccentricAnomaly on Aug 17, '04 11:17:22AM
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):


if (! $?DISPLAY) then
  setenv DISPLAY :0
endif

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.



[ Reply to This | # ]