[RISOLTO] server x nolisten

Supporto relativo alle versioni di Ubuntu in fase di sviluppo e test. All'interno troverete delle sottosezioni riguardanti le precedenti versioni.
Avatar utente
lain
Prode Principiante
Messaggi: 69
Iscrizione: giovedì 2 settembre 2010, 19:50

[RISOLTO] server x nolisten

Messaggio da lain »

$ uname -a
Linux mauri-laptop 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux
Ho la versione 10.10, vorrei togliere l'indicazione -nolisten
root      1719  1716  9 09:43 tty7     00:24:24 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-IE6iSq/database -nolisten tcp vt7
da questo sito ho preso la seguente inforazione http://davesource.com/Solutions/2007091 ... xhost.html
  1.   Edit /etc/X11/xinit/xserverrc:
     Remove the "-nolisten tcp"
  2. Edit /etc/gdm/gdm.conf:
     Comment out the "DisallowTCP=true" so that it doesn't add the -nolisten back.
  3. Really restart X
     The easiest way is to probably kill gdm and then restart it from a text login:
     /etc/init.d/gdm stop
     At a text login:
     /etc/init.d/gdm start
ho modificato l'xserverrc e riavviato il gdm (e anche macchina!) ma ho ancora il -nolisten attivo.
Non trovo il gdm.conf, quindi non ho fatto lo step 2.

aggiungo:

Codice: Seleziona tutto

find  /etc/ -type f -exec grep DisallowTCP {} \; -print
      <key>security/DisallowTCP</key>
/etc/gdm/gdm.schemas
grazie a tutti!
Ultima modifica di lain il venerdì 8 ottobre 2010, 10:03, modificato 1 volta in totale.
The day you stop upgrading your skills is the day you have actually started shrinking them

$ uname -a
Linux mauri-laptop 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Ehol
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1383
Iscrizione: martedì 12 dicembre 2006, 16:52

Re: server x nolisten

Messaggio da Ehol »

Trovato questa :
http://ubuntu-virginia.ubuntuforums.org ... ?t=1310771
Sembra che editando il file che hai trovato tu (/etc/gdm/gdm.schemas), basti mettere false al posto di true nel seguente segmento di file :

Codice: Seleziona tutto

<schema>
<key>security/DisallowTCP</key>
<signature>b</signature>
<default>true</default>
</schema>
Prova e vedi se continui ad avere -nolisten
Ciao !
Ubuntu User # 19371
Fisso: P4 2533 - Nvidia 7600 GT AGP 256 Mb - 1 Gb RAM DDR - 360 Gb Hd - 1500 Gb Hd USB - Ubuntu 11.10 32bit - Fastweb Fibra Ottica
Portatile: Asus K52J - Intel i5 430 - Nvidia 310M/Intel i915 - 4 Gb RAM - 320 Gb Hd - Ubuntu 11.10 64bit
Muletto: HP Compaq dc7100 - P4 Core Duo - ATI Radeon X300 - 2gb RAM - 40 Gb HD - Ubuntu 11.10 32bit
Avatar utente
lain
Prode Principiante
Messaggi: 69
Iscrizione: giovedì 2 settembre 2010, 19:50

Re: server x nolisten

Messaggio da lain »

fantastico!  ;D yes funziona. avevo trovato quel file ma non mi ero convinto.
Grazie chiudo il thread  8)
The day you stop upgrading your skills is the day you have actually started shrinking them

$ uname -a
Linux mauri-laptop 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Scrivi risposta

Ritorna a “Maverick 10.10”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti