PDA

Visualizza versione completa : [Debian] File .serverauth.??? non creato


balubeto
29-04-2006, 11.56.20
CIAO

Collegandomi con PuTTY per XP, via SSH, ad un account normale alla mia Linux-box, il file ~/.serverauth.??? non viene creato e, quindi, non posso accedere al server X.Org .

Come mai?

Se, pero`, accedo via SSH, sempre con PuTTY, alla mia Linux-box come root, mi crea tanti ~/.serverauth.??? quante sono le sessioni di X.Org eseguite.

Come mai?

GRAZIE

CIAO

Ghandalf
30-04-2006, 16.43.37
http://www.vanemery.com/Linux/XoverSSH/X-over-SSH2.html

Dai un'occhiata a questo tutorial, pare un problema di permessi.

Occhio al tag del thread altrimenti viene chiuso.

:)

balubeto
30-04-2006, 19.13.29
Ho seguito il paragrafo Setup #4: X over SSH from a Win32 PC to RAT over the LAN del tuo link ma X non funziona. Come mai?

GRAZIE

CIAO

Ghandalf
01-05-2006, 01.10.48
Se non posti gli eventuali log viene difficile aiutarti..;)

balubeto
01-05-2006, 12.53.08
Quando in una shell remota di un account normale lancio, in background, il server X, mi appare questa scritta:


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 Apr 20 17:53:38 2006 from pippo
balubeto@PLUTO:~$ startx &
[1] 6095
balubeto@PLUTO:~$ xauth: creating new authority file /home/balubeto/.serverauth.6095

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:~$


Mentre, se mi connetto in remoto come root e scrivo in una shell:


Using username "root".
Authenticating with public key "imported-openssh-key"
Last login: Thu Apr 20 18:10:55 2006 from pippo
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.
PLUTO:~# startx &
[1] 6091
PLUTO:~# xauth: creating new authority file /root/.serverauth.6091

X: warning; process set to priority -1 instead of requested priority 0

X Window System Version 6.9.0 (Debian 6.9.0.dfsg.1-6 20060403233528 David Nusinow <dnusinow@debian.org>)
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.6.12-1-686 i686 [ELF]
Current Operating System: Linux PLUTO 2.6.15-1-686 #2 Mon Mar 6 15:27:08 UTC 2006 i686
Build Date: 04 April 2006
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.15-1-686 (Debian 2.6.15-8) (waldi@debian.org) (gcc version 4.0.3 20060212 (prerelease) (Debian 4.0.2-9)) #2 Mon Mar 6 15:27:08 UTC 2006
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 20 18:15:40 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "synaptics" (module does not exist, 0)
(EE) No Input driver matching `synaptics'
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
Could not init font path element unix/:7100, removing from list!

PLUTO:~# x11vnc -logfile ~/.x11vnc.log -rfbauth ~/.vnc/passwd -display :0 -forever -bg -localhost
PORT=5900
PLUTO:~#


riesco a controllare il server X dalla macchina XP.

Quindi, come mai, accedendo a Linux remotamente come un utente normale, non riesco neanche a caricare X in background?

GRAZIE

CIAO