tool to fix another ubuntu from remote












0















Notion of the LiveCD/LiveUSB is priceless. I was wondering if such a parent functioning OS session can be leveraged to allow skilled people to fix a friend's broken ubuntu desktop from remote. At some point we have all encountered during boot up the blank purple screen, or any number of other boot up issues which indicates box needs to get fixed. If we had that broken OS machine at hand no problem to fix. So I was wondering what it would take to whip up a liveUSB inspired boot up session which can get booted by a friend in a remote location to allow me to interactively fix their broken ubuntu install ?



The normal login to remote desktop software assumes the remote machine is functioning. I need ability to remote login to fix a broken remote Ubuntu install possibly by leveraging a jacked up liveUSB like bootable OS to give me boots on the ground on that remote machine.



Do such tools exist ? Possibly a baby step would be to cable together a working ubuntu machine with another machine which needs to get fixed and have one machine probe and interact, boot, do edits on the broken machine.










share|improve this question





























    0















    Notion of the LiveCD/LiveUSB is priceless. I was wondering if such a parent functioning OS session can be leveraged to allow skilled people to fix a friend's broken ubuntu desktop from remote. At some point we have all encountered during boot up the blank purple screen, or any number of other boot up issues which indicates box needs to get fixed. If we had that broken OS machine at hand no problem to fix. So I was wondering what it would take to whip up a liveUSB inspired boot up session which can get booted by a friend in a remote location to allow me to interactively fix their broken ubuntu install ?



    The normal login to remote desktop software assumes the remote machine is functioning. I need ability to remote login to fix a broken remote Ubuntu install possibly by leveraging a jacked up liveUSB like bootable OS to give me boots on the ground on that remote machine.



    Do such tools exist ? Possibly a baby step would be to cable together a working ubuntu machine with another machine which needs to get fixed and have one machine probe and interact, boot, do edits on the broken machine.










    share|improve this question



























      0












      0








      0








      Notion of the LiveCD/LiveUSB is priceless. I was wondering if such a parent functioning OS session can be leveraged to allow skilled people to fix a friend's broken ubuntu desktop from remote. At some point we have all encountered during boot up the blank purple screen, or any number of other boot up issues which indicates box needs to get fixed. If we had that broken OS machine at hand no problem to fix. So I was wondering what it would take to whip up a liveUSB inspired boot up session which can get booted by a friend in a remote location to allow me to interactively fix their broken ubuntu install ?



      The normal login to remote desktop software assumes the remote machine is functioning. I need ability to remote login to fix a broken remote Ubuntu install possibly by leveraging a jacked up liveUSB like bootable OS to give me boots on the ground on that remote machine.



      Do such tools exist ? Possibly a baby step would be to cable together a working ubuntu machine with another machine which needs to get fixed and have one machine probe and interact, boot, do edits on the broken machine.










      share|improve this question
















      Notion of the LiveCD/LiveUSB is priceless. I was wondering if such a parent functioning OS session can be leveraged to allow skilled people to fix a friend's broken ubuntu desktop from remote. At some point we have all encountered during boot up the blank purple screen, or any number of other boot up issues which indicates box needs to get fixed. If we had that broken OS machine at hand no problem to fix. So I was wondering what it would take to whip up a liveUSB inspired boot up session which can get booted by a friend in a remote location to allow me to interactively fix their broken ubuntu install ?



      The normal login to remote desktop software assumes the remote machine is functioning. I need ability to remote login to fix a broken remote Ubuntu install possibly by leveraging a jacked up liveUSB like bootable OS to give me boots on the ground on that remote machine.



      Do such tools exist ? Possibly a baby step would be to cable together a working ubuntu machine with another machine which needs to get fixed and have one machine probe and interact, boot, do edits on the broken machine.







      live-usb remote-desktop remote






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 5 at 11:47







      Scott Stensland

















      asked Feb 5 at 11:41









      Scott StenslandScott Stensland

      5,06242342




      5,06242342






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can have someone boot the broken machine from a live CD. Assuming there are no hardware issues it should boot fine. Then have the user either connect the broken machine to ethernet, or guide him/her through the process of connecting to Wifi. If the broken machine is behind a firewall, connect to the router (can even do this from the live CD OS) and install openssh:



          sudo apt install openssh-server


          Then route port 22 to the broken machine (keeping it simple here). Create an account for the remote user to use for login.



          The remote rescue machine logs into the broken machine live OS over ssh. The remote machine can mount the file system of the broken machine to check the logs and perhaps disable nonessential services and maybe configure it to boot into a console rather than auto-launching the desktop (so the remote user can boot, fix something, launch the desktop, repeat). Finally with the help of the remote user, remove the CD to try a reboot.



          In a dire situation, you could install VirtualBox on the live OS and boot the broken OS that way (boot as a raw partition).






          share|improve this answer


























          • Consider adding an explicit step after network-up to install and configure openssh-server, which is not included in Desktop live images.

            – user535733
            Feb 5 at 14:33











          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%2f1115800%2ftool-to-fix-another-ubuntu-from-remote%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














          You can have someone boot the broken machine from a live CD. Assuming there are no hardware issues it should boot fine. Then have the user either connect the broken machine to ethernet, or guide him/her through the process of connecting to Wifi. If the broken machine is behind a firewall, connect to the router (can even do this from the live CD OS) and install openssh:



          sudo apt install openssh-server


          Then route port 22 to the broken machine (keeping it simple here). Create an account for the remote user to use for login.



          The remote rescue machine logs into the broken machine live OS over ssh. The remote machine can mount the file system of the broken machine to check the logs and perhaps disable nonessential services and maybe configure it to boot into a console rather than auto-launching the desktop (so the remote user can boot, fix something, launch the desktop, repeat). Finally with the help of the remote user, remove the CD to try a reboot.



          In a dire situation, you could install VirtualBox on the live OS and boot the broken OS that way (boot as a raw partition).






          share|improve this answer


























          • Consider adding an explicit step after network-up to install and configure openssh-server, which is not included in Desktop live images.

            – user535733
            Feb 5 at 14:33
















          0














          You can have someone boot the broken machine from a live CD. Assuming there are no hardware issues it should boot fine. Then have the user either connect the broken machine to ethernet, or guide him/her through the process of connecting to Wifi. If the broken machine is behind a firewall, connect to the router (can even do this from the live CD OS) and install openssh:



          sudo apt install openssh-server


          Then route port 22 to the broken machine (keeping it simple here). Create an account for the remote user to use for login.



          The remote rescue machine logs into the broken machine live OS over ssh. The remote machine can mount the file system of the broken machine to check the logs and perhaps disable nonessential services and maybe configure it to boot into a console rather than auto-launching the desktop (so the remote user can boot, fix something, launch the desktop, repeat). Finally with the help of the remote user, remove the CD to try a reboot.



          In a dire situation, you could install VirtualBox on the live OS and boot the broken OS that way (boot as a raw partition).






          share|improve this answer


























          • Consider adding an explicit step after network-up to install and configure openssh-server, which is not included in Desktop live images.

            – user535733
            Feb 5 at 14:33














          0












          0








          0







          You can have someone boot the broken machine from a live CD. Assuming there are no hardware issues it should boot fine. Then have the user either connect the broken machine to ethernet, or guide him/her through the process of connecting to Wifi. If the broken machine is behind a firewall, connect to the router (can even do this from the live CD OS) and install openssh:



          sudo apt install openssh-server


          Then route port 22 to the broken machine (keeping it simple here). Create an account for the remote user to use for login.



          The remote rescue machine logs into the broken machine live OS over ssh. The remote machine can mount the file system of the broken machine to check the logs and perhaps disable nonessential services and maybe configure it to boot into a console rather than auto-launching the desktop (so the remote user can boot, fix something, launch the desktop, repeat). Finally with the help of the remote user, remove the CD to try a reboot.



          In a dire situation, you could install VirtualBox on the live OS and boot the broken OS that way (boot as a raw partition).






          share|improve this answer















          You can have someone boot the broken machine from a live CD. Assuming there are no hardware issues it should boot fine. Then have the user either connect the broken machine to ethernet, or guide him/her through the process of connecting to Wifi. If the broken machine is behind a firewall, connect to the router (can even do this from the live CD OS) and install openssh:



          sudo apt install openssh-server


          Then route port 22 to the broken machine (keeping it simple here). Create an account for the remote user to use for login.



          The remote rescue machine logs into the broken machine live OS over ssh. The remote machine can mount the file system of the broken machine to check the logs and perhaps disable nonessential services and maybe configure it to boot into a console rather than auto-launching the desktop (so the remote user can boot, fix something, launch the desktop, repeat). Finally with the help of the remote user, remove the CD to try a reboot.



          In a dire situation, you could install VirtualBox on the live OS and boot the broken OS that way (boot as a raw partition).







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 8 at 11:06

























          answered Feb 5 at 12:09









          Eric MintzEric Mintz

          815412




          815412













          • Consider adding an explicit step after network-up to install and configure openssh-server, which is not included in Desktop live images.

            – user535733
            Feb 5 at 14:33



















          • Consider adding an explicit step after network-up to install and configure openssh-server, which is not included in Desktop live images.

            – user535733
            Feb 5 at 14:33

















          Consider adding an explicit step after network-up to install and configure openssh-server, which is not included in Desktop live images.

          – user535733
          Feb 5 at 14:33





          Consider adding an explicit step after network-up to install and configure openssh-server, which is not included in Desktop live images.

          – user535733
          Feb 5 at 14:33


















          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%2f1115800%2ftool-to-fix-another-ubuntu-from-remote%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

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          File:DeusFollowingSea.jpg