It's possible that the location for xauth can be different on the two 
machines.  If you did compile ssh with x11 capability, it needs to 
find the 'xauth' program on the sshd machine.

Check that xauth is actually in /usr/openwin/bin as it sometimes gets 
put into /usr/openwin/bin/xview.

If that is the case, put the XAuthLocation entry into your 
sshd_config file with the appropriate location of xauth.

steve

>You need to make sure that you've compiled ssh with X11 forwarding
>enabled otherwise it will not work.
>
>-AC
>
>Dave Gagliardi enscribed:
>> Hello all... I'm having problems with X11 forwarding between 2 solaris
>> boxes.
>> 
>> The client box is a Sun Sparc ultra 10 running Solaris 2.6 with ssh 1.2.25.
>> The server is an Sun Sparc Ultra 2 running Solaris 2.6 with ssh 1.2.25
>> 
>> (I did a make install of the software i compiled on the ultra 10, to the
>> ultra 2)
>> 
>> the problem is i cannot get the server to do X11 forwarding. 
>> 
>> >From the client (running X of course) i used these command lines:
>> the names have been changed 'cause i'm paranoid...
>> 
>> ssh -lspartan -v host.somewhere.com
>> 
>> This gets me onto the machine, but no X. Then i tried this:
>> 
>> ssh -lspartan -v -o "ForwardX11 yes" host.somewhere.com
>> 
>> this also gets me there, but still no X. Then i thought about
>> /etc/sshd_config, but to my dismay it is as follows:
>> 
>> # This is ssh server systemwide configuration file.
>> 
>> Port 22
>> ListenAddress 0.0.0.0
>> HostKey /etc/ssh_host_key
>> RandomSeed /etc/ssh_random_seed
>> ServerKeyBits 768
>> LoginGraceTime 600
>> KeyRegenerationInterval 3600
>> PermitRootLogin yes
>> IgnoreRhosts yes
>> StrictModes yes
>> QuietMode no
>> X11Forwarding yes
>> X11DisplayOffset 10
>> FascistLogging yes
>> PrintMotd yes
>> KeepAlive yes
>> SyslogFacility LOCAL3
>> RhostsAuthentication no
>> RhostsRSAAuthentication no
>> RSAAuthentication yes
>> PasswordAuthentication no
>> PermitEmptyPasswords no
>> PidFile /var/run/sshd.pid
>> # AllowHosts *.our.com friend.other.com
>> # DenyHosts lowsecurity.theirs.com *.evil.org evil.org
>> # Umask 022
>> # SilentDeny on
>> 
>> I am at a loss... any suggestions would help.
>> 
>> -dave
>> 
>
>--
>For sincere personal advice       (\`--/') _ _______ .-r-.  
>and the correct time:              >.~.\ `` ` `,`,`. ,'_'~`.          
>phone any number                  (v_," ; `,-\ ; : ; \/,-~) \            
>at random at 3am.                  `--'_..),-/ ' ' '_.>-' )`.`.__.')   
>stripes at tigerlair dot com      ((,((,__..'~~~~~~((,__..'  `-..-'fL    
>

Reply via email to