[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Abilitare il server X



Il sab, 2002-03-09 alle 23:58, Fabio Vendramin. ha scritto:
> Allora ho fatto delle prove ma niente da fare.
> Le operazioni che ho eseguito sono:
> 
> ho tolto l'opzione -nolisten tcp sul client in cui ho X
> ho dato il comando xhost + sul client
> mi sonon collegato tramite ssh -X root@192.168.10.6(server)
> ho settato la variabile DISPLAY = 192.168.10.10:0.0 (client)
> 
> quando tento di avviare un programma che usa X aspetta un pò
> e mi dà errore.
Devi dire al server ssh di permetter il forwarding delle sessioni X
Ti allego la mia configurazione
# This is ssh server systemwide configuration file.

Port 22
#WAS:
#Protocol 2,1
Protocol 1,2
#ListenAddress 0.0.0.0
#ListenAddress ::
HostKey /etc/ssh/ssh_host_key
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin no 
#
# Don't read ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
StrictModes yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes

# Logging
SyslogFacility AUTH
LogLevel INFO
#obsoletes QuietMode and FascistLogging

RhostsAuthentication no
#
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
RhostsRSAAuthentication no
#
RSAAuthentication yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
PermitEmptyPasswords no
# Uncomment to disable s/key passwords 
#SkeyAuthentication no
#KbdInteractiveAuthentication yes

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

CheckMail no
#UseLogin no

# Uncomment if you want to enable sftp
#Subsystem	sftp	/usr/lib/sftp-server
#MaxStartups 10:30:60

Attachment: signature.asc
Description: PGP signature


Reply to: