On Ubuntu, you can switch to text mode and go to a tty session.
To switch to 1 to 6 tty session, do
CTRL+ALT+1 for example
To go back to the gnome session, do
CTRL+ALT+7
To switch to 1 to 6 tty session, do
CTRL+ALT+1 for example
To go back to the gnome session, do
CTRL+ALT+7