Capture a screenshot of XDM login screen?












2














I would like to screenshot my XDM login screen on FreeBSD-CURRENT. It’s currently configured on ttyv8.



What I’ve tried:



I have tried xwd with various options from ttyv1, but it reports is cannot open the display.



I’ve had a crack at configuring xdmcp to screenshot from my Mac via X11 forwarding, but the background does not appear.
The background is presented using qiv and is configured in Xsetup_n.



Having initially SSH’d onto the FreeBSD laptop with X forwarding enabled, the value of my DISPLAY variable was :10.0. I created an Xsetup_10 file (a straight copy from the Xsetup_0 file that works fine locally) and added the following line to /usr/local/lib/X11/xdm/xdm-config



DisplayManager._10.setup:  /usr/local/lib/X11/xdm/Xsetup_10


But this still didn’t work.



Question:



How can I screenshot my XDM login screen?










share|improve this question



























    2














    I would like to screenshot my XDM login screen on FreeBSD-CURRENT. It’s currently configured on ttyv8.



    What I’ve tried:



    I have tried xwd with various options from ttyv1, but it reports is cannot open the display.



    I’ve had a crack at configuring xdmcp to screenshot from my Mac via X11 forwarding, but the background does not appear.
    The background is presented using qiv and is configured in Xsetup_n.



    Having initially SSH’d onto the FreeBSD laptop with X forwarding enabled, the value of my DISPLAY variable was :10.0. I created an Xsetup_10 file (a straight copy from the Xsetup_0 file that works fine locally) and added the following line to /usr/local/lib/X11/xdm/xdm-config



    DisplayManager._10.setup:  /usr/local/lib/X11/xdm/Xsetup_10


    But this still didn’t work.



    Question:



    How can I screenshot my XDM login screen?










    share|improve this question

























      2












      2








      2







      I would like to screenshot my XDM login screen on FreeBSD-CURRENT. It’s currently configured on ttyv8.



      What I’ve tried:



      I have tried xwd with various options from ttyv1, but it reports is cannot open the display.



      I’ve had a crack at configuring xdmcp to screenshot from my Mac via X11 forwarding, but the background does not appear.
      The background is presented using qiv and is configured in Xsetup_n.



      Having initially SSH’d onto the FreeBSD laptop with X forwarding enabled, the value of my DISPLAY variable was :10.0. I created an Xsetup_10 file (a straight copy from the Xsetup_0 file that works fine locally) and added the following line to /usr/local/lib/X11/xdm/xdm-config



      DisplayManager._10.setup:  /usr/local/lib/X11/xdm/Xsetup_10


      But this still didn’t work.



      Question:



      How can I screenshot my XDM login screen?










      share|improve this question













      I would like to screenshot my XDM login screen on FreeBSD-CURRENT. It’s currently configured on ttyv8.



      What I’ve tried:



      I have tried xwd with various options from ttyv1, but it reports is cannot open the display.



      I’ve had a crack at configuring xdmcp to screenshot from my Mac via X11 forwarding, but the background does not appear.
      The background is presented using qiv and is configured in Xsetup_n.



      Having initially SSH’d onto the FreeBSD laptop with X forwarding enabled, the value of my DISPLAY variable was :10.0. I created an Xsetup_10 file (a straight copy from the Xsetup_0 file that works fine locally) and added the following line to /usr/local/lib/X11/xdm/xdm-config



      DisplayManager._10.setup:  /usr/local/lib/X11/xdm/Xsetup_10


      But this still didn’t work.



      Question:



      How can I screenshot my XDM login screen?







      freebsd screenshot login-manager xdm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 5 '15 at 9:35









      forquare

      2,25341228




      2,25341228






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Set it to /etc/X11/xdm/Xsetup:



          sleep 2 && import -w root /tmp/xdm.jpg &


          It's will take screenshot through two seconds when xdm started and place it to /tmp/xdm.jpg.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f233983%2fcapture-a-screenshot-of-xdm-login-screen%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














            Set it to /etc/X11/xdm/Xsetup:



            sleep 2 && import -w root /tmp/xdm.jpg &


            It's will take screenshot through two seconds when xdm started and place it to /tmp/xdm.jpg.






            share|improve this answer


























              0














              Set it to /etc/X11/xdm/Xsetup:



              sleep 2 && import -w root /tmp/xdm.jpg &


              It's will take screenshot through two seconds when xdm started and place it to /tmp/xdm.jpg.






              share|improve this answer
























                0












                0








                0






                Set it to /etc/X11/xdm/Xsetup:



                sleep 2 && import -w root /tmp/xdm.jpg &


                It's will take screenshot through two seconds when xdm started and place it to /tmp/xdm.jpg.






                share|improve this answer












                Set it to /etc/X11/xdm/Xsetup:



                sleep 2 && import -w root /tmp/xdm.jpg &


                It's will take screenshot through two seconds when xdm started and place it to /tmp/xdm.jpg.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 8 at 21:21









                Maxim Temny

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2funix.stackexchange.com%2fquestions%2f233983%2fcapture-a-screenshot-of-xdm-login-screen%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

                    List directoties down one level, excluding some named directories and files

                    list processes belonging to a network namespace

                    list systemd RuntimeDirectory mounts