Sometimes I need to shut down Gnome and Xserver and leave only command line for my server work. But when i'm leaving Gnome with
or stopping X with Ctrl+Alt+Backspace combination
gnome-session-save --kill --silent
it brings me to tty1, but afer a few seconds Gnome(and X) starts again with graphical Welcome screen and asking me to log in.
So, is there any way to disable that autorestart? I'm sure when I'll need it I'll start it with
Thank's for your help.
Don't use GDM. Use xinit
In your home directory create .xinitrc file with
and use xinit from console to start Gnome. When you will logout - it won't start X automatically