Results 1 to 3 of 3

Thread: server x nolisten

  1. #1
    Join Date
    Sep 2010
    Beans
    19
    Distro
    Ubuntu 11.04 Natty Narwhal

    server x nolisten

    $ 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
    I'm maverik 10.10, and I want to delete " -nolisten tcp " on my x server
    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
    from this: http://davesource.com/Solutions/2007...ntu-xhost.html
    Code:
       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
    I can't find step 2... how I can do this?
    Code:
    find  /etc/ -type f -exec grep DisallowTCP {} \; -print
          <key>security/DisallowTCP</key>
    /etc/gdm/gdm.schemas
    many thanks for any support.
    Cheers,
    Lain

  2. #2
    Join Date
    Jul 2005
    Beans
    2

    Re: server x nolisten

    in /etc/gdm/curtom.conf put in

    Code:
    [security]
    DisallowTCP=false

  3. #3
    Join Date
    Nov 2010
    Beans
    1

    Re: server x nolisten

    Ok don't know about the curtom.conf file but I found that by editing the /etc/gdm/gdm.schemas I went to this particular section and changed the true to false

    Code:
    <schema>
          <key>security/DisallowTCP</key>
          <signature>b</signature>
          <default>false</default>
    </schema>
    After that I rebooted. did a
    Code:
    ps -ef | grep X
    and verified that X was no longer being launched with the -nolisten option.

    I am presuming the XML for GDM config is in preparation for some really cool app to easily modify your gdm setting.

    Enjoy ya'll!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •