System/OS
2003.04.23 10:32
[linux] Xwindow/Xmanager 사용
Views 13518 Comment 0
1. 한번 사용한 그놈(gnome)이 자꾸 뜰 때 죽이기
# gnome kill
$ xkill
# mouse gnome panel click
2. 윈메이커(wmaker) 윈도우 설치하기
$ which wmaker
# If not, downlaod windowmaker install
$ vi /root/.xinitrc
export LANG=ko
exec wmaker
3. 원격에서 Xwindow 사용하기
(my)$ xhost + 192.168.1.101(server ip)
(srv)$ export DISPLAY=127.168.1.39:0.0(my ip)
4. Xmanger
(srv)$ vi /etc/inetd.conf
exec stream tcp nowait root /usr/sbin/tcpd in.rexecd # REXEC protocol
shell stream tcp nowait root /usr/sbin/tcpd in.rshd # RSH
login stream tcp nowait root /usr/sbin/tcpd in.rlogind # RLOGIN
5. startx 시에 윈도우 메니져 선택하기
$ vi .xinitrc
xmessage -center -buttons 'fvwm2':1,'fvwm':2,
'AfterStep':3 "Choose window manager"
ANS=$?
if [ $ANS -eq 1 ]; then
exec fvwm2
fi
if [ $ANS -eq 2 ]; then
exec fvwm
fi
if [ $ANS -eq 3 ]; then
exec afterstep
fi
6. 엑스메니져(Xmanager)
# First method
1. Xmanager start
2. telnet 192.168.1.101(server ip)
id:
passwd:
3. $ vi /etc/inittab 파일의 "id:5:initdefault: "부분에서 5를 3으로 바꾼다.
$ /usr/X11R6/bin/xdm
$ /usr/X11R6/bin/xterm -ls -display 192.168.1.39:0.0
4. To xterm of Xmanger
$ wmaker &
$ gnome &
$ kde &
# Second method
$ vi /etc/inittab
id:3:initdefault:
$ reboot
$ login
$ xdm &
# Third method
$ vi /etc/X11/gdm/gdm.conf
[xdmcp]
enable=1
# hosts edit
$ vi /etc/hosts
192.168.1.39 639
No. | Category | Subject | Author | Date | Views |
---|---|---|---|---|---|
369 | [ios] 인앱결제 & 오토레이아웃 관련 강좌 | hooni | 2013.11.14 | 0 | |
368 | Develop | [java] 초간단 싱글톤(Singleton) 패턴 샘플 코드 | hooni | 2013.11.18 | 11639 |
367 | Develop | [php] php5.3부터는 eregi()대신 preg_match()를 사용 | hooni | 2013.11.18 | 12536 |
366 | Develop | [js] window.open() 속성 사용 방법 | hooni | 2013.11.18 | 13643 |
365 | Develop | [ios] iphone SetDeviceOrientation 화면 강제 회전 | hooni | 2013.11.20 | 18518 |
364 | Develop | [ios] iOS In App Purchase #1 (코드 구현 전 웹 설정 작업) | hooni | 2013.11.20 | 14558 |
363 | Develop | [ios] iOS In App Purchase #2 (코드 구현) | hooni | 2013.11.20 | 13812 |
362 | Develop | [ios] iOS In App Purchase 코드 부분 샘플 1 | hooni | 2013.11.20 | 11806 |
361 | Develop | [ios] iOS In App Purchase 코드 부분 샘플 2 | hooni | 2013.11.20 | 11340 |
360 | Develop | [ios] In App Purchase 개발 | hooni | 2013.11.20 | 9303 |
359 | Develop | 이어서 작업할 내용~ | hooni | 2013.11.21 | 0 |
358 | Etc | [english] 영어공부 혼자 하기, 인터넷으로 영어공부하기 추천사이트 20선 | hooni | 2013.11.25 | 9463 |