ssh -Y -l user etc,etc

gene heskett gheskett at wdtv.com
Thu Feb 24 10:52:04 PST 2011


On Thursday, February 24, 2011 01:40:45 pm Pat Kane did opine:

> What does the following command show?
> 
>         ssh -Y -l your_name your_host  /usr/bin/env
> 
> Pat
> ---

Humm, this gets to demo a system problem since I started to use inotifywait 
for a file monitor.  And the only way to fix it is to discontinue using 
inotifywait in anything and then reboot.

Copy/paste from that screen:
============================
[gene at coyote log]$    ssh -Y -l gene coyote  /usr/bin/env
The authenticity of host 'coyote (127.0.0.1)' can't be established.
RSA key fingerprint is [expunged]
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'coyote' (RSA) to the list of known hosts.
gene at coyote's password: 
SHELL=/bin/bash
SSH_CLIENT=127.0.0.1 43178 22
USER=gene
MAIL=/var/mail/gene
PATH=/usr/local/bin:/bin:/usr/bin
PWD=/home/gene
SHLVL=1
HOME=/home/gene
LOGNAME=gene
SSH_CONNECTION=127.0.0.1 43178 127.0.0.1 22
DISPLAY=localhost:10.0
_=/usr/bin/env
======================
the above response text is painted in the background color, black, so its 
just so much black screen, hence:
=========================
[gene at coyote log]$ ^C
[gene at coyote log]$    ssh -Y -l gene coyote  /usr/bin/env
gene at coyote's password: 
SHELL=/bin/bash
SSH_CLIENT=127.0.0.1 43179 22
USER=gene
MAIL=/var/mail/gene
PATH=/usr/local/bin:/bin:/usr/bin
PWD=/home/gene
SHLVL=1
HOME=/home/gene
LOGNAME=gene
SSH_CONNECTION=127.0.0.1 43179 127.0.0.1 22
DISPLAY=localhost:10.0
_=/usr/bin/env
==================

So that probably explains where the 10.0 is coming from, but not where I 
might change it?  That seems to be the $64k question...

Thanks Pat.

[huge snip]

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
<http://tinyurl.com/ddg5bz>
Do what comes naturally.  Seethe and fume and throw a tantrum.



More information about the xorg mailing list