Ubuntu log out GUI from SSH

In Ubuntu, we can log out GUI from SSH:

pkill -u username
Category >> Linux  
If you want someone to read your code, please put the code inside <pre><code> and </code></pre> tags. For example:
<pre><code> 
String foo = "bar";
</code></pre>