Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

VNC

VNC
Webmin
Webmin


Fedora Core 5 VNC
Webmin

13-1

VNC

Linux

13-2

Chapter 13

VNC
VNC Virtual Network Computing Cambridge AT&T

Windows
Terminal Server Symantec
PCAnywhere
VNC GPL General Public License
Fedora Core 5
VNC
http://www.realvnc.com/download.html
VNC Client/Server VNC
VNC Server VNC Viewer
VNC Server
VNC Viewer TCP/IP VNC

VNC Viewer

VNC
VNC

13-3

VNC VNC Viewer VNC Server


VNC Server
VNC Server
VNC Server

VNC Server VNC Server

VNC Server X Protocol X Server


VNC Server
VNC Server X Server VNC
VNC Server

13-1

VNC

VNC
VNC
VNC Server VNC Viewer
Linux 2.x for x86
Solaris 2.5 SPARC

13-4

Chapter 13

Windows 9x/NT/200/2003/XP Intel Win32


Macintosh
DEC Alpha OSF1 3.2
Windows CE 2.x

13-2

VNC

VNC
Windows Linux
VNC Server VNC

Linux VNC Server


Fedora Core 5 VNC Server
vnc-server-4.1.1-36
VNC Server
[root@ns1 ~]# rpm -qa vnc-server
vnc-server-4.1.1-36

VNC Server /
Add/Remove Software
Search
vnc
vnc-server

13-5

13-2

vnc-server

VNC

Linux VNC Server


VNC VNC Server Linux
vncserver

[root@ns1 ~]# vncserver

You will require a password to access your desktops.

Password

Verify

13-6

Chapter 13

New 'ns1.fc5linux.com 1 (root)' desktop is ns1.fc5linux.com 1

Creating default startup script /root/.vnc/xstartup

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/ns1.fc5linux.com 1.log

VNC Server
1 VNC Server Script
/usr/bin/vncserver
2 VNC Server

3 VNC Server
4 VNC Server
5 VNC Viewer
1
0 X Server VNC
Server
6 Script /root/.vnc/xstartup
7 xstartup Script

/root/.vnc/ns1.fc5linux.com 1.log
VNC Server ~/.vnc
xstartup VNC

13-7

[root@ns1 ~]# ls ~/.vnc


ns1.fc5linux.com 1.log

ns1.fc5linux.com 1.pid

passwd

xstartup

ns1.fc5linux.com VNC Server

Windows VNC Viewer


Windows VNC Viewer Windows
VNC Viewer
http://www.realvnc.com/dist/vnc-3.3.7-x86_win32_viewer.exe

Connection details

13-3

Connection details

Connection details VNC server VNC


Server IP
VNC Server 5
OK VNC Server
Failed to connect to server
VNC Authentication

13-8

Chapter 13

13-4

VNC Authentication

VNC Authentication
VNC Server Linux

13-5

Linux

Linux

Linux Windows Linux

VNC Server
Window Manager TWN
VNC
xstartup xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop

13-9

# 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 &

twm &

twn &
twn
Fedora Core 5
GNOME xstartup gnome-session &

VNC Server

13-6

13-10

VNC GNOME

Chapter 13

KDE
VNC
xstartup startkde &
Server
Linux
X Window Linux

VNC Viewer

VNC
VNC VNC Viewer
VNC Server
VNC Server
VNC Server

http://VNC Server IP 5800+

VNC Server ns1.fc5linux.com VNC Server


1 http://ns1.fc5linux.com
5801 VNC Server
VNC Server

13-11

13-7

VNC Server

VNC Server OK VNC


Authentication Username

Enter

13-8

VNC Viewer

13-12

Chapter 13

13-9

VNC Server

VNC Server VNC


Server Options VNC
Viewer Connection Options

13-10

13-13

You might also like