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

DS N°7 E-Tense: il SUV premium made in Melfi che punta su autonomia e comfort
DS N°7 E-Tense: il SUV premium made in Melfi che punta su autonomia e comfort
Fino a 740 km WLTP con la batteria da 97,2 kWh, sospensioni che leggono la strada con una telecamera e un abitacolo da salotto parigino. La nuova DS N°7 raccoglie l'eredità della DS 7 e la porta, per la prima volta, nel mondo 100% elettrico. Ecco come è fatta, cosa offre e quanto costa.
Recensione Samsung Galaxy Tab S12 Ultra: non chiamatelo tablet... è molto di più
Recensione Samsung Galaxy Tab S12 Ultra: non chiamatelo tablet... è molto di più
Abbiamo provato Samsung Galaxy Tab S12 Ultra nella versione 12 GB + 256 GB con tastiera, e il risultato è un tablet che in questa configurazione si comporta come un notebook con la fluidità tipica di Android. Spessore di 5,1 mm, display Dynamic AMOLED 2X da 14,6 pollici, MediaTek Dimensity 9500 e un software senza incertezze compongono un prodotto di vertice, con prezzi da 1.539 euro, frenato solo da un'autonomia nella parte bassa del confronto
Hyundai IONIQ 5 N, l'elettrica che finge di essere termica (e ci riesce da paura)
Hyundai IONIQ 5 N, l'elettrica che finge di essere termica (e ci riesce da paura)
Abbiamo provato per dieci giorni la Hyundai IONIQ 5 N, con 650 CV, 770 Nm e uno 0-100 km/h in 3,4 secondi. Il suo punto forte è N e-Shift, che simula un cambio a otto rapporti con suoni da motore termico e perfino un bang supersonico
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


DS N°7 E-Tense: il SUV premium made in Melfi che punta su autonomia e comfort DS N°7 E-Tense: il SUV premium made in Melfi...
Recensione Samsung Galaxy Tab S12 Ultra: non chiamatelo tablet... è molto di più Recensione Samsung Galaxy Tab S12 Ultra: non chi...
Hyundai IONIQ 5 N, l'elettrica che finge di essere termica (e ci riesce da paura) Hyundai IONIQ 5 N, l'elettrica che finge di esse...
CES Unveiled Milan, l'IA diventa tecnologia fondativa e il commercio torna centrale CES Unveiled Milan, l'IA diventa tecnologia fond...
 Recensione OPPO Find X10 Pro Max: un top di gamma completo con tre fotocamere da 200MP Recensione OPPO Find X10 Pro Max: un top di gam...
La Difesa statunitense ha pubblicato la ...
vivo X500 Pro e Pro Max ufficiali: tanta...
iOS 27.2: l'iPhone chiede ai numeri scon...
Final Cut Pro integra MotionVFX e Apple ...
iMac M6 da 1.829 euro, MacBook Pro 14 M6...
RayNeo GT a 313,65€ su Amazon: occhiali ...
NVIDIA e Meta: 3 miliardi di dollari e p...
PHP2Shell: sfruttate attivamente le due ...
Raffreddamento passivo senza elettricità...
La deforestazione in Amazzonia crolla a ...
La luce del sole a mezzanotte, ecco come...
Oltre mille modelli 3D scaricati senza a...
274 brani di Elvis Presley sono stati us...
SVOLT avvia la produzione in serie di ba...
Apple rilascia macOS Sequoia 15.8.2 e Ta...
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:42.


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