LoginSignup
12
9

More than 5 years have passed since last update.

Ubuntu 16.04でGUIログインを無効にする

Posted at

次のコマンドを入力すると無効にできるようです。

$ sudo systemctl disable lightdm

今までのバージョンでは、 /etc/init/lightdm.override というファイルを作る方法もあったようですが、16.04ではこれがうまく動きません。

ちなみに、GUI起動時にCtrl+Alt+F1〜F6を押すと、ターミナルの画面になります。
Ctrl+Alt+F7でGUIが出てきます。

GUIを起動しないようにするだけで、手元の環境ではメモリが400MBほど節約できました。メモリ使用量は、次のコマンドで調べることができます。

$ free -h

参考リンク

12
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
9