System/OS
2003.04.23 10:32
[linux] Xwindow/Xmanager 사용
조회 수 13385 댓글 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
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
105 | Develop | [android] 딜레이를 구현하기 위한 꼼수 | hooni | 2016.11.24 | 1071 |
104 | Develop | [ios] 오브젝티브C→스위프트, 코드 변환 손쉽게 | hooni | 2015.08.07 | 1069 |
103 | Develop | [ios] 로컬에 있는 JS 파일 웹뷰에서 동적으로 실행하기 | hooni | 2015.02.10 | 1066 |
102 | System/OS | [virtualbox] VirtualBox에 Ubuntu 설치하기 | hooni | 2019.11.22 | 1055 |
101 | System/OS | [mac] How to uninstall MySQL on Mac OS. | hooni | 2017.11.08 | 1030 |
100 | Develop | [js] AngularJS 란? | hooni | 2015.11.26 | 1016 |
99 | PPT | 삼성페이(Samsung Pay) 구조 | hooni | 2016.09.09 | 1015 |
98 | Develop | XE Core 1.8.18 본문 작성시 태그(html) 사라지는 버그 | hooni | 2016.04.21 | 1015 |
97 | Develop | [c] RSA 암호화 구현(gmp 라이브러리 활용) | hooni | 2016.10.03 | 1006 |
96 | System/OS | 개인적으로 쓰고 있는 zshrc 파일 | hooni | 2022.02.25 | 989 |
95 | PPT | [ppt] Equation Solving 발표 자료 (@AjaxUI랩 밋업데이 2012.02.28) | hooni | 2015.07.22 | 989 |
94 | Develop | [ios] ViewController Push할 때 애니메이션 효과 | hooni | 2015.10.23 | 985 |