"리눅스 GNOME인지 KDE인지 확인"의 두 판 사이의 차이

잔글 (로봇: 자동으로 텍스트 교체 (-<source lang='dos'> +<source lang='cli'>))
잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
 
10번째 줄: 10번째 줄:


==실행 예시==
==실행 예시==
<source lang='cli'>
<source lang='console'>
[root@localhost ~]# ps -ef | grep X
[root@localhost ~]# ps -ef | grep X
root      6064  6059  0 19:28 tty7    00:00:05 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
root      6064  6059  0 19:28 tty7    00:00:05 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7

2016년 3월 29일 (화) 12:03 기준 최신판

  • 리눅스 GNOME인지 KDE인지 알아보기
  • 리눅스 GNOME인지 KDE인지 확인

1 명령어[ | ]

ps -ef | grep X
  • gdm이 있으면 GNOME
  • xdm이 있으면 KDE

2 실행 예시[ | ]

[root@localhost ~]# ps -ef | grep X
root      6064  6059  0 19:28 tty7     00:00:05 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
root      6142  6106  0 19:29 ?        00:00:00 /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "/usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients"
root      6165     1  0 19:29 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
root      7208  6460  0 19:38 pts/0    00:00:00 grep X

→ gdm이 있으므로 GNOME이다.

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}