Tag Archives: CentOS

Logout from Gnome via shell command

If you need to end your Gnome session and logout via command line – type this in gnome-terminal or your preffered terminal emulator: [user@host ~]$ gnome-session-quit You will be logged out of your gnome-session as if you would click on the Logout button in the UI.

Quick and dirty way to remotely connect to GDM

This is a quick & dirty way how to remotely connect to another machine on the same network (and start a gnome user session via GDM if needed). First ssh to the host where you want to be able to connect to and install the x11vnc package: [user@server ~]$ sudo yum install x11vnc Run the […]