X Window system은 X Server와 X client로 나누어진다.
X server는 출력을 담당하는 프로그램으로, 키보드 / 마우스 등의 입력을 받아들이며
X client는 X용 프로그램이다.
이런 분리구조로 인해 서버에서 X Server 가 구동되어 있지 않아도, 원격지에서 X server가 구동중이면
서버측의 X client의 출력을 로컬로 끌어올수 있다.



X를 죽이고 나서 Xming으로 gedit을 실행했더니 이상없이 구동된다.
그리고 KDE용 프로그램인 konsole 역시 이상없이 구동된다.
(우분투에서 X죽이는건 다음글 참조)
2010/08/23 - [Linux/Ubuntu] - ubuntu 에서 X window 종료시키기




'프로그램 사용 > cygwin & Xming' 카테고리의 다른 글

Xming 신버전은 유료?  (0) 2011.09.09
xming + opengl + ssh  (0) 2011.09.08
Xming (Cygwin/X) 를 통해 프로그램이 구동되지 않을경우  (0) 2010.03.25
Xming과 VNC 동시사용 불가?  (0) 2009.05.28
Xming --help  (0) 2009.05.19
Posted by 구차니
Linux/Ubuntu2010. 8. 23. 10:11
우분투 desktop은 X 윈도우가 죽으면 자동적으로 respawn 시킨다.
아무리 kill 을 해도 계속 살아난다. (이런 좀비 같은넘!)

아래의 공식 릴리즈 내용대로, ctrl-alt-bksp 를 이용해서 X를 종료할수는 있으나, 역시나 respawn 된다 ㄱ-

Enabling Ctrl-Alt-Backspace for Ubuntu

  • Select "System"->"Preferences"->"Keyboard"

  • Select the "Layouts" tab and click on the "Layout Options" button.
  • Select "Key sequence to kill the X server" and enable "Control + Alt + Backspace".

[링크 : https://wiki.ubuntu.com/LucidLynx/ReleaseNotes]



X를 종료하려면 아래와 같이 gdm 자체를 종료하면 된다.
If you are using GNOME:
sudo /etc/init.d/gdm stop

[링크 : http://theos.in/news/ubuntu-linux-shutdown-the-x-server/]

$ sudo /etc/init.d/gdm stop
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service gdm stop

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop gdm
친절하게도(!) init 스크립트를 건드리지 말고, service로 죽이랜다.


top - 10:37:01 up 1 min,  2 users,  load average: 1.15, 0.44, 0.16
Tasks: 180 total,   1 running, 179 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.7%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1026088k total,   475344k used,   550744k free,    54392k buffers
Swap:  3005432k total,        0k used,  3005432k free,   200732k cached
top - 10:37:49 up 2 min,  1 user,  load average: 0.75, 0.45, 0.17
Tasks: 130 total,   1 running, 129 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3%us,  0.7%sy,  0.3%ni, 97.7%id,  1.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1026088k total,   360952k used,   665136k free,    54780k buffers
Swap:  3005432k total,        0k used,  3005432k free,   214328k cached
gdm을 종료하니, 114392k(113M) 가 확보된다 -ㅁ-!
Posted by 구차니