Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 52184  / 1 Year ago, sun, january 15, 2023, 5:57:25

I have installed ubuntu-12.04.1-server-i386 and on top of that i have installed Ubuntu desktop environment so that i can maintain server easily.



Hear I totally understand that installing Desktop environment will affect my server efficiency but its quit easy to maintain server with GUI so I am wondering that is there any workaround to enable or disable Ubuntu Desktop Environment whenever we need it like we do in Windows for services ?
I searched and reffed many sites but did not found anything related to this.



Thanks in advance and sorry for my poor English.



enter image description here


More From » server

 Answers
2

This is a specific instance of a generic question, "how do I prevent an upstart service from running at boot".



You can use an override:




sudo echo "manual" >> /etc/init/lightdm.override




To start lightdm on command:




sudo start lightdm




To restore your system so that lightdm is always started on boot:




sudo rm /etc/init/lightdm.override




For more information, the upstart cookbook is your friend:



http://upstart.ubuntu.com/cookbook/



SRC : Here


[#27600] Tuesday, January 17, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ardtry

Total Points: 254
Total Questions: 99
Total Answers: 114

Location: Finland
Member since Fri, Oct 21, 2022
2 Years ago
;