Saturday, February 13, 2016

Disabling Ubuntu Mate GUI on Startup

When you have already configured SSH in you BPI, you don't need GUI anymore unless you want to use your BPI as a media center. Turning off GUI enables a lot of resources because the xorg services is off.

to turn off GUI:
systemctl disable lightdm

to turn it on again:
systemctl enable lightdm

You can see that the xorg process itself is taking 25-45% of CPU usage.

another way to turning it off is by:

systemctl set-default multi-user.target --force 
systemctl disable lightdm.service --force
systemctl disable graphical.target --force 
systemctl disable plymouth.service --force

No comments:

Post a Comment