Saturday, April 27, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 18524  / 2 Years ago, thu, january 13, 2022, 11:41:59

I am using Ubuntu 13.04 64-bit. I need to perform some database benchmarks on my computer so I want to make it in strict terminal mode, without desktop. I know I can ctrl-alt-f1 to go to terminal mode, but there is still graphical desktop running in background. (Using CPU and RAM which I do not want it to).



So please help me to kill all graphical components and switch to only terminal mode (for better performance). I will not need multiple users to be able to log in and do not need to have networking (all benchmarks will be on localhost interface).


More From » command-line

 Answers
5

The command below will stop the graphical interface. The next one will restart it for you (everything will be reset as if you had restarted your computer).



sudo service lightdm stop
sudo service lightdm start


This works for Unity, I don't know for sure if it works on Gnome desktop.


[#29238] Saturday, January 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionverflow

Total Points: 500
Total Questions: 115
Total Answers: 120

Location: Northern Ireland
Member since Mon, Nov 14, 2022
1 Year ago
;