How to run _X_ Session from RH8 via ssh -X?
Doug VanLeuven
roamdad@sonic.net
Fri Mar 17 22:30:00 GMT 2006
Siegfried Heintze wrote:
>>> [snip]
>>> Why does /usr/X11R6/bin/xclock still say "Error can't open display:"?
>> That looks like an explicit unsetting of DISPLAY, i.e. somewhere, probably
> your
>> .profile/.bashrc/.bash_profile, has a "unset DISPLAY".
>>
>> Starting in Cygwin:
>> $ echo $DISPLAY
>> :0
>> $ ssh -X root@x.y.z
>> # echo $DISPLAY
>> localhost:10.0
>>
>> Notice that ssh created a pseudo display that will be used to tunnel the X
>> protocol back to your local X server.
>
> I did
> ssh -X Administrator@x.y.z
> ls -A -1 | xargs grep -n DISPLAY *
> echo $DISPLAY
>
> The only place DISPLAY occurred (in the output) was in the .bash_history
> file. Echo $DISPLAY gave a blank line only.
>
> Any other suggestions?
On linux system:
/etc/ssh/sshd_config
X11Forwarding yes
/etc/ssh/ssh_config
ForwardX11 yes
On cygwin system:
/etc/defaults/etc/sshd_config
X11Forwarding yes
/etc/defaults/etc/ssh_config
ForwardX11 yes
Doug
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
More information about the Cygwin-xfree
mailing list