From LedHed's Wiki
Jump to: navigation, search

To log out of gnome from the a virtual term (CTRL+ALT+F1) do the following:

1. Set the DISPLAY variable

export DISPLAY=:7.0

2. gnome-session-save --logout --display=$DISPLAY