When you can't re-attach to your screen session after a lost connection Skip to content Skip to search Skip to login University Information Technology Services Menu About Toggle About navigation About this site Finance Office Facilities Our People Services Toggle Services navigation Accessibility All Services Accounts & email Wi-Fi & Networks Health Technology Services Hardware Intelligent Infrastructure Software & Platforms Technology for Teaching Computer Labs & Printing Technology for Research Initiatives Toggle Initiatives navigation Microsoft 365 Innovative Teaching & Learning News & Events Get Help Toggle Get Help navigation IT Notices Knowledge Base Hours & Locations Search Search Search Knowledge Base Toggle local menu Menus About the team Knowledge Base Search Log in Options Help Chat with a consultant 15 50 100 300 results per page Include archived documents When you can't re-attach to your screen session after a lost connection In some cases, your previous screen session may not have detached properly when you lost your connection. If this happens, you can detach your session manually. To see your existing screen sessions, enter: screen -list This will display a list of your current screen sessions. For instance, if you had one attached and one dead screen, you would see: There are screens on: 25542.pts-28.hostname (Dead ???) 1636.pts-21.hostname (Attached) Remove dead screens with 'screen -wipe'. 2 Sockets in /tmp/screens/S-username. To detach an attached screen, enter: screen -D If you have more than one attached screen, you can specify a particular screen to detach. For example, to detach the screen in the above example, you would enter: screen -D 1636.pts-21.hostname Once you've done this, you can resume the screen by entering the screen -r command. (In the above example, the dead screen isn't causing problems, but you should probably enter the screen -wipe command to get rid of it.) At Indiana University, for personal or departmental Linux or Unix systems support, see Get help for Linux or Unix at IU. Related documents About the screen program in Unix This is document ahrm in the Knowledge Base. Last modified on 2023-06-27 12:14:13. Social media Facebook for UITS Twitter for UITS Instagram for UITS YouTube for UITS Additional resources Support & More General support or comments: Email the UITS Support Center Research technology support: Contact Research Technologies Chat with a consultant AskIU One.IU Navigation Home Menus About us IT@IU About IT IT staff Jobs in IT OVPIT Accessibility Privacy Copyright © 2023 The Trustees of Indiana University