System/OS
2003.04.23 10:32
[linux] Xwindow/Xmanager 사용
조회 수 13404 댓글 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
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
94 | System/OS | [linux] 쉘스크립트 expr | hooni | 2014.03.11 | 15718 |
93 | System/OS | [linux] 쉘 환경변수 PS1(프롬프트) | hooni | 2003.04.23 | 13563 |
92 | System/OS | [linux] 쉘 스크립트에 대한 설명과 예제.. | hooni | 2003.04.23 | 13473 |
91 | System/OS | [linux] 쉘 스크립트 (Shell Script) | hooni | 2003.04.23 | 12116 |
90 | System/OS | [linux] 셀 스크립트 if, for, case in.. | hooni | 2003.04.23 | 13759 |
89 | System/OS | [linux] 센드메일 동적릴레이 설치 | hooni | 2003.04.23 | 15300 |
88 | System/OS | [linux] 새 하드디스크 추가하기..(내공쌓기) | hooni | 2003.04.23 | 13857 |
87 | System/OS | [linux] 메타(기호)문자의 의미와 사용 | hooni | 2003.04.23 | 16475 |
86 | System/OS | [linux] 메일서버 세팅정보(sendmail) | hooni | 2003.04.23 | 17482 |
85 | System/OS | [linux] 리눅스,유닉스 /proc/stat 파일 보는 법 | hooni | 2013.04.23 | 18023 |
84 | System/OS | [linux] 리눅스, 유닉스 CPU 이용률 확인.. | hooni | 2013.04.23 | 23859 |
83 | System/OS | [linux] 리눅스 활용 팁^^ | hooni | 2003.04.23 | 14692 |