View Single Post
Old 03-04-2007, 18:25   #1
balubeto
Senior Member
 
Iscritto dal: Sep 2004
Messaggi: 1010
x11vnc e file inetd.conf

CIAO

Se inserisco il comando x11vnc -inetd -logfile /var/log/x11vnc.log -rfbauth /root/.vnc/passwd -forever -bg come ho fatto:

Codice:
PLUTO:~# cat /etc/inetd.conf                                                                                                
# /etc/inetd.conf:  see inetd(8) for further informations.
#
# Internet superserver configuration database
#
#
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(8)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#discard                stream  tcp     nowait  root    internal
#discard                dgram   udp     wait    root    internal
#daytime                stream  tcp     nowait  root    internal
#time           stream  tcp     nowait  root    internal

#:STANDARD: These are standard services.

5900    stream  tcp     nowait  nobody  /usr/bin/x11vnc x11vnc -inetd -logfile /var/log/x11vnc.log -rfbauth /root/.vnc/passwd -forever -bg

#:BSD: Shell, login, exec and talk are BSD protocols.

#:MAIL: Mail, news and uucp services.

#:INFO: Info services
ident           stream  tcp     wait    identd  /usr/sbin/identd        identd

#:BOOT: TFTP service is provided primarily for booting.  Most sites
#       run this only on machines acting as "boot servers."

#:RPC: RPC based services

#:HAM-RADIO: amateur-radio services

#:OTHER: Other services
e, poi, dico ad un viewer VNC di un'altra macchina di collegarsi sulla porta 5900, il server VNC non parte proprio in quanto non mi crea nemmeno il file log.

Quindi, o occorre fare qualcosa per poter far rileggere il file /etc/inetd.conf (ho semplicemente riavviato la macchina dopo la modifica) o ho sbagliato la struttura di tale file o ho sbagliato qualche opzione del comando x11vnc (se eseguo x11vnc -logfile /var/log/x11vnc.log -rfbauth /root/.vnc/passwd -forever -bg in una shell remota, tale comando funziona) o c'e` qualche altra cosa che mi sfugge.

Tale macchina parte con il display manager GDM.

GRAZIE

CIAO

P.S: Uso Debian Etch Testing.
__________________
Balubeto

Su Facebook, e` nato il gruppo SoftHard per tutti. Vi aspetto.
balubeto è offline   Rispondi citando il messaggio o parte di esso