PDA

View Full Version : x11vnc e file inetd.conf


balubeto
03-04-2007, 17:25
CIAO

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


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.

kingvi
04-04-2007, 14:23
Scusate errore...

xool
04-04-2007, 17:44
Anche a me servirebbe capire come avviare il pacchetto x11vnc perchè vorrei gestirlo tramite ssh da un client windows...

xool
06-04-2007, 15:38
Non hai risolto ancora niente?

Io uso la tua stessa distro e non so come avviare il vnc sulla macchina linux per vederlo su una macchina Windows.