우분투 서버를 설치하고 데스크탑을 최소로 설치한경우 ... gui 로 로그인이 뜨는데 이를 변경하기 위해서 런레벨을 바꿔도 소용 없었다.
아래와 같이 바꾸더라.
from http://superuser.com/questions/310978/starting-ubuntu-without-the-gui
I got a simple method to disable XFCE from this blog post: How to disable X at boot time in Ubuntu 11.10. Note: the post has a heading in some non-English language, possibly Portuguese, but the body of the post is in English.
With LightDM (lightdm
) being the new graphical user login in Ubuntu, users will need to find a way to disable it to boot into text mode. Fortunately, the people behind LightDM have made that really easy to do.
Edit /etc/default/grub
with your favorite editor,
sudo nano /etc/default/grub
Find this line:
GRUB_CMDLINE_LINUX_DEFAULT="<doesn’t matter what you find here>"
Change it to:
GRUB_CMDLINE_LINUX_DEFAULT="text"
Update Grub:
sudo update-grub
No need to remove / disable LightDM upstart conf; it already does that for you.
lightdm.conf
# Check kernel command-line for inhibitors, unless we are being called manually.
for ARG in $(cat /proc/cmdline); do
if [ "$ARG" = "text" ]; then
plymouth quit || :
stop
exit 0
fi
done
You will still be able to use X by typing startx
after you logged in.
'IT > Unix&Linux' 카테고리의 다른 글
cat 으로 읽은 여러줄 멀티라인 xargs 로 각각 넘기기 (0) | 2018.11.20 |
---|---|
curl... wget 대치가능 --> httpie 로 대체중 (0) | 2015.06.22 |
albert ... like alfred (0) | 2015.05.25 |
리눅스(exfat 파티션) 실제 용량 맞추기 정상화... 사이즈 (0) | 2014.07.19 |
ubuntu xserver restart... 우분투 xserver 리스타트 (0) | 2012.08.14 |