• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

X11 and Terminal.app in OS X

htmlmasterdave

Golden Member
How would I be able to do this? So whenever X11 is running I'm still able to use the Terminal.app program for X forwarding instead of having to use xterm.

Thanks!

Dave
 
Just launch then from the Terminal...like I'd like to be able to launch emacs from there and get the X11 version to come up, or to be able to ssh to a server with the X11 forwarding enabled and get back the windows when I run stuff from there.
 
You can use "open-x11" (sans quotes) to do that. So if you wanted to launch emacs in X11, you'd type

open-x11 emacs

I have very little experience with ssh, so I'm not sure about the other stuff, but it's a start.
 
Is it just that Terminal is unaware that X11 is running? Could it be something like a configuration file that needs editing telling it to look at localhost or something for X? Thanks for the open-x11 tip 🙂
 
Originally posted by: htmlmasterdave
Is it just that Terminal is unaware that X11 is running? Could it be something like a configuration file that needs editing telling it to look at localhost or something for X?

Sort of. You have to set the DISPLAY variable in Terminal to get it to work with X11 so something like

export DISPLAY=0.0

would get it to work. But that could conceivably cause problems in certain situations (from what I've read; my own unix-fu isn't that good enough to fully grasp it yet).
 
Wow, I didn't know Terminal.app was X aware... Nice, thanks for the info!

Setting the DISPLAY shouldn't have any bad effects, its normal for *nix systems.
 
Back
Top