System/OS
2003.04.23 10:32
[linux] Xwindow/Xmanager 사용
조회 수 13348 댓글 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
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
849 | Develop | [js] 스타크래프트(starcraft).. | hooni | 2013.04.23 | 6643 |
848 | Develop | [php] 탐색기와 같은 다이나믹 트리(xml/xsl 이용) | hooni | 2013.04.23 | 7159 |
847 | Develop | [c] 네트워크 보안 프로그래밍 과제 (Server,Agent,Client) | hooni | 2013.04.23 | 6474 |
846 | System/OS | [windows] 원격 데스크탑(터미널 서비스) 포트 변경 | hooni | 2013.04.23 | 16307 |
845 | System/OS | [switch] 시스코 스위치 관리자 암호 초기화 방법 | hooni | 2013.04.23 | 17194 |
844 | System/OS | [switch] 시스코 카탈리스트(Cisco Catalyst) 기본 설정 | hooni | 2013.04.23 | 17501 |
843 | Develop | [switch] 시스코 카탈리스트(Cisco Catalyst) 2950 미러링 설정 | hooni | 2013.04.23 | 11394 |
842 | Develop | [c] 시스템 보안 과제.. 시간(amc time) 변경 | hooni | 2013.04.23 | 7196 |
841 | Develop | [c] 암호 알고리즘 소스.. | hooni | 2013.04.23 | 8343 |
840 | Develop | [c] 지폰(gphone) 소스.. 수정(암호화) | hooni | 2013.04.23 | 7436 |
839 | System/OS | [perl] 영규가 만든 스크립트.. 하하.. | hooni | 2013.04.23 | 10604 |
838 | Develop | [c] 파일(int fd)에서 개행문자 단위로 읽기 by 후리자 | hooni | 2013.04.23 | 7154 |