Torna indietro   Hardware Upgrade Forum > Software > Linux, Unix, OS alternativi

Le soluzioni FSP per il 2026: potenza e IA al centro
Le soluzioni FSP per il 2026: potenza e IA al centro
In occasione del Tech Tour 2025 della European Hardware Association abbiamo incontrato a Taiwan FSP, azienda impegnata nella produzione di alimentatori, chassis e soluzioni di raffreddamento tanto per clienti OEM come a proprio marchio. Potenze sempre più elevate negli alimentatori per far fronte alle necessità delle elaborazioni di intelligenza artificiale.
AWS annuncia European Sovereign Cloud, il cloud sovrano per convincere l'Europa
AWS annuncia European Sovereign Cloud, il cloud sovrano per convincere l'Europa
AWS è il principale operatore di servizi cloud al mondo e da tempo parla delle misure che mette in atto per garantire una maggiore sovranità alle organizzazioni europee. L'azienda ha ora lanciato AWS European Sovereign Cloud, una soluzione specificamente progettata per essere separata e distinta dal cloud "normale" e offrire maggiori tutele e garanzie di sovranità
Redmi Note 15 Pro+ 5G: autonomia monstre e display luminoso, ma il prezzo è alto
Redmi Note 15 Pro+ 5G: autonomia monstre e display luminoso, ma il prezzo è alto
Xiaomi ha portato sul mercato internazionale la nuova serie Redmi Note, che rappresenta spesso una delle migliori scelte per chi non vuole spendere molto. Il modello 15 Pro+ punta tutto su una batteria capiente e su un ampio display luminoso, sacrificando qualcosa in termini di potenza bruta e velocità di ricarica
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 01-04-2007, 19:30   #1
balubeto
Senior Member
 
Iscritto dal: Sep 2004
Messaggi: 1010
Problemi con x11vnc e GDM

CIAO

Volendo controllare da remoto una macchina Linux con GDM attivo e volendo logandomi da remoto mediante tale interfaccia grafica, ho modificato i file /etc/gdm/gdm.conf e /etc/inetd.conf in questo modo:

Codice:
PLUTO:~# cat /etc/gdm/gdm.conf                                                                                              
# GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration.   If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration.  Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# Older versions of GDM used the "gdm.conf" file for configuration.  If your
# system has an old gdm.conf file on the system, it will be used instead of
# this file - so changes made to this file will not take effect.  Consider
# migrating your configuration to this file and removing the gdm.conf file.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below.  Refer to the comments in the
# /usr/share/gdm/defaults.conf file for information about each option.  Also
# refer to the reference documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change.  Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings.  You can also restart GDM by sending
# a HUP or USR1 signal to the daemon.  HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category.  You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

[daemon]
GtkModulesList=gail:atk-bridge:/usr/lib/gtk-2.0/modules/libkeymouselistener:/usr/lib/gtk-2.0/modules/libdwellmouselistener
AddGtkModules=true
RemoteGreeter=/usr/lib/gdm/gdmgreeter

[security]
AllowRoot=true
DisallowTCP=false
AllowRemoteRoot=true

[xdmcp]
Enable=true
HonorIndirect=false

[gui]

[greeter]
Browser=true
Include=root,balubeto
Exclude=

[chooser]

[debug]
Enable=true

# Note that to disable servers defined in the defaults.conf file (such as
# 0=Standard, you must put a line in this file that says 0=inactive, as
# described in the Configuration section of the GDM documentation.
#
[servers]

# Also note, that if you redefine a [server-foo] section, then GDM will
# use the definition in this file, not the defaults.conf file.  It is
# currently not possible to disable a [server-foo] section defined
# in the defaults.conf file.
#
PLUTO:~# 
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 -desktop=Server -query localhost -forever

#: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
Ora, pero`, mi accorgo che, riavviando tale macchina, il server x11vnc non viene caricato. Infatti:

Codice:
PLUTO:~# ps axu | grep x11vnc | grep -v grep                                                                                
PLUTO:~# netstat -a | grep x11vnc | grep -v grep                                                                            
PLUTO:~# netstat -a | grep 5900 | grep -v grep                                                                              
tcp        0      0 *:5900                  *:*                     LISTEN     
PLUTO:~#
Come mai?

GRAZIE

CIAO

P.S; Uso la 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
Old 02-04-2007, 00:55   #2
gurutech
Senior Member
 
L'Avatar di gurutech
 
Iscritto dal: Jun 2000
Città: S.Giuliano (MI)
Messaggi: 1047
perchè giustamente il servizio che parte è inetd
inetd ti apre la porta 5900, come puoi vedere con netstat
quando qualcuno prova a contattare la porta 5900 inetd fa partire x11vnc
se tutti i parametri di x11vnc sono giusti e le conf sono giuste dovresti riuscire a collegarti, ma non conosco abbastanza x11vnc da dirti di più

è così che funziona inetd: ti permette di risparmiare spazio in memoria perchè non avvii un servizio sinchè non ti serve.
__________________
“No te tomes tan en serio la vida, al fin y al cabo no saldrás vivo de ella”
gurutech è offline   Rispondi citando il messaggio o parte di esso
Old 02-04-2007, 14:43   #3
kingvi
Senior Member
 
L'Avatar di kingvi
 
Iscritto dal: Sep 2004
Città: Vicenza
Messaggi: 474
Tieni segui questa guida.
__________________
Il mio blog
kingvi è offline   Rispondi citando il messaggio o parte di esso
Old 03-04-2007, 11:35   #4
balubeto
Senior Member
 
Iscritto dal: Sep 2004
Messaggi: 1010
La mia macchina Server ha il server X.Org ed GDM sempre attivati e caricati fin dall'avvio del Server.

Ho notato una cosa:

Se metto la direttiva KillInitClients=false a /etc/gdm/gdm.conf e, poi, se aggiungo al file /etc/gdm/Init/Default il comando /usr/bin/x11vnc -logfile /var/log/x11vnc.log -rfbauth /root/.vnc/passwd -forever -bg e, poi, riavvio il server, riesco a collegami in remoto e, finalmente, riesco a vedere il mio caro GDM su una finestra di Windows XP e sulla macchina Server mi crea il file di log.

Mentre, se metto tale comando nel file /etc/inetd.conf nel modo seguente:

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, riavvio il Server, il viewer sulla macchina di Windows non riesce a collegarsi al server e, se vado su Server, noto che il server x11vnc non mi ha creato il file log il che sta a significare, per me, che, quando il viewer ha tentato la connessione con il server x11vnc, Linux non riesce a caricare il server VNC. Come mai?

GRAZIE

CIAO
__________________
Balubeto

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


Le soluzioni FSP per il 2026: potenza e IA al centro Le soluzioni FSP per il 2026: potenza e IA al ce...
AWS annuncia European Sovereign Cloud, il cloud sovrano per convincere l'Europa AWS annuncia European Sovereign Cloud, il cloud ...
Redmi Note 15 Pro+ 5G: autonomia monstre e display luminoso, ma il prezzo è alto Redmi Note 15 Pro+ 5G: autonomia monstre e displ...
HONOR Magic 8 Pro: ecco il primo TOP del 2026! La recensione HONOR Magic 8 Pro: ecco il primo TOP del 2026! L...
Insta360 Link 2 Pro e 2C Pro: le webcam 4K che ti seguono, anche con gimbal integrata Insta360 Link 2 Pro e 2C Pro: le webcam 4K che t...
Compra una GeForce RTX 5080 venduta e sp...
Telescopio spaziale James Webb: osservat...
L'IA non ha portato quasi nessun benefic...
Sony LinkBuds Clip, gli auricolari open ...
La fibra è sempre più diff...
Arriva Vertiv CoolPhase PAM: raffreddame...
Chiamate cristalline e ANC evoluto a pre...
Adobe aggiorna Premiere e After Effects:...
AI Bundle, la novità dei driver A...
La roadster elettrica supportata da Xiao...
Netflix rivede l'offerta per Warner Bros...
Satya Nadella avverte: senza benefici co...
Anche secondo Andy Jassy, CEO di Amazon,...
Audi mostra la sua prima auto di Formula...
Evolve3 85 e 75: Jabra presenta le prime...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 19:16.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Served by www3v