System/OS
2003.04.23 10:32
[linux] Xwindow/Xmanager 사용
조회 수 13370 댓글 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 |
[asem] CMOS 패스워드 알아내기.. 소스..
![]() |
hooni | 2003.04.23 | 8741 |
104 | Develop |
[api] 인스타그램에서 최신 이미지 가져오기 (Using Instagram API)
20 ![]() |
hooni | 2018.04.05 | 12530 |
103 | Develop |
[api] 인스타그램 API Access_Token 발급 방법 (Instagram API)
3 ![]() |
hooni | 2018.04.05 | 7669 |
102 | System/OS |
[apache2] Redirect HTTP to HTTPS
![]() |
hooni | 2022.02.03 | 811 |
101 | Develop |
[android]개발 가이드 및 한글화 문서
![]() |
hooni | 2013.04.23 | 47553 |
100 | PPT |
[android][ios] 알림(Notification) 기능에 대한 원리와 구현 방안 (APNS포함)
![]() |
hooni | 2013.04.23 | 37889 |
99 | Develop | [android] 화면 전환(가로/세로)시 설정 | hooni | 2013.04.23 | 43409 |
98 | Develop | [android] 해상도 관련 팁 (dip -> pixel 변환) | hooni | 2013.04.23 | 15357 |
97 | Develop | [android] 코드에서 문자열로 Resource 가져오기 | hooni | 2015.07.09 | 4053 |
96 | Develop | [android] 초간단 얼럿 (AlertDialog) | hooni | 2016.10.21 | 922 |
95 | System/OS |
[android] 초간단 HTTP, POST 전송 샘플
1 ![]() |
hooni | 2017.02.16 | 3604 |
94 | PPT |
[Android] 제스처 자료..
![]() |
hooni | 2013.05.28 | 51113 |