vncviewer connect to primary display of lightdm on debian jessie (share with physical desktop)?Xvnc4 started...

Everyone is beautiful

Overfitting and Underfitting

What is the time complexity of enqueue and dequeue of a queue implemented with a singly linked list?

When teaching someone how to prove a function is uniformly continuous, using epsilon/delta, which example would be among the simplest?

How to prove teleportation does not violate non-cloning theorem?

Reference on complex cobordism

Do authors have to be politically correct in article-writing?

Can we use the stored gravitational potential energy of a building to produce power?

Can pricing be copyrighted?

What's the most convenient time of year in the USA to end the world?

What is better: yes / no radio, or simple checkbox?

How is the Incom shipyard still in business?

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

What to do if authors don't respond to my serious concerns about their paper?

Why do neural networks need so many training examples to perform?

Does Windows 10's telemetry include sending *.doc files if Word crashed?

Rear brake cable temporary fix possible?

How can I improve my fireworks photography?

Can polymorphing monsters spam their ability to effectively give themselves a massive health pool?

What formula could mimic the following curve?

Why would the Pakistan airspace closure cancel flights not headed to Pakistan itself?

The vanishing of sum of coefficients: symmetric polynomials

How to remove trailing forward slash

Pendulum Rotation



vncviewer connect to primary display of lightdm on debian jessie (share with physical desktop)?


Xvnc4 started from xinetd only displays empty gray X screenVNC port numbersRaspberry Pi Fedora 18 ARM Remix Remote Desktop from Windows 7Remote Access without Teamviewer or Hamachi - Part 2 of 2Enabling 5.1 with a Xonar DS soundcard on Debian JessieBoot Debian with external monitor as primary display deviceIssue with apt-get on Debian JessieHow to properly start x11vnc through systemd socket activation?How to connect 2.2" LCD to nanopi(an arm-based board) with Debian Jessie OS?Debian Jessie with systemd: bloated log files are never deleted













0















My server setup is: Debian jessie with lightdm DM with only modified changes section to sudo cat /etc/lightdm/lightdm.conf:




[VNCServer]
enabled=true
command=Xvnc -rfbauth /home/abarik/.vnc/passwd
port=5900
listen-address=localhost
greeter-session=lightdm-gtk-greeter
user-session=gnome
width=1024
height=768
depth=24



I also have a desktop with primary monitor attached to it with default DM to lightdm.



My client setup: vnc client is vncviewer on mac (OS X)



How do I make sure that, if I VNC into the server from client, I reuse the primary physical display? If thats not possible, how do i keep atleast one of my virtual port 5900 active even after disconnecting?










share|improve this question



























    0















    My server setup is: Debian jessie with lightdm DM with only modified changes section to sudo cat /etc/lightdm/lightdm.conf:




    [VNCServer]
    enabled=true
    command=Xvnc -rfbauth /home/abarik/.vnc/passwd
    port=5900
    listen-address=localhost
    greeter-session=lightdm-gtk-greeter
    user-session=gnome
    width=1024
    height=768
    depth=24



    I also have a desktop with primary monitor attached to it with default DM to lightdm.



    My client setup: vnc client is vncviewer on mac (OS X)



    How do I make sure that, if I VNC into the server from client, I reuse the primary physical display? If thats not possible, how do i keep atleast one of my virtual port 5900 active even after disconnecting?










    share|improve this question

























      0












      0








      0








      My server setup is: Debian jessie with lightdm DM with only modified changes section to sudo cat /etc/lightdm/lightdm.conf:




      [VNCServer]
      enabled=true
      command=Xvnc -rfbauth /home/abarik/.vnc/passwd
      port=5900
      listen-address=localhost
      greeter-session=lightdm-gtk-greeter
      user-session=gnome
      width=1024
      height=768
      depth=24



      I also have a desktop with primary monitor attached to it with default DM to lightdm.



      My client setup: vnc client is vncviewer on mac (OS X)



      How do I make sure that, if I VNC into the server from client, I reuse the primary physical display? If thats not possible, how do i keep atleast one of my virtual port 5900 active even after disconnecting?










      share|improve this question














      My server setup is: Debian jessie with lightdm DM with only modified changes section to sudo cat /etc/lightdm/lightdm.conf:




      [VNCServer]
      enabled=true
      command=Xvnc -rfbauth /home/abarik/.vnc/passwd
      port=5900
      listen-address=localhost
      greeter-session=lightdm-gtk-greeter
      user-session=gnome
      width=1024
      height=768
      depth=24



      I also have a desktop with primary monitor attached to it with default DM to lightdm.



      My client setup: vnc client is vncviewer on mac (OS X)



      How do I make sure that, if I VNC into the server from client, I reuse the primary physical display? If thats not possible, how do i keep atleast one of my virtual port 5900 active even after disconnecting?







      linux debian remote-desktop vnc lightdm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 15 '18 at 10:36









      abarikabarik

      1042




      1042






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I think X11vnc is what you want.



          X11vnc provides ability to connect your physical monitor.



          For lightdm, you can use the following line.



          x11vnc -display :0 -auth /var/run/lightdm/root/:0



          If you want to run it constantly, you can add --loop flag like.



          x11vnc -display :0 -auth /var/run/lightdm/root/:0 --loop






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1375625%2fvncviewer-connect-to-primary-display-of-lightdm-on-debian-jessie-share-with-phy%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I think X11vnc is what you want.



            X11vnc provides ability to connect your physical monitor.



            For lightdm, you can use the following line.



            x11vnc -display :0 -auth /var/run/lightdm/root/:0



            If you want to run it constantly, you can add --loop flag like.



            x11vnc -display :0 -auth /var/run/lightdm/root/:0 --loop






            share|improve this answer




























              0














              I think X11vnc is what you want.



              X11vnc provides ability to connect your physical monitor.



              For lightdm, you can use the following line.



              x11vnc -display :0 -auth /var/run/lightdm/root/:0



              If you want to run it constantly, you can add --loop flag like.



              x11vnc -display :0 -auth /var/run/lightdm/root/:0 --loop






              share|improve this answer


























                0












                0








                0







                I think X11vnc is what you want.



                X11vnc provides ability to connect your physical monitor.



                For lightdm, you can use the following line.



                x11vnc -display :0 -auth /var/run/lightdm/root/:0



                If you want to run it constantly, you can add --loop flag like.



                x11vnc -display :0 -auth /var/run/lightdm/root/:0 --loop






                share|improve this answer













                I think X11vnc is what you want.



                X11vnc provides ability to connect your physical monitor.



                For lightdm, you can use the following line.



                x11vnc -display :0 -auth /var/run/lightdm/root/:0



                If you want to run it constantly, you can add --loop flag like.



                x11vnc -display :0 -auth /var/run/lightdm/root/:0 --loop







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 23 mins ago









                SigerSiger

                12




                12






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1375625%2fvncviewer-connect-to-primary-display-of-lightdm-on-debian-jessie-share-with-phy%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

                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...