<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#ffffff">
Un saluto a tutta la lista, nella speranza che qualcuno possa darmi una
mano!<br>
Situazione:<br>
Ho due computer di nome sissi (debian) e shizuka (ubuntu) e vorrei
lanciare i programmi di sissi sul display di shizuka tramite ssh.<br>
<br>
Premesso che:<br>
1. dal terminale shizuka con il comando "ssh -X marco@shizuka" riesco a
loggarmi senza problemi;<br>
2. riesco a lanciare un vnc-server da sissi e visualizzarlo senza
problemi su shizuka;<br>
3. il comando "xhost +" lancato su sissi mi dą come risposta "xhost:
unable to open display";<br>
4. ho provato anche il comando "export DISPLAY=shizuka:0.0" ottenendo
come errore, al successivo tentativo di lanciare un'applicazione,
"Error: Can't open display shizuka:0.0"<br>
5. ho modificato/verificato che i parametri di ssh_config e sshd_config
fossero corretti (li ho riportati pił in basso).<br>
<br>
A questo punto non so pił cosa fare o inventare. Chiedo a voi, potenti
Dei, governanti dei sistemi linux di illuminare questo umile servo!<br>
<br>
Grazie per ogni preziosa indicazione,<br>
Marco<br>
 <br>
   ssh_config<br>
<br>
<blockquote><small># This is the ssh client system-wide configuration
file.  See<br>
# ssh_config(5) for more information.  This file provides defaults for<br>
# users, and the values can be changed in per-user configuration files<br>
# or on the command line.<br>
  <br>
# Configuration data is parsed as follows:<br>
#  1. command line options<br>
#  2. user-specific file<br>
#  3. system-wide file<br>
# Any configuration value is only changed the first time it is set.<br>
# Thus, host-specific definitions should be at the beginning of the<br>
# configuration file, and defaults at the end.<br>
  <br>
# Site-wide defaults for some commonly used options.  For a
comprehensive<br>
# list of available options, their meanings and defaults, please see the<br>
# ssh_config(5) man page.<br>
  <br>
Host *<br>
#   ForwardAgent no<br>
   ForwardX11 yes<br>
#   ForwardX11Trusted yes<br>
#   RhostsRSAAuthentication no<br>
#   RSAAuthentication yes<br>
#   PasswordAuthentication yes<br>
#   HostbasedAuthentication no<br>
#   GSSAPIAuthentication no<br>
#   GSSAPIDelegateCredentials no<br>
#   GSSAPIKeyExchange no<br>
#   GSSAPITrustDNS no<br>
#   BatchMode no<br>
#   CheckHostIP yes<br>
#   AddressFamily any<br>
#   ConnectTimeout 0<br>
#   StrictHostKeyChecking ask<br>
#   IdentityFile ~/.ssh/identity<br>
#   IdentityFile ~/.ssh/id_rsa<br>
#   IdentityFile ~/.ssh/id_dsa<br>
   Port 22<br>
   Protocol 2<br>
#   Cipher 3des<br>
#   Ciphers
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc<br>
#   MACs hmac-md5,hmac-sha1,<a class="moz-txt-link-abbreviated" href="mailto:umac-64@openssh.com,hmac-ripemd160">umac-64@openssh.com,hmac-ripemd160</a><br>
#   EscapeChar ~<br>
#   Tunnel no<br>
#   TunnelDevice any:any<br>
#   PermitLocalCommand no<br>
#   VisualHostKey no<br>
#   ProxyCommand ssh -q -W %h:%p gateway.example.com<br>
    SendEnv LANG LC_*<br>
    HashKnownHosts yes<br>
    GSSAPIAuthentication yes<br>
    GSSAPIDelegateCredentials no<br>
  </small></blockquote>
sshd_config<br>
<br>
<blockquote><small># This is the ssh client system-wide configuration
file.  See<br>
# ssh_config(5) for more information.  This file provides defaults for<br>
# users, and the values can be changed in per-user configuration files<br>
# or on the command line.<br>
  <br>
# Configuration data is parsed as follows:<br>
#  1. command line options<br>
#  2. user-specific file<br>
#  3. system-wide file<br>
# Any configuration value is only changed the first time it is set.<br>
# Thus, host-specific definitions should be at the beginning of the<br>
# configuration file, and defaults at the end.<br>
  <br>
# Site-wide defaults for some commonly used options.  For a
comprehensive<br>
# list of available options, their meanings and defaults, please see the<br>
# ssh_config(5) man page.<br>
  <br>
Host *<br>
#   ForwardAgent no<br>
   ForwardX11 yes<br>
#   ForwardX11Trusted yes<br>
#   RhostsRSAAuthentication no<br>
#   RSAAuthentication yes<br>
#   PasswordAuthentication yes<br>
#   HostbasedAuthentication no<br>
#   GSSAPIAuthentication no<br>
#   GSSAPIDelegateCredentials no<br>
#   GSSAPIKeyExchange no<br>
#   GSSAPITrustDNS no<br>
#   BatchMode no<br>
#   CheckHostIP yes<br>
#   AddressFamily any<br>
#   ConnectTimeout 0<br>
#   StrictHostKeyChecking ask<br>
#   IdentityFile ~/.ssh/identity<br>
#   IdentityFile ~/.ssh/id_rsa<br>
#   IdentityFile ~/.ssh/id_dsa<br>
   Port 22<br>
   Protocol 2<br>
#   Cipher 3des<br>
#   Ciphers
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc<br>
#   MACs hmac-md5,hmac-sha1,<a class="moz-txt-link-abbreviated" href="mailto:umac-64@openssh.com,hmac-ripemd160">umac-64@openssh.com,hmac-ripemd160</a><br>
#   EscapeChar ~<br>
#   Tunnel no<br>
#   TunnelDevice any:any<br>
#   PermitLocalCommand no<br>
#   VisualHostKey no<br>
#   ProxyCommand ssh -q -W %h:%p gateway.example.com<br>
    SendEnv LANG LC_*<br>
    HashKnownHosts yes<br>
    GSSAPIAuthentication yes<br>
    GSSAPIDelegateCredentials no<br>
  </small></blockquote>
<br>
<br>
</body>
</html>