Re: Viewing Client Output on the Server
Re: Viewing Client Output on the Server
- Subject: Re: Viewing Client Output on the Server
- From: Brandon Allbery <email@hidden>
- Date: Sun, 06 Jan 2013 21:24:54 -0500
On Sun, Jan 6, 2013 at 6:06 PM, James K. Lowden
<email@hidden> wrote:
On Sat, 05 Jan 2013 13:43:40 -0800
Sy Bensky <
email@hidden> wrote:
> The DISPLAY environment variable on the server looks something like
> this:
>
> DISPLAY=/tmp/launch-DsqMKv/org.macosforge.xquartz:0
>
> The DISPLAY environment variable on the client is:
>
> DISPLAY=:0.0
I don't quite understand what you mean. I think you mean that the
server and client have those values in configuration files somewhere?
Yes; usually it's in ~/.profile or ~/.bash_profile (or sometimes ~/.bashrc although it doesn't belong there), because Linux users often want to force it to be set. It's not the smartest idea even on Linux consoles, and it's a really *bad* idea if you are on OS X or if you use ssh's X11 forwarding because it overwrites the system-provided value that is needed for OS X's X11 autostart or ssh's X11 forwarding to work.
And yes, this *is* something forcing $DISPLAY to a bad value and not some mis-set ssh option; it would have the ssh forwarding socket in that case even if said socket is disabled due to ssh options.
--
brandon s allbery kf8nh sine nomine associates
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden