{"id":2323,"date":"2020-12-04T16:09:53","date_gmt":"2020-12-04T16:09:53","guid":{"rendered":"https:\/\/linuxways.net\/?p=2323"},"modified":"2020-12-04T16:09:55","modified_gmt":"2020-12-04T16:09:55","slug":"how-to-log-out-of-debian-10","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-log-out-of-debian-10\/","title":{"rendered":"How to Log Out of Debian 10"},"content":{"rendered":"<p>Sometimes, you have multiple user accounts on your Linux system and you may need to switch from one user account to another user to access the system resources according to their assigned permissions. Switching between the multiple user accounts is not a good way because it does not completely end the user\u2019s current running session. All applications are opened by different users, running in the background of your system and utilizing system resources. Therefore, it is the best way to log out from your system that will end the currently running sessions and make the resources available for others. Once you logged out and log in back to your system, you need to open or launch again all the applications.<\/p>\n<p><strong>This article will describe how to logout of your system using different methods using the Debian distribution. We will run all commands and set of procedures on the Debian 10 system in this article.<\/strong><\/p>\n<p>Using the following different methods, you can log out from your system:<\/p>\n<ol>\n<li>Log out system using the terminal<\/li>\n<li>Log out system using the system menu<\/li>\n<li>Log out system using the keyboard shortcut<\/li>\n<li>Log out system using the activities window<\/li>\n<\/ol>\n<h2><strong>Method 1: Log out system using the terminal<\/strong><\/h2>\n<p>If you are connected with your Debian system through ssh then, you can only log out of your system using the terminal method. It\u2019s quite an easy task to logout using the terminal. To do this, you need to open the command line environment on your system where you will run the command. Click on the \u2018Activities\u2019 option from the left desktop corner and then type \u2018terminal\u2019 keyword in the search bar. The following icons will show you in the search results:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1714\" height=\"357\" class=\"wp-image-2324\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-45.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-45.png 1714w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-45-300x62.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-45-1024x213.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-45-768x160.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-45-1536x320.png 1536w\" sizes=\"auto, (max-width: 1714px) 100vw, 1714px\" \/><\/p>\n<p>Click on the red highlighted terminal icon and launch it. Now, type the following command to log out the user from the current login session:<\/p>\n<pre>$ gnome-session-quit<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"58\" class=\"wp-image-2325\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-46.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-46.png 732w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-46-300x24.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<p>When the above command is executed, a dialog will display on the system that will ask you whether you want to logout or not. In case of yes, click on the \u2018Logout\u2019 option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"527\" height=\"190\" class=\"wp-image-2326\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-47.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-47.png 527w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-47-300x108.png 300w\" sizes=\"auto, (max-width: 527px) 100vw, 527px\" \/><\/p>\n<h2><strong>Method 2: Log out system using the system menu<\/strong><\/h2>\n<p>Click on the right corner on the arrow symbol. You will see the drop down list. Click on the login user name to explore more options. Here, you will click on the <strong>\u2018log out\u2019 <\/strong>option for logging out of your Debian 10 system. You can see the details in the below screenshot for good understanding:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2327\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-48.png\" alt=\"Log out linux\" width=\"506\" height=\"514\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-48.png 506w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-48-295x300.png 295w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/p>\n<h2><strong>Method 3: Log out system using the keyboard shortcut<\/strong><\/h2>\n<p>The Debian system provides you a list of configured keyboard shortcuts that you can use to make your work easier. Using keyboard shortcuts, you can perform a task in less time so it is an efficient method. Debian provides you a \u2018logout\u2019 keyboard shortcut for logging off your Debian system.<\/p>\n<p>Click on the <strong>\u2018Activities\u2019 <\/strong>from the left corner of your Debian desktop and type <strong>\u2018keyboard shortcut\u2019<\/strong> keyword in the search bar. The following list of options have shown on the desktop:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2328\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-49.png\" alt=\"Log out linux\" width=\"1268\" height=\"574\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-49.png 1268w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-49-300x136.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-49-1024x464.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-49-768x348.png 768w\" sizes=\"auto, (max-width: 1268px) 100vw, 1268px\" \/><\/p>\n<p>Click on the red highlighted arrow <strong>\u2018keyboard\u2019<\/strong> option and the following window of keyboard shortcuts will show on the desktop:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2329\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-50.png\" alt=\"Log out linux\" width=\"980\" height=\"686\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-50.png 980w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-50-300x210.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-50-768x538.png 768w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/p>\n<p>Scroll your mouse cursor and you will see the following highlighted option \u2018log out\u2019. Press <strong>Ctrl + Alt + Delete<\/strong> to log out your system.<\/p>\n<h2><strong>Method 4: Log out system using the activities window<\/strong><\/h2>\n<p>This method is simple and easy. Click on the <strong>\u2018Activities\u2019<\/strong> option on the left top corner and then enter <strong>\u2018logout\u2019 <\/strong>in the search bar. The following logout icon will show in the search result. Click on it to logout of your system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2330\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-51.png\" alt=\"Log out linux\" width=\"1665\" height=\"486\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-51.png 1665w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-51-300x88.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-51-1024x299.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-51-768x224.png 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-51-1536x448.png 1536w\" sizes=\"auto, (max-width: 1665px) 100vw, 1665px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>We have given a brief overview of how you can log out from your Debian 10 system.\u00a0 We have discussed different methods of logging out of a Debian system. Therefore, you can choose any method that you think is more easy and convenient to use.<\/p>\n<p><a href=\"https:\/\/linuxways.net\/de\/centos\/how-to-log-out-of-centos-8\/\"><strong>If you would like to know how to log out from CentOS 8, click here.<\/strong><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Sometimes, you have multiple user accounts on your Linux system and you may need to switch from one user account to another user to access the system resources&hellip;<\/p>","protected":false},"author":2,"featured_media":2331,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[17,92],"class_list":["post-2323","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","tag-debian-10","tag-log-out"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=2323"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2323\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/2331"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=2323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=2323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=2323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}