On Mon, Aug 21, 2006 at 10:55:18AM -0700, kelsey hudson wrote:
> Lan Barnes wrote:
> >Here is my techinique for review and correction:
> >
> >1. On the client, I run "xhost +" for promiscuous acceptance
> >
> >2. On the server, I run "export DISPLAY=toto:0.0" to tell it where to
> >send output
> 
> That's not even tunneled.
> 
> Try this:
> 
> ssh -X oz -l root   # (you want to be root -- one of your errors was 
> permissions, and sudo/su fubar the X auth model)
> 
> then, magically,
> 
> xterm &   # (or something)
> 

[EMAIL PROTECTED] ~]$ ssh -X oz -l root
[EMAIL PROTECTED]'s password:
Last login: Mon Mar  6 09:19:14 2006
[EMAIL PROTECTED] ~]# wish
_X11TransSocketINETConnect() can't get address for localhost:6010: Name
or service not known
Application initialization failed: this isn't a Tk applicationcouldn't
connect to display "localhost:10.0"
% [EMAIL PROTECTED] ~]# echo $DISPLAY
localhost:10.0
[EMAIL PROTECTED] ~]# export DISPLAY=toto:0.0
[EMAIL PROTECTED] ~]# wish
Application initialization failed: this isn't a Tk applicationcouldn't
connect to display "toto:0.0"
% [EMAIL PROTECTED] ~]# xterm &
[1] 11994
[EMAIL PROTECTED] ~]# Warning: This program is an suid-root program or is being
run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running
the
program as a non-root user or by removing the suid bit on the
executable.
xterm Xt error: Can't open display: %s

[1]+  Exit 1                  xterm

-- 
Lan Barnes
Linux Guy, SCM Specialist     
Tcl/Tk Enthusiast 

If you can cause enough doubt on evolution, liberalism will die.
                - Terry Fox, Wichita Southern Baptist minister 


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to