- http://www.sunfreeware.com/ Ű ٿ ϴ.
vnc-3.3.3r2-sol8-sparc-local.gz , x11vnc-0.7-sol8-sparc-local.gz , zlib , jpeg ,
libgcc-3.3 , gcc
ֶ vnc ̿ Ͽ xwindows ̿ ϱ ؼ 6 Ű ġ ؾ մϴ.
(ready>root)/gunzip *
(ready>root)/pkgadd -d libgcc-3.3
(ready>root)/pkgadd -d zlib
(ready>root)/pkgadd -d jpeg
(ready>root)/pkgadd -d vnc-3.3.3r2-sol8-sparc-local --- VNC stands for Virtual Network Computing
(ready>root)/pkgadd -d x11vnc-0.7-sol8-sparc-local --- vnc server for X displays
vnc Ű ġ ϸ ⺻ 丮 /usr/local/bin մϴ.
(ready>root)/usr/local/bin# ls
Xvnc* dbhome* oraenv* sftp* ssh-add* ssh-keyscan* vncinstall* vncpasswd* wrjpgcom*
cjpeg* djpeg* rdjpgcom* slogin@ ssh-agent* vncconfig* vnckeygen* vncserver* x0vncserver*
coraenv* jpegtran* scp* ssh* ssh-keygen* vncconnect* vnclicense* vncviewer* x11vnc*
(ready>root)/usr/local/bin#
Ű ġ vnc йȣ ؾ մϴ.
(ready>root)/usr/local/bin# ./vncpasswd ⺻ 6ڸ йȣ .
Password:
Verify:
(ready>root)/usr/local/bin#
vnc .
(ready>root)/usr/local/bin# ./vncserver
vncserver: couldn't find "xauth" on your PATH.
(ready>root)/usr/local/bin#
vnc ɽ.... path /usr/openwin/bin ߰
(ready>root)/usr/local/bin#vi /.cshrc
PATH= κп /usr/openwin/bin ߰ .
(ready>root)/usr/local/bin#source /.cshrc
(ready>root)/usr/local/bin#./vncserver
(ready>root)/usr/local/bin#ps -ef | grep vnc
(ready>root)/usr/local/bin# ./vncserver
New 'X' desktop is ready:1
Starting applications specified in //.vnc/xstartup
Log file is //.vnc/ready:1.log
(ready>root)/usr/local/bin#
vncserver Ǹ鼭... Ʈ 1 ߽ϴ.
vncviewer Ұ 192.168.0.200:1 Ʈ 1 ϸ ˴ϴ.
-- x11 X displays ...
Ű ġ ⺻ 丮 /usr/local/bin/x11vnc ˴ϴ.
(ready>root)/usr/local/bin# ./x11vnc &
[1] 2249
(ready>root)/usr/local/bin#
Settings:
display: null
authfile: null
subwin: 0x0
rootshift: 0
flashcmap: 0
force_idx: 0
overlay: 0
ovl_cursor: 1
visual: null
scaling: 0 1.00000
viewonly: 0
shared: 0
conn_once: 1
inetd: 0
connect: null
connectfile null
vnc_conn: 1
allow: null
passfile: null
accept: null
gone: null
using_shm: 1
flipbytes: 0
onetile: 0
blackout: null
xinerama: 0
xrandr: 0
xrandrmode: null
logfile: null
rc_file:
norc: 0
bg: 0
mod_tweak: 1
isolevel3: 0
xkb: 0
skipkeys: null
addkeysyms: 0
xkbcompat: 0
clearmods: 0
remap: null
norepeat: 1
nofb: 0
"a" 120 , 2857
xfixes: 1
cursorshp: 1
cursorpos: 1
xwarpptr: 0
buttonmap: null
dragging: 1
ptr_mode: 2
inputskip: 10
debug_ptr: 0
debug_key: 0
defer: 30
waitms: 30
take_naps: 0
sb: 60
sigpipe: null
threads: 0
fs_frac: 0.75
gaps_fill: 4
grow_fill: 3
tile_fuzz: 2
deny_all: 0
noremote: 0
04/11/2004 05:14:09 x11vnc version: 0.7pre lastmod: 2004-12-23
04/11/2004 05:14:09 Using X display :0.0
reducing shm usage on SunOS 5.8 (adding -onetile)
04/11/2004 05:14:09 warning: XKEYBOARD extension not present.
04/11/2004 05:14:09 warning: disabling bell. XKEYBOARD ext. not present.
04/11/2004 05:14:09 default visual ID: 0x22
04/11/2004 05:14:09 Read initial data from X display into framebuffer.
04/11/2004 05:14:09 X display :0.0 is 8bpp indexed color
04/11/2004 05:14:09
04/11/2004 05:14:09 In 8bpp PseudoColor mode if you experience color
04/11/2004 05:14:09 problems you may want to enable following the
04/11/2004 05:14:09 changing colormap by using the -flashcmap option.
04/11/2004 05:14:09
FrameBuffer Info:
width: 1152
height: 900
scaled_width: 1152
scaled_height: 900
indexed_color: 1
bits_per_pixel: 8
depth: 8
red_mask: 0x00000000 00000000000000000000000000000000
green_mask: 0x00000000 00000000000000000000000000000000
blue_mask: 0x00000000 00000000000000000000000000000000
red: max: 0 shift: 0
green: max: 0 shift: 0
blue: max: 0 shift: 0
mainfb_bytes_per_line: 1152
rfb_fb_bytes_per_line: 1152
format: ZPixmap
byte_order: MSBFirst
bitmap_pad: 32
bitmap_unit: 32
bitmap_bit_order: MSBFirst
04/11/2004 05:14:09 setting up 32 cursors...
04/11/2004 05:14:09 done.
04/11/2004 05:14:09 Autoprobing TCP port
04/11/2004 05:14:09 Autoprobing selected port 5900
04/11/2004 05:14:09 created 1 tile_row shm polling images.
04/11/2004 05:14:09 screen setup finished.
04/11/2004 05:14:09
04/11/2004 05:14:09 The VNC desktop is ready:0
PORT=5900
The VNC desktop is ready:0 ΰ Ȯ Ҽ ֽϴ.
vncviewer Ҷ 192.168.0.200:0 Ҽ ֽϴ.
- ssh ġ.
- http://www.sunfreeware.com/ ssh شϴ Ű ٿ ֽϴ.
openssh-4.5p1-sol8-sparc-local.gz , openssl-0.9.8d ,zlib, libgcc-3.4.6 or gcc-3.4.6
Ű ġ Ǿ ־ մϴ.
Ű ġ Ǿ ִ Ȯ ϱ ؼ....
(ready>root)/data#pkginfo | grep zlib , libgcc , gcc , openssl , openssh Ȯ
Ҽ ֽϴ.
(ready>root)/data#gunzip *
(ready>root)/data#pkgadd -d openssl-0.9.8d-sol8-sparc-local
(ready>root)/data#pkgadd -d openssh-4.5pl-sol8-sparc-local
openssh ġ ϰ Ǹ ⺻ δ /usr/local/sbin sshd մϴ.
ġ Ǹ /etc/init.d ؿ ڵ ũƮ ؾ մϴ.
(ready>root)/data#cd /etc/init.d
(ready>root)/init.d#vi sshd
#!/bin/sh
pid=`/usr/bin/ps -e | /usr/bin/grep sshd | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
case $1 in
'start')
/usr/local/sbin/sshd
;;
'stop')
if [ "${pid}" != "" ]
then
/usr/bin/kill ${pid}
fi
;;
*)
echo "usage: /etc/init.d/sshd {start|stop}"
;;
esac
ũƮ /etc/rc3.d ؿ ln ý ڵ 22 Ʈ Ҽ ֵ ũ մϴ.
(ready>root)/init.d#ln -s /etc/init.d/sshd /etc/rc3.d/S90sshd
ܺο 22 Ʈ ̿ Ͽ Ǵ Ȯ մϴ.
Ȥ
(ready>root)/etc/rc3.d# netstat -an |grep 22
*.22 *.* 0 0 24576 0 LISTEN
*.22 *.* 0 0 24576 0 LISTEN
Ȯ Ҽ ֽϴ.
- putty ġ.
Ϲ ڷ̳ putty Ȩ ٿ ֽϴ.
windows ġ .... ϰ Ǹ...
ȯ ֽϴ.
Ǿ ִ ּҸ ϰ...
Ʈ ʿ SSH - ͳθ ̶ κ ֽϴ.
̰...
κп Ʈ ȣ Էϰ ˴ϴ.
Ʈ : 5900
Ʈ : 192.168.0.200:5901
Է ϷǸ ssh ̿ ̳η α մϴ.
̳ α VNC Viewer մϴ.
ϰ Ǹ server κп localhost:0 Է Ͽ մϴ.
Ǹ windows cmd ...
5900 Ʈ Ȯ Ҽ ֽϴ.
04/11/2004 05:14:09 Autoprobing selected port 5900
04/11/2004 05:14:09 created 1 tile_row shm polling images.
04/11/2004 05:14:09 screen setup finished.
04/11/2004 05:14:09
04/11/2004 05:14:09 The VNC desktop is ready:0
Ʈ ȣ Ȯ autoprobing selected port 5900 Ȯ Ҽ ְ...
ܺ Ŭ̾Ʈ Ҽ ִ ȣ the vnc desktop is ready:0 0 Ҽ ִ° Ȯ Ҽ ֽϴ.
ssh ̿ Ͽ localhost:0 õ ϸ Ҽ ϴ. x11vnc ѹ Ͽ 2̳ 3 մϴ.