title: How do I logout from a computer using shell?
body: <p>How can I log out of my computer using shell such the log-in window appears again?</p>
  
  <p>I need this functionality in one my Linux script.</p>
  
  <p>Update:
  I want to replicate the code working behind the Logout button of my Ubuntu.</p>
  
  <p>Desktop Enviroment being used: GNOME</p>