How to disable -nolisten?












11















I just installed ubuntu 11.10. I want to run an x-app from another system.



I updated ./xinit/xserverrc and removed the -nolisten option. I rebooted.



I can see that X is started with the nolisten option.



I don't have /etc/gdm subdir.










share|improve this question

























  • What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.

    – Guria
    Oct 27 '11 at 14:10











  • Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.

    – user995746
    May 21 '13 at 18:15
















11















I just installed ubuntu 11.10. I want to run an x-app from another system.



I updated ./xinit/xserverrc and removed the -nolisten option. I rebooted.



I can see that X is started with the nolisten option.



I don't have /etc/gdm subdir.










share|improve this question

























  • What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.

    – Guria
    Oct 27 '11 at 14:10











  • Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.

    – user995746
    May 21 '13 at 18:15














11












11








11


6






I just installed ubuntu 11.10. I want to run an x-app from another system.



I updated ./xinit/xserverrc and removed the -nolisten option. I rebooted.



I can see that X is started with the nolisten option.



I don't have /etc/gdm subdir.










share|improve this question
















I just installed ubuntu 11.10. I want to run an x-app from another system.



I updated ./xinit/xserverrc and removed the -nolisten option. I rebooted.



I can see that X is started with the nolisten option.



I don't have /etc/gdm subdir.







xorg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 27 '11 at 13:19









Kris Harper

9,649114771




9,649114771










asked Oct 27 '11 at 13:13









bartbart

56113




56113













  • What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.

    – Guria
    Oct 27 '11 at 14:10











  • Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.

    – user995746
    May 21 '13 at 18:15



















  • What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.

    – Guria
    Oct 27 '11 at 14:10











  • Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.

    – user995746
    May 21 '13 at 18:15

















What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.

– Guria
Oct 27 '11 at 14:10





What purpose you need /etc/gdm dir? 11.10 uses LightDM instead of GDM thats way there is not such folder.

– Guria
Oct 27 '11 at 14:10













Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.

– user995746
May 21 '13 at 18:15





Note: "I want to run an x-app from another system." While I'm all in favor of modifying your nolisten parameter, for 99% of the use cases, simply ssh'ing to the remote host (possibly with the "-X" parameter, and definitely with "xauth" installed on the remote system) is by far the easiest way to fire up a remote X application. ssh even compresses the transaction, so you might see a slight speed boost.

– user995746
May 21 '13 at 18:15










3 Answers
3






active

oldest

votes


















17














You need to edit /etc/lightdm/lightdm.conf and add xserver-allow-tcp=true to it. Here's what mine looks like:



[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
xserver-allow-tcp=true

[XDMCPServer]
enabled=true


After that, run this:



sudo restart lightdm


If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:



sudo start lightdm


I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:



2981 tty7     Ss+    0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch





share|improve this answer

































    2














    As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf



    and it wants to contain:



    [SeatDefaults]
    xserver-allow-tcp=true





    share|improve this answer

































      1














      edit /usr/share/gdm/gdm.schemas, setting the key security/DisallowTCP to false






      share|improve this answer

























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "89"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f72812%2fhow-to-disable-nolisten%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        17














        You need to edit /etc/lightdm/lightdm.conf and add xserver-allow-tcp=true to it. Here's what mine looks like:



        [SeatDefaults]
        greeter-session=unity-greeter
        user-session=ubuntu
        xserver-allow-tcp=true

        [XDMCPServer]
        enabled=true


        After that, run this:



        sudo restart lightdm


        If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:



        sudo start lightdm


        I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:



        2981 tty7     Ss+    0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch





        share|improve this answer






























          17














          You need to edit /etc/lightdm/lightdm.conf and add xserver-allow-tcp=true to it. Here's what mine looks like:



          [SeatDefaults]
          greeter-session=unity-greeter
          user-session=ubuntu
          xserver-allow-tcp=true

          [XDMCPServer]
          enabled=true


          After that, run this:



          sudo restart lightdm


          If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:



          sudo start lightdm


          I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:



          2981 tty7     Ss+    0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch





          share|improve this answer




























            17












            17








            17







            You need to edit /etc/lightdm/lightdm.conf and add xserver-allow-tcp=true to it. Here's what mine looks like:



            [SeatDefaults]
            greeter-session=unity-greeter
            user-session=ubuntu
            xserver-allow-tcp=true

            [XDMCPServer]
            enabled=true


            After that, run this:



            sudo restart lightdm


            If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:



            sudo start lightdm


            I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:



            2981 tty7     Ss+    0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch





            share|improve this answer















            You need to edit /etc/lightdm/lightdm.conf and add xserver-allow-tcp=true to it. Here's what mine looks like:



            [SeatDefaults]
            greeter-session=unity-greeter
            user-session=ubuntu
            xserver-allow-tcp=true

            [XDMCPServer]
            enabled=true


            After that, run this:



            sudo restart lightdm


            If you have problems restarting, just 'ps ax | grep lightdm' and kill all the associated processes, then:



            sudo start lightdm


            I haven't researched yet, but I'm sure there are lots of configuration options for lightdm, I'm just not certain that they all work at the moment. But this one does. Here's what my X server process looks like now:



            2981 tty7     Ss+    0:00 /usr/bin/X :1 -auth /var/run/lightdm/root/:1 vt7 -novtswitch






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 10 '11 at 19:48









            Kris Harper

            9,649114771




            9,649114771










            answered Nov 8 '11 at 20:52









            George H. LenzerGeorge H. Lenzer

            1712




            1712

























                2














                As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf



                and it wants to contain:



                [SeatDefaults]
                xserver-allow-tcp=true





                share|improve this answer






























                  2














                  As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf



                  and it wants to contain:



                  [SeatDefaults]
                  xserver-allow-tcp=true





                  share|improve this answer




























                    2












                    2








                    2







                    As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf



                    and it wants to contain:



                    [SeatDefaults]
                    xserver-allow-tcp=true





                    share|improve this answer















                    As of Ubuntu 16.04, it seems to be /usr/share/lightdm/lightdm.conf.d/100-custom.conf, or if that does not work: /etc/lightdm/lightdm.conf.d/100-custom.conf



                    and it wants to contain:



                    [SeatDefaults]
                    xserver-allow-tcp=true






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 8 hours ago









                    Community

                    1




                    1










                    answered Jul 6 '16 at 11:01









                    BryanBryan

                    1234




                    1234























                        1














                        edit /usr/share/gdm/gdm.schemas, setting the key security/DisallowTCP to false






                        share|improve this answer






























                          1














                          edit /usr/share/gdm/gdm.schemas, setting the key security/DisallowTCP to false






                          share|improve this answer




























                            1












                            1








                            1







                            edit /usr/share/gdm/gdm.schemas, setting the key security/DisallowTCP to false






                            share|improve this answer















                            edit /usr/share/gdm/gdm.schemas, setting the key security/DisallowTCP to false







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Jun 14 '16 at 2:23









                            amc

                            4,70962746




                            4,70962746










                            answered Jun 14 '16 at 1:37









                            Marc WilliamsMarc Williams

                            111




                            111






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f72812%2fhow-to-disable-nolisten%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                How did Captain America manage to do this?

                                迪纳利

                                南乌拉尔铁路局