View Full Version : Creare.Xauthority per il controllo remoto di GDM
balubeto
12-04-2007, 12:49
CIAO
Come devo fare a creare il file .Xauthority per autorizzare le macchine remote con un viewer VNC per Windows XP ad accedere al GDM di una macchina Linux (senza una sessione X attiva) con il server x11vnc?
GRAZIE
CIAO
P.S: Uso Debian Etch Testing.
balubeto
16-04-2007, 11:01
Ho anche provato a dare, da remoto, il comando xauth generate :0 trusted ma niente da fare. Infatti:
PLUTO:~# xauth generate :0 trusted
xauth: creating new authority file /root/.Xauthority
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xauth: (argv):1: unable to open display ":0".
Che cosa sbaglio?
GRAZIE
CIAO
balubeto
19-04-2007, 12:26
Leggendo il mini-How-to Remote X Apps (http://www.tldp.org/HOWTO/Remote-X-Apps-6.html#ss6.2) , ho letto che, per creare un cookie, occorre creare lo script .xserverrc come indicato. Ho provato , da una shell remota, ma non funziona:
PLUTO:~# cat .xserverrc
#!/bin/sh
mcookie|sed -e s/^/add :0 . /|xauth -q
exec /usr/X11R6/bin/X "$@" -auth "$HOME/.Xauthority"
PLUTO:~# ~/.xserverrc
sed: espressione -e #1, carattere 7: comando `s' non terminato
xauth: creating new authority file /root/.Xauthority
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Dove sbaglio?
GRAZIE
CIAO
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.