How to detach from a screen session from within a tmux session?How to detach a tmux session that itself...

Print last inputted byte

Are hand made posters acceptable in Academia?

UK Tourist Visa- Enquiry

Weird lines in Microsoft Word

What is it called when someone votes for an option that's not their first choice?

Hot air balloons as primitive bombers

Jem'Hadar, something strange about their life expectancy

Writing in a Christian voice

Why are there no stars visible in cislunar space?

Homology of the fiber

Output visual diagram of picture

How can an organ that provides biological immortality be unable to regenerate?

Which partition to make active?

Is this Pascal's Matrix?

What (if any) is the reason to buy in small local stores?

When did hardware antialiasing start being available?

Can "few" be used as a subject? If so, what is the rule?

Friend wants my recommendation but I don't want to give it to him

What will the Frenchman say?

Why I don't get the wanted width of tcbox?

How to balance a monster modification (zombie)?

What is the reasoning behind standardization (dividing by standard deviation)?

Single word to change groups

is this saw blade faulty?



How to detach from a screen session from within a tmux session?


How to detach a tmux session that itself already in a tmux?Is it possible to spawn an ssh-agent for a new tmux session?Detach the *other* tmux client(s)Detach from local tmux session to attach to remote tmux?How do I recover from a `tmux a` by mistake within a tmux session?tmux multiple instances of the same sessiontmux detach session remoteHow to detach tmux session using commandTmux starting a second session upon startup with .tmux.conf fileHow can I detach from a remote tmux session that is displayed within a local tmux session?













0















How to detach from a screen session from within a tmux session?



I've seen posts of how to detach from screen within screen and from tmux within tmux, but none of them worked for me.










share|improve this question





























    0















    How to detach from a screen session from within a tmux session?



    I've seen posts of how to detach from screen within screen and from tmux within tmux, but none of them worked for me.










    share|improve this question



























      0












      0








      0








      How to detach from a screen session from within a tmux session?



      I've seen posts of how to detach from screen within screen and from tmux within tmux, but none of them worked for me.










      share|improve this question
















      How to detach from a screen session from within a tmux session?



      I've seen posts of how to detach from screen within screen and from tmux within tmux, but none of them worked for me.







      tmux gnu-screen






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 25 '17 at 8:18









      Kamil Maciorowski

      28.4k156186




      28.4k156186










      asked Aug 23 '17 at 12:59









      sergeysergey

      11




      11






















          2 Answers
          2






          active

          oldest

          votes


















          1














          screen and tmux use different prefix keys by default:





          • Ctrl+A for screen


          • Ctrl+B for tmux


          Just detach from screen session by sending Ctrl+A, D. If you configured them both to use the same prefix, tmux will pass prefix the second time you press it.






          share|improve this answer

































            0














            To add on @atype answer. If the prefix key is same ie ctrl + A then you need to press A double time then D ie



            ctrl + A + A + D





            share























              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%2f1243637%2fhow-to-detach-from-a-screen-session-from-within-a-tmux-session%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              screen and tmux use different prefix keys by default:





              • Ctrl+A for screen


              • Ctrl+B for tmux


              Just detach from screen session by sending Ctrl+A, D. If you configured them both to use the same prefix, tmux will pass prefix the second time you press it.






              share|improve this answer






























                1














                screen and tmux use different prefix keys by default:





                • Ctrl+A for screen


                • Ctrl+B for tmux


                Just detach from screen session by sending Ctrl+A, D. If you configured them both to use the same prefix, tmux will pass prefix the second time you press it.






                share|improve this answer




























                  1












                  1








                  1







                  screen and tmux use different prefix keys by default:





                  • Ctrl+A for screen


                  • Ctrl+B for tmux


                  Just detach from screen session by sending Ctrl+A, D. If you configured them both to use the same prefix, tmux will pass prefix the second time you press it.






                  share|improve this answer















                  screen and tmux use different prefix keys by default:





                  • Ctrl+A for screen


                  • Ctrl+B for tmux


                  Just detach from screen session by sending Ctrl+A, D. If you configured them both to use the same prefix, tmux will pass prefix the second time you press it.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 25 '17 at 8:15









                  Kamil Maciorowski

                  28.4k156186




                  28.4k156186










                  answered Aug 23 '17 at 14:26









                  atypeatype

                  61848




                  61848

























                      0














                      To add on @atype answer. If the prefix key is same ie ctrl + A then you need to press A double time then D ie



                      ctrl + A + A + D





                      share




























                        0














                        To add on @atype answer. If the prefix key is same ie ctrl + A then you need to press A double time then D ie



                        ctrl + A + A + D





                        share


























                          0












                          0








                          0







                          To add on @atype answer. If the prefix key is same ie ctrl + A then you need to press A double time then D ie



                          ctrl + A + A + D





                          share













                          To add on @atype answer. If the prefix key is same ie ctrl + A then you need to press A double time then D ie



                          ctrl + A + A + D






                          share











                          share


                          share










                          answered 2 mins ago









                          Err0rrErr0rr

                          215




                          215






























                              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%2f1243637%2fhow-to-detach-from-a-screen-session-from-within-a-tmux-session%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

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

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