How can I change the default port of Remote Desktop (VNC)?Change the VNC Server PortHow do I use the gconf editor?VNC Suddenly Stopped Working Ubuntu 18.04Change the VNC Server Port on UbuntuCant Remote Desktop To ServerHow to remote into windows 7 through virtualbox on ubuntu 12.04 from outside the networkChange default port for remote desktop sharing 12.04 LTSUbuntu 14.04 Desktop Sharing (VNC) encryptiom / auth problemRemote Desktop SecutityCan't get VNC to work for multi-user Ubuntu 16 & 18 desktops (is there a better remote solution?)How can I use remote desktop (VNC) without having logged in first?VNC can control desktop, but only displays black screen

What to do when the professor does not stand up to cheating?

Rolling dice in a method chain

What is the last point where one can throw away fruits if one has indicated "not bringing any fruit" on the US customs form when flying to the US?

List of valid keys for sfdx-config.json?

Does the German President's apology for WWII reflect the views of the people of Germany?

Ideal Firearms for time travel or low tech universe exploration

Why can "bubo" ("owl") be feminine or masculine?

How can a person Insulate copper wire in a medieval world?

What are the benefits of the classic f-number scheme?

Personal item size

How do gelatinous cubes reproduce?

Single Player Python Battleship Game

Time Complexity of Parallel.ForEach

Why do airline tickets have titles in addition to names?

Why is super hero technology never used by civilians?

How to react to unfair reviewer comments?

Why do some applications have files with no extension?

In Flanders Fields

A feasible and efficient method of fast global travel?

The lecturer supposed to grade my presentation fell asleep while I held it. Should I complain?

The quietest classical orchestra instrument to play at home

What's the difference between words "tongue" and "lingua"?

Does the sun cross other spiral arms in its movement around the galaxy's center?

How does Facebook track your browsing without third party cookies?



How can I change the default port of Remote Desktop (VNC)?


Change the VNC Server PortHow do I use the gconf editor?VNC Suddenly Stopped Working Ubuntu 18.04Change the VNC Server Port on UbuntuCant Remote Desktop To ServerHow to remote into windows 7 through virtualbox on ubuntu 12.04 from outside the networkChange default port for remote desktop sharing 12.04 LTSUbuntu 14.04 Desktop Sharing (VNC) encryptiom / auth problemRemote Desktop SecutityCan't get VNC to work for multi-user Ubuntu 16 & 18 desktops (is there a better remote solution?)How can I use remote desktop (VNC) without having logged in first?VNC can control desktop, but only displays black screen






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









5

















Let's say I went to:



 System > Preferences > Remote Desktop


And enable Remote Desktop. Now let's say I have another machine on the network that is also running a VNC server. I want to VNC into my network from the outside, but I need each VNC server to be running on different ports.



How can I change Ubuntu's default port for Remote Desktop/VNC?










share|improve this question




























  • you seem to have some confusion about networking here. why do two different VNC services on different computers need to be running on different ports?

    – Sparr
    Jun 19 '13 at 1:10











  • @Sparr Because my router port forwards by port number to a specific local IP address. e.g. 5600 could be 192.168.1.100, 5601 could be to 192.168.1.101. So coming in, it could be mydomain.com:5600 -> 192.168.1.100:5600 or mydomain.com:5601 -> 192.168.1.100:5601

    – Bryan Denny
    Jun 19 '13 at 15:11











  • what model router? you should be able to tell it what the local port for each outside port is. so mydomain.com:5600 -> 192.168.1.100:5600 and mydomain.com:5601 -> 192.168.1.200:5600

    – Sparr
    Jun 19 '13 at 16:21











  • @Sparr Buffalo WZR-HP-g300nh running ddwrt, I just use Port Range Forwarding, so it directly forwards the external IP port to the internal IP address, which is fine by me

    – Bryan Denny
    Jun 19 '13 at 17:32

















5

















Let's say I went to:



 System > Preferences > Remote Desktop


And enable Remote Desktop. Now let's say I have another machine on the network that is also running a VNC server. I want to VNC into my network from the outside, but I need each VNC server to be running on different ports.



How can I change Ubuntu's default port for Remote Desktop/VNC?










share|improve this question




























  • you seem to have some confusion about networking here. why do two different VNC services on different computers need to be running on different ports?

    – Sparr
    Jun 19 '13 at 1:10











  • @Sparr Because my router port forwards by port number to a specific local IP address. e.g. 5600 could be 192.168.1.100, 5601 could be to 192.168.1.101. So coming in, it could be mydomain.com:5600 -> 192.168.1.100:5600 or mydomain.com:5601 -> 192.168.1.100:5601

    – Bryan Denny
    Jun 19 '13 at 15:11











  • what model router? you should be able to tell it what the local port for each outside port is. so mydomain.com:5600 -> 192.168.1.100:5600 and mydomain.com:5601 -> 192.168.1.200:5600

    – Sparr
    Jun 19 '13 at 16:21











  • @Sparr Buffalo WZR-HP-g300nh running ddwrt, I just use Port Range Forwarding, so it directly forwards the external IP port to the internal IP address, which is fine by me

    – Bryan Denny
    Jun 19 '13 at 17:32













5












5








5


2






Let's say I went to:



 System > Preferences > Remote Desktop


And enable Remote Desktop. Now let's say I have another machine on the network that is also running a VNC server. I want to VNC into my network from the outside, but I need each VNC server to be running on different ports.



How can I change Ubuntu's default port for Remote Desktop/VNC?










share|improve this question

















Let's say I went to:



 System > Preferences > Remote Desktop


And enable Remote Desktop. Now let's say I have another machine on the network that is also running a VNC server. I want to VNC into my network from the outside, but I need each VNC server to be running on different ports.



How can I change Ubuntu's default port for Remote Desktop/VNC?







remote-desktop vnc






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Oct 20 '10 at 13:04







Bryan Denny

















asked Oct 20 '10 at 3:37









Bryan DennyBryan Denny

1431 gold badge1 silver badge6 bronze badges




1431 gold badge1 silver badge6 bronze badges















  • you seem to have some confusion about networking here. why do two different VNC services on different computers need to be running on different ports?

    – Sparr
    Jun 19 '13 at 1:10











  • @Sparr Because my router port forwards by port number to a specific local IP address. e.g. 5600 could be 192.168.1.100, 5601 could be to 192.168.1.101. So coming in, it could be mydomain.com:5600 -> 192.168.1.100:5600 or mydomain.com:5601 -> 192.168.1.100:5601

    – Bryan Denny
    Jun 19 '13 at 15:11











  • what model router? you should be able to tell it what the local port for each outside port is. so mydomain.com:5600 -> 192.168.1.100:5600 and mydomain.com:5601 -> 192.168.1.200:5600

    – Sparr
    Jun 19 '13 at 16:21











  • @Sparr Buffalo WZR-HP-g300nh running ddwrt, I just use Port Range Forwarding, so it directly forwards the external IP port to the internal IP address, which is fine by me

    – Bryan Denny
    Jun 19 '13 at 17:32

















  • you seem to have some confusion about networking here. why do two different VNC services on different computers need to be running on different ports?

    – Sparr
    Jun 19 '13 at 1:10











  • @Sparr Because my router port forwards by port number to a specific local IP address. e.g. 5600 could be 192.168.1.100, 5601 could be to 192.168.1.101. So coming in, it could be mydomain.com:5600 -> 192.168.1.100:5600 or mydomain.com:5601 -> 192.168.1.100:5601

    – Bryan Denny
    Jun 19 '13 at 15:11











  • what model router? you should be able to tell it what the local port for each outside port is. so mydomain.com:5600 -> 192.168.1.100:5600 and mydomain.com:5601 -> 192.168.1.200:5600

    – Sparr
    Jun 19 '13 at 16:21











  • @Sparr Buffalo WZR-HP-g300nh running ddwrt, I just use Port Range Forwarding, so it directly forwards the external IP port to the internal IP address, which is fine by me

    – Bryan Denny
    Jun 19 '13 at 17:32
















you seem to have some confusion about networking here. why do two different VNC services on different computers need to be running on different ports?

– Sparr
Jun 19 '13 at 1:10





you seem to have some confusion about networking here. why do two different VNC services on different computers need to be running on different ports?

– Sparr
Jun 19 '13 at 1:10













@Sparr Because my router port forwards by port number to a specific local IP address. e.g. 5600 could be 192.168.1.100, 5601 could be to 192.168.1.101. So coming in, it could be mydomain.com:5600 -> 192.168.1.100:5600 or mydomain.com:5601 -> 192.168.1.100:5601

– Bryan Denny
Jun 19 '13 at 15:11





@Sparr Because my router port forwards by port number to a specific local IP address. e.g. 5600 could be 192.168.1.100, 5601 could be to 192.168.1.101. So coming in, it could be mydomain.com:5600 -> 192.168.1.100:5600 or mydomain.com:5601 -> 192.168.1.100:5601

– Bryan Denny
Jun 19 '13 at 15:11













what model router? you should be able to tell it what the local port for each outside port is. so mydomain.com:5600 -> 192.168.1.100:5600 and mydomain.com:5601 -> 192.168.1.200:5600

– Sparr
Jun 19 '13 at 16:21





what model router? you should be able to tell it what the local port for each outside port is. so mydomain.com:5600 -> 192.168.1.100:5600 and mydomain.com:5601 -> 192.168.1.200:5600

– Sparr
Jun 19 '13 at 16:21













@Sparr Buffalo WZR-HP-g300nh running ddwrt, I just use Port Range Forwarding, so it directly forwards the external IP port to the internal IP address, which is fine by me

– Bryan Denny
Jun 19 '13 at 17:32





@Sparr Buffalo WZR-HP-g300nh running ddwrt, I just use Port Range Forwarding, so it directly forwards the external IP port to the internal IP address, which is fine by me

– Bryan Denny
Jun 19 '13 at 17:32










3 Answers
3






active

oldest

votes


















5


















Using a little information from the (now dead) Dave's Tech Blog, you can adjust the port setting by going into gconf-editor.



Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. Just change the value to what you need. Then enable the key use_alternative_port.



The other option is if your router/firewall support uPnp you can adjust Vino to make the adjustment in the same section of gconf-editor.



  • Reference: How do I use the gconf editor?





share|improve this answer



































    1


















    You can also do this from the command line.

    For example, to use port 5555, you would use these two commands:



    gconftool-2 --set --type=bool /desktop/gnome/remote_access/use_alternative_port true
    gconftool-2 --set --type=int /desktop/gnome/remote_access/alternative_port 5555


    Note, if you follow the schema docs, the port should be in the 5000 - 50000 range:




    [the alternative_port key is set to] the port which
    the server will listen to if the
    'use_alternative_port' key is set to
    true. Valid values are in the range
    from 5000 to 50000.







    share|improve this answer

































      0


















      Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. ...of course to do this you need that key to actually exist






      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/4.0/"u003ecc by-sa 4.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%2f8402%2fhow-can-i-change-the-default-port-of-remote-desktop-vnc%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









        5


















        Using a little information from the (now dead) Dave's Tech Blog, you can adjust the port setting by going into gconf-editor.



        Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. Just change the value to what you need. Then enable the key use_alternative_port.



        The other option is if your router/firewall support uPnp you can adjust Vino to make the adjustment in the same section of gconf-editor.



        • Reference: How do I use the gconf editor?





        share|improve this answer
































          5


















          Using a little information from the (now dead) Dave's Tech Blog, you can adjust the port setting by going into gconf-editor.



          Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. Just change the value to what you need. Then enable the key use_alternative_port.



          The other option is if your router/firewall support uPnp you can adjust Vino to make the adjustment in the same section of gconf-editor.



          • Reference: How do I use the gconf editor?





          share|improve this answer






























            5














            5










            5









            Using a little information from the (now dead) Dave's Tech Blog, you can adjust the port setting by going into gconf-editor.



            Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. Just change the value to what you need. Then enable the key use_alternative_port.



            The other option is if your router/firewall support uPnp you can adjust Vino to make the adjustment in the same section of gconf-editor.



            • Reference: How do I use the gconf editor?





            share|improve this answer
















            Using a little information from the (now dead) Dave's Tech Blog, you can adjust the port setting by going into gconf-editor.



            Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. Just change the value to what you need. Then enable the key use_alternative_port.



            The other option is if your router/firewall support uPnp you can adjust Vino to make the adjustment in the same section of gconf-editor.



            • Reference: How do I use the gconf editor?






            share|improve this answer















            share|improve this answer




            share|improve this answer








            edited May 30 '18 at 12:49









            Oli

            233k96 gold badges594 silver badges783 bronze badges




            233k96 gold badges594 silver badges783 bronze badges










            answered Oct 20 '10 at 4:29









            Casey KellerCasey Keller

            1,0513 gold badges11 silver badges23 bronze badges




            1,0513 gold badges11 silver badges23 bronze badges


























                1


















                You can also do this from the command line.

                For example, to use port 5555, you would use these two commands:



                gconftool-2 --set --type=bool /desktop/gnome/remote_access/use_alternative_port true
                gconftool-2 --set --type=int /desktop/gnome/remote_access/alternative_port 5555


                Note, if you follow the schema docs, the port should be in the 5000 - 50000 range:




                [the alternative_port key is set to] the port which
                the server will listen to if the
                'use_alternative_port' key is set to
                true. Valid values are in the range
                from 5000 to 50000.







                share|improve this answer






























                  1


















                  You can also do this from the command line.

                  For example, to use port 5555, you would use these two commands:



                  gconftool-2 --set --type=bool /desktop/gnome/remote_access/use_alternative_port true
                  gconftool-2 --set --type=int /desktop/gnome/remote_access/alternative_port 5555


                  Note, if you follow the schema docs, the port should be in the 5000 - 50000 range:




                  [the alternative_port key is set to] the port which
                  the server will listen to if the
                  'use_alternative_port' key is set to
                  true. Valid values are in the range
                  from 5000 to 50000.







                  share|improve this answer




























                    1














                    1










                    1









                    You can also do this from the command line.

                    For example, to use port 5555, you would use these two commands:



                    gconftool-2 --set --type=bool /desktop/gnome/remote_access/use_alternative_port true
                    gconftool-2 --set --type=int /desktop/gnome/remote_access/alternative_port 5555


                    Note, if you follow the schema docs, the port should be in the 5000 - 50000 range:




                    [the alternative_port key is set to] the port which
                    the server will listen to if the
                    'use_alternative_port' key is set to
                    true. Valid values are in the range
                    from 5000 to 50000.







                    share|improve this answer














                    You can also do this from the command line.

                    For example, to use port 5555, you would use these two commands:



                    gconftool-2 --set --type=bool /desktop/gnome/remote_access/use_alternative_port true
                    gconftool-2 --set --type=int /desktop/gnome/remote_access/alternative_port 5555


                    Note, if you follow the schema docs, the port should be in the 5000 - 50000 range:




                    [the alternative_port key is set to] the port which
                    the server will listen to if the
                    'use_alternative_port' key is set to
                    true. Valid values are in the range
                    from 5000 to 50000.








                    share|improve this answer













                    share|improve this answer




                    share|improve this answer










                    answered Jan 20 '11 at 0:35









                    belacquabelacqua

                    16.6k15 gold badges75 silver badges104 bronze badges




                    16.6k15 gold badges75 silver badges104 bronze badges
























                        0


















                        Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. ...of course to do this you need that key to actually exist






                        share|improve this answer






























                          0


















                          Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. ...of course to do this you need that key to actually exist






                          share|improve this answer




























                            0














                            0










                            0









                            Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. ...of course to do this you need that key to actually exist






                            share|improve this answer














                            Under desktop > gnome > remote access there is a key that says alternative_port and is set to 5900. ...of course to do this you need that key to actually exist







                            share|improve this answer













                            share|improve this answer




                            share|improve this answer










                            answered Jun 19 '13 at 1:08









                            jfc1jfc1

                            1




                            1































                                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%2f8402%2fhow-can-i-change-the-default-port-of-remote-desktop-vnc%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

                                Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

                                How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

                                Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü