On Qubes OS 4.0, how to get xl console access to sys-net?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I tried xl console sys-net which is something that works for any other VM (AppVM, TemplateVM), it even works for sys-net-dm (I don't know what that is though)



[ctor@dom0 ~]$ time sudo xl console sys-net
xenconsole: Could not read tty from store: No such file or directory

real 0m5.036s
user 0m0.005s
sys 0m0.015s


[ctor@dom0 ~]$ rpm -qf `which xl`
xen-runtime-4.8.4-2.fc25.x86_64









share|improve this question

























    up vote
    0
    down vote

    favorite












    I tried xl console sys-net which is something that works for any other VM (AppVM, TemplateVM), it even works for sys-net-dm (I don't know what that is though)



    [ctor@dom0 ~]$ time sudo xl console sys-net
    xenconsole: Could not read tty from store: No such file or directory

    real 0m5.036s
    user 0m0.005s
    sys 0m0.015s


    [ctor@dom0 ~]$ rpm -qf `which xl`
    xen-runtime-4.8.4-2.fc25.x86_64









    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I tried xl console sys-net which is something that works for any other VM (AppVM, TemplateVM), it even works for sys-net-dm (I don't know what that is though)



      [ctor@dom0 ~]$ time sudo xl console sys-net
      xenconsole: Could not read tty from store: No such file or directory

      real 0m5.036s
      user 0m0.005s
      sys 0m0.015s


      [ctor@dom0 ~]$ rpm -qf `which xl`
      xen-runtime-4.8.4-2.fc25.x86_64









      share|improve this question













      I tried xl console sys-net which is something that works for any other VM (AppVM, TemplateVM), it even works for sys-net-dm (I don't know what that is though)



      [ctor@dom0 ~]$ time sudo xl console sys-net
      xenconsole: Could not read tty from store: No such file or directory

      real 0m5.036s
      user 0m0.005s
      sys 0m0.015s


      [ctor@dom0 ~]$ rpm -qf `which xl`
      xen-runtime-4.8.4-2.fc25.x86_64






      console xen serial-console qubes virtual-consoles






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 8 at 11:19









      Marcus Linsner

      18414




      18414




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          For unknown reasons (bug?) you have to explicitly use the -t flag to specify the console type, which can be any of the two serial of pv. Either works!



          So either of the following two work:
          sudo xl console -t pv sys-net
          sudo xl console -t serial sys-net

          But this won't work for sys-net:
          sudo xl console sys-net



          $ xl console --help
          Usage: xl [-v] console [options] <Domain>
          -t <type> console type, pv or serial
          -n <number> console number

          Attach to domain's console.

          [ctor@dom0 ~]$ sudo xl console -t pv sys-net

          Fedora 28 (Twenty Eight)
          Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

          sys-net login:

          [ctor@dom0 ~]$ sudo xl console -t serial sys-net

          Fedora 28 (Twenty Eight)
          Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

          sys-net login:

          [ctor@dom0 ~]$ sudo xl console sys-net
          xenconsole: Could not read tty from store: No such file or directory

          [ctor@dom0 ~]$ rpm -qf `which xl`
          xen-runtime-4.8.4-2.fc25.x86_64


          Note: Exit console by pressing Ctrl+]



          sys-net has Virtualization mode set to HVM. All the other VMs have it set to default (PVH). That seems to be the main difference.






          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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            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%2f467699%2fon-qubes-os-4-0-how-to-get-xl-console-access-to-sys-net%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            For unknown reasons (bug?) you have to explicitly use the -t flag to specify the console type, which can be any of the two serial of pv. Either works!



            So either of the following two work:
            sudo xl console -t pv sys-net
            sudo xl console -t serial sys-net

            But this won't work for sys-net:
            sudo xl console sys-net



            $ xl console --help
            Usage: xl [-v] console [options] <Domain>
            -t <type> console type, pv or serial
            -n <number> console number

            Attach to domain's console.

            [ctor@dom0 ~]$ sudo xl console -t pv sys-net

            Fedora 28 (Twenty Eight)
            Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

            sys-net login:

            [ctor@dom0 ~]$ sudo xl console -t serial sys-net

            Fedora 28 (Twenty Eight)
            Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

            sys-net login:

            [ctor@dom0 ~]$ sudo xl console sys-net
            xenconsole: Could not read tty from store: No such file or directory

            [ctor@dom0 ~]$ rpm -qf `which xl`
            xen-runtime-4.8.4-2.fc25.x86_64


            Note: Exit console by pressing Ctrl+]



            sys-net has Virtualization mode set to HVM. All the other VMs have it set to default (PVH). That seems to be the main difference.






            share|improve this answer
























              up vote
              0
              down vote



              accepted










              For unknown reasons (bug?) you have to explicitly use the -t flag to specify the console type, which can be any of the two serial of pv. Either works!



              So either of the following two work:
              sudo xl console -t pv sys-net
              sudo xl console -t serial sys-net

              But this won't work for sys-net:
              sudo xl console sys-net



              $ xl console --help
              Usage: xl [-v] console [options] <Domain>
              -t <type> console type, pv or serial
              -n <number> console number

              Attach to domain's console.

              [ctor@dom0 ~]$ sudo xl console -t pv sys-net

              Fedora 28 (Twenty Eight)
              Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

              sys-net login:

              [ctor@dom0 ~]$ sudo xl console -t serial sys-net

              Fedora 28 (Twenty Eight)
              Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

              sys-net login:

              [ctor@dom0 ~]$ sudo xl console sys-net
              xenconsole: Could not read tty from store: No such file or directory

              [ctor@dom0 ~]$ rpm -qf `which xl`
              xen-runtime-4.8.4-2.fc25.x86_64


              Note: Exit console by pressing Ctrl+]



              sys-net has Virtualization mode set to HVM. All the other VMs have it set to default (PVH). That seems to be the main difference.






              share|improve this answer






















                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                For unknown reasons (bug?) you have to explicitly use the -t flag to specify the console type, which can be any of the two serial of pv. Either works!



                So either of the following two work:
                sudo xl console -t pv sys-net
                sudo xl console -t serial sys-net

                But this won't work for sys-net:
                sudo xl console sys-net



                $ xl console --help
                Usage: xl [-v] console [options] <Domain>
                -t <type> console type, pv or serial
                -n <number> console number

                Attach to domain's console.

                [ctor@dom0 ~]$ sudo xl console -t pv sys-net

                Fedora 28 (Twenty Eight)
                Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

                sys-net login:

                [ctor@dom0 ~]$ sudo xl console -t serial sys-net

                Fedora 28 (Twenty Eight)
                Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

                sys-net login:

                [ctor@dom0 ~]$ sudo xl console sys-net
                xenconsole: Could not read tty from store: No such file or directory

                [ctor@dom0 ~]$ rpm -qf `which xl`
                xen-runtime-4.8.4-2.fc25.x86_64


                Note: Exit console by pressing Ctrl+]



                sys-net has Virtualization mode set to HVM. All the other VMs have it set to default (PVH). That seems to be the main difference.






                share|improve this answer












                For unknown reasons (bug?) you have to explicitly use the -t flag to specify the console type, which can be any of the two serial of pv. Either works!



                So either of the following two work:
                sudo xl console -t pv sys-net
                sudo xl console -t serial sys-net

                But this won't work for sys-net:
                sudo xl console sys-net



                $ xl console --help
                Usage: xl [-v] console [options] <Domain>
                -t <type> console type, pv or serial
                -n <number> console number

                Attach to domain's console.

                [ctor@dom0 ~]$ sudo xl console -t pv sys-net

                Fedora 28 (Twenty Eight)
                Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

                sys-net login:

                [ctor@dom0 ~]$ sudo xl console -t serial sys-net

                Fedora 28 (Twenty Eight)
                Kernel 4.14.67-1.pvops.qubes.x86_64 on an x86_64 (hvc0)

                sys-net login:

                [ctor@dom0 ~]$ sudo xl console sys-net
                xenconsole: Could not read tty from store: No such file or directory

                [ctor@dom0 ~]$ rpm -qf `which xl`
                xen-runtime-4.8.4-2.fc25.x86_64


                Note: Exit console by pressing Ctrl+]



                sys-net has Virtualization mode set to HVM. All the other VMs have it set to default (PVH). That seems to be the main difference.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 8 at 11:19









                Marcus Linsner

                18414




                18414



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f467699%2fon-qubes-os-4-0-how-to-get-xl-console-access-to-sys-net%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay