Here is what is happening. I'm using debian with KDE. I open Konsole. I use ssh to log into my amazon server. All of the following commands are done in the Konsole whiled logged into the amazon server. The screen I get when I log it I will call "original" screen:

  1. I type screen and, as expected, I get a new detached screen

  2. I log into mysql

  3. Now I want to go to the "original". For this I would press Cntrl+a,d. However when I'm logged into mysql, it simply exits mysql (it logs me out) and does not send me back to the "original" screen.

  • Now I've got it. I know Konsole quite well. I think your question is likely answerable now. But just to be sure, can you post your .screenrc from the remote Amazon server? – Michael Hampton Aug 4 '18 at 23:40
  • I think I don't have one. As far as I understand .screenrc you create if you want to change some configurations. And I never did. There is nothing in my home and my etc folder only contains the example file. – aarelovich Aug 4 '18 at 23:59
  • when typing "screen" you should not get a "detached" screen, you should be inside screen in a new session with a new terminal active. – silmaril Aug 5 '18 at 14:50
  • Yes. You are right. My bad. Sorry. – aarelovich Aug 6 '18 at 15:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.