Permessi per usare X da remoto via SSH

balubeto

Utente Attivo
171
2
CIAO

Se, da una macchina Windows, con PuTTY, mi collego alla mia Linux-box tramite SSH ed accedo come un utente normale e lancio il server X.Org in background, mi appare questo:

Codice:
Using username "balubeto".
Authenticating with public key "imported-openssh-key"
Linux PLUTO 2.6.15-1-686 #2 Mon Mar 6 15:27:08 UTC 2006 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have new mail.
Last login: Thu May  4 09:39:48 2006 from pippo
balubeto@PLUTO:~$ startx &
[1] 6141
balubeto@PLUTO:~$ xauth:  creating new authority file /home/balubeto/.serverauth.6141
X: user not authorized to run the X server, aborting.
giving up.
/usr/X11R6/bin/xinit:  Connection refused (errno 111):  unable to connect to X server
/usr/X11R6/bin/xinit:  No such process (errno 3):  Server error.
Couldnt get a file descriptor referring to the console
[1]+  Exit 71                 startx
balubeto@PLUTO:~$

e quindi non posso avviare ne` il server VNC su Linux ed ne` il client VNC su Windows far si` che X venga incapsulato nella connessione SSH esistente.

Quindi, come si fa a risolvere tale problema?

GRAZIE

CIAO
 

CityHunter357

Nuovo Utente
9
0
Ciao, a dire la verità non ho capito bene la tua domanda, proverò comunque a risponderti.
quando usi ssh fai così:
ssh -X utente@indirizzodellamacchinaremota
spero di esserti stato utile.
 

Entra

oppure Accedi utilizzando
Discord Ufficiale Entra ora!