¡¦¡¦Linux¡¦¡¦m¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦y¡¦[¡¦W¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦I

Linux¡¦¡¦¡¦b¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦/a>
¡¦¡¦¡¦¡¦o¡¦^¡¦¡¦¡¦¡¦00¡¦¡¦¡¦¡¦¡¦T¡¦p¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦I
¡¦¡¦¡¦¡¦¡¦o¡¦^¡¦¡¦¡¦¡¦¡¦¡¦I(pakira)







¡¦@¡¦@¡¦w¡¦u¡¦m¡¦b¡¦T¡¦[¡¦o¡¦[¡¦\¡¦z¡¦¡¦¡¦¡¦¡¦¡¦I¡¦R¡¦x

¡¦¡¦u¡¦m¡¦b¡¦T¡¦[¡¦o¡¦[¡¦¡¦¡¦/font>

$ su -¡¦@¡¦@¡¦@¡¦¡¦usu -¡¦v¡¦R¡¦}¡¦¡¦¡¦h¡¦¡¦oot¡¦ ¡¦¡¦¡¦¡¦¡¦¡¦¡¦B
Password:¡¦@ ¡¦¡¦oot¡¦p¡¦X¡¦¡¦¡¦[¡¦h¡¦¡¦¡¦¡¦¡¦¡¦¡¦B

# vi /etc/sysconfig/vncservers¡¦@¡¦@¡¦¡¦uvi¡¦G¡¦f¡¦B¡¦b¡¦^¡¦v¡¦¡¦uvncservers¡¦v¡¦t¡¦@¡¦C¡¦¡¦
¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@ ¡¦¡¦¡¦W¡¦¡¦¡¦¡¦/font>

vi¡¦G¡¦f¡¦B¡¦b¡¦g¡¦¡¦¡¦[¡¦h¡¦¡¦¡¦¡¦¡¦¡¦br>
¡¦u /VNCSERVERS ¡¦v

¡¦¡¦¡¦¡¦¡¦¡¦AVNCSERVERS¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦B


¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`
¡¦¡¦i¡¦G¡¦f¡¦B¡¦b¡¦^¡¦¡¦g¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦A¡¦R¡¦O¡¦¡¦¡¦¡¦¡¦¡¦[¡¦¡¦¡¦Z¡¦~¡¦i¡¦[¡¦¡¦br> ¡¦@¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦A¡¦¡¦¡¦¡¦¡¦¡¦K¡¦¡¦¡¦¡¦¡¦¡¦¡¦B

¡¦@https://linux-topics.com/mail/index.html
¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`¡¦`


¡¦¡¦¡¦X¡¦O
------------------------------------------------------------

# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the line below to start a VNC server on display :1
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
# .

VNCSERVERS="1:myusername"

------------------------------------------------------------

¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦¡¦¡¦¡¦br> ¡¦¡¦¡¦X¡¦¡¦br> ------------------------------------------------------------

# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the line below to start a VNC server on display :1
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see
# .

# VNCSERVERS="1:myusername"
VNCSERVERS="1:root 2:pakira"¡¦@¡¦@¡¦¡¦u VNCSERVERS="1:root 2:pakira" ¡¦v
¡¦¡¦¡¦¡¦¡¦¡¦¡¦/font>

------------------------------------------------------------


¡¦uVNCSERVERS="1:root 2:pakira"¡¦v¡¦¡¦u 2:pakira ¡¦v¡¦¡¦¡¦¡¦¡¦¡¦br> ¡¦ ¡¦¡¦¡¦¡¦g¡¦p¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦[¡¦U¡¦¡¦w¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦B


vncservers¡¦¡¦¡¦¡¦¡¦I¡¦¡¦¡¦¡¦¡¦A¡¦¡¦¡¦¡¦¡¦[¡¦U¡¦¡¦¡¦¡¦¡¦¡¦B


# exit¡¦@¡¦¡¦uexit¡¦v¡¦¡¦¡¦¡¦¡¦¡¦[¡¦U¡¦¡¦¡¦¡¦¡¦¡¦B


------------------------------------------------------------

$ vncserver¡¦@¡¦¡¦uvncserver¡¦v¡¦¡¦¡¦¡¦¡¦¡¦AŽÀ¡¦s¡¦¡¦¡¦¡¦¡¦¡¦¡¦B
Password:¡¦@¡¦@¡¦¡¦p¡¦X¡¦¡¦¡¦[¡¦h¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦A¡¦¡¦¡¦¡¦¡¦[¡¦U¡¦¡¦p¡¦X¡¦¡¦¡¦[¡¦h¡¦¡¦/font>
¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@ ¡¦¡¦¡¦¡¦¡¦¡¦B
Verify:¡¦@¡¦@¡¦@¡¦¡¦¡¦¡¦¡¦x¡¦A¡¦¡¦¡¦p¡¦X¡¦¡¦¡¦[¡¦h¡¦¡¦¡¦¡¦¡¦¡¦¡¦B

xauth: creating new authority file /home/pakira/.Xauthority

New 'kitty:1 (pakira)' desktop is kitty:1

Creating default startup script /home/pakira/.vnc/xstartup
Starting applications specified in /home/pakira/.vnc/xstartup
Log file is /home/pakira/.vnc/kitty:1.log

$ vncserver -kill :1¡¦@¡¦@¡¦¡¦uvncserver -kill :1¡¦v¡¦¡¦¡¦U¡¦v¡¦¡¦¡¦Z¡¦X¡¦¡¦¡¦~¡¦¡¦¡¦¡¦B
Killing Xvnc process ID 30128

$ ls -la¡¦@¡¦@¡¦¡¦uls -la¡¦v¡¦¡¦B¡¦¡¦t¡¦@¡¦C¡¦¡¦¡¦¡¦\ަ¡¦¡¦¡¦¡¦¡¦B
¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦¡¦s¡¦R¡¦}¡¦¡¦¡¦h¡¦¡¦I¡¦v¡¦V¡¦¡¦¡¦¡¦¡¦u-a¡¦v¡¦¡¦u.¡¦h¡¦b¡¦g¡¦v¡¦¡¦¡¦n¡¦¡¦¡¦B¡¦¡¦br> ¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦t¡¦@¡¦C¡¦¡¦¡¦¡¦\ަ¡¦¡¦¡¦¡¦¡¦B

¡¦¡¦¡¦v 48
drwx------ 4 pakira pakira 4096 6¡¦¡¦12 13:55 .
drwxr-xr-x 3 root root 4096 6¡¦¡¦ 5 17:59 ..
-rw------- 1 pakira pakira 99 6¡¦¡¦12 13:55 .Xauthority
-rw------- 1 pakira pakira 219 6¡¦¡¦11 01:10 .bash_history
-rw-r--r-- 1 pakira pakira 24 10¡¦¡¦28 2003 .bash_logout
-rw-r--r-- 1 pakira pakira 191 10¡¦¡¦28 2003 .bash_profile
-rw-r--r-- 1 pakira pakira 124 10¡¦¡¦28 2003 .bashrc
-rw-r--r-- 1 pakira pakira 5543 10¡¦¡¦10 2003 .canna
-rw-r--r-- 1 pakira pakira 120 10¡¦¡¦31 2003 .gtkrc
drwxr-xr-x 3 pakira pakira 4096 6¡¦¡¦ 5 17:21 .kde
drwxr-xr-x 2 pakira pakira 4096 6¡¦¡¦12 13:56 .vnc

$ cd .vnc¡¦@¡¦@¡¦¡¦u cd ¡¦v¡¦R¡¦}¡¦¡¦¡¦h¡¦¡¦f¡¦B¡¦¡¦¡¦N¡¦g¡¦¡¦¡¦¡¦u.vnc¡¦v¡¦¡¦¡¦¡¦¡¦¡¦¡¦B
$ ls¡¦@¡¦@¡¦@¡¦@ ¡¦¡¦uls¡¦v¡¦R¡¦}¡¦¡¦¡¦h¡¦¡¦t¡¦@¡¦C¡¦¡¦¡¦¡¦\ަ¡¦¡¦¡¦¡¦B
kitty:1.log passwd xstartup

$ vi xstartup¡¦@¡¦¡¦i¡¦R¡¦}¡¦¡¦¡¦h¡¦¡¦u xstartup ¡¦v¡¦¡¦¡¦W¡¦¡¦¡¦¡¦B


¡¦¡¦¡¦X¡¦O
------------------------------------------------------------

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

------------------------------------------------------------

¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦@¡¦¡¦¡¦¡¦br> ¡¦¡¦¡¦X¡¦¡¦br> ------------------------------------------------------------

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
exec /etc/X11/xinit/xinitrc¡¦@¡¦@¡¦¡¦u exec /etc/X11/xinit/xinitrc ¡¦v¡¦¡¦¡¦¡¦¡¦¡¦¡¦B

#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &

¡¦¡¦R¡¦¡¦¡¦¡¦¡¦g¡¦A¡¦E¡¦g¡¦¡¦¡¦¡¦B

------------------------------------------------------------


¡¦u exec /etc/X11/xinit/xinitrc ¡¦v¡¦¡¦¡¦¡¦¡¦¡¦A[ -x /etc/vnc/xstartup ]

¡¦¡¦¡¦¡¦¡¦s¡¦¡¦¡¦¡¦¡¦u#¡¦v¡¦¡¦¡¦¡¦¡¦R¡¦¡¦¡¦¡¦¡¦g¡¦A¡¦E¡¦g¡¦i¡¦¡¦¡¦¡¦j¡¦¡¦¡¦A¡¦¡¦¡¦¡¦¡¦¡¦B



# service vncserver start¡¦@¡¦@¡¦¡¦uvncserver¡¦v¡¦¡¦N¡¦¡¦¡¦¡¦¡¦B
VNC¡¦T¡¦[¡¦o¡¦¡¦N¡¦¡¦¡¦: 1:root 2:pakira [ OK ]

¡¦@¡¦¡¦ OK ]¡¦¡¦\ަ¡¦¡¦¡¦¡¦¡¦A¡¦¡¦¡¦¡¦N¡¦¡¦¡¦¡¦¡¦¡¦B



¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦br>


¡¦¡¦¡¦¡¦R¡¦R¡¦¡¦¡¦¡¦¡¦B

¡¦¡¦¡¦¡¦¡¦¡¦H¡¦@¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦H

¡¦¡¦¡¦A¡¦¡¦¡¦¡¦s¡¦¡¦¡¦¡¦¡¦¡¦¡¦A¡¦¡¦¡¦¡¦¡¦¡¦¡¦~¡¦X¡¦¡¦ ¡¦¡¦¡¦¡¦B
¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦A¡¦¡¦¡¦¡¦x¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦B



¡¦¡¦¡¦¡¦¡¦¡¦¡¦AWindows¡¦¡¦¡¦¡¦¡¦¡¦¡¦A¡¦¡¦¡¦¡¦m¡¦F¡¦¡¦¡¦¡¦¡¦¡¦¡¦B
¡¦¡¦¡¦T¡¦C¡¦g¡¦¡¦¡¦\¡¦t¡¦g¡¦¡¦_¡¦E¡¦¡¦¡¦¡¦¡¦[¡¦h¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦B


¡¦¡¦indows 9x/2000/NT (Intel Win32)
¡¦_¡¦E¡¦¡¦¡¦¡¦¡¦[¡¦h



¡¦O¡¦¡¦/a>¡¦@¡¦E¡¦@ ¡¦¡¦¡¦/a>
¡¦z¡¦[¡¦€¡¦¡¦¡¦¡¦/font> ¡¦@-¡¦@¡¦T¡¦[¡¦o¡¦[¡¦¡¦¡¦K¡¦C¡¦h¡¦¡¦¡¦¡¦¡¦¡¦¡¦/font>