Part 1
TigerVNC Setup
l Chapter 1 Linux Terminal Server
l Chapter 2 TigerVNC packages
l Chapter 3 Using TigerVNC on Clients
Part 2 NX/FreeNX Setup
l Chapter 4 FreeNX Program
l Chapter 5 NX Serer
l Chapter 6 NX Clients
Chapter 1 Linux Terminal Server
1. What is Terminal
Sever (X Server)?
l used to display an X
windows session running on another computer.
l Xserver is running on the
remote computer, not on your local
workstation.
l workstation ( Linux
or Windows ) is only displaying a copy of
the
display ( real or virtual ) that is running on the remote machine.
2. Testing Environment
a. Linux terminal
server
server.chul.com – 192.168.80.5 (CentOS
6.4)
b. Linux terminal
client
client.chul.com – 192.168.80.6 (CentOS
6.4)
c. Windows terminal client
– Windows 7 (64bit) , DHCP
Chapter 2
TigerVNC packages
1.TigerVNC packages
# rpm –qa | grep
tigervnc
# yum install
tigervnc tigervnc-server -y
# yum update libXfont
pixman pixman-devel -y
2. TigerVNC Configuration
a. /etc/sysconfig/vncservers
VNCSERVERS="1:tland
2:linux"
VNCSERVERARGS[1]="-geometry
1024x768"
VNCSERVERARGS[2]="-geometry 1024x768“
b. User and password for VNC client
# su – tland ;
vncpasswd
# su – linux ;
vncpasswd
c. VNC Server startup
# service vncserver
start
# ps –ef | grep vnc ;
netstat –nat | grep 5901
Chapter 3
Using TigerVNC on Clients
1. Access VNCServer on Client
a. On Linux system
# yum install tigervnc -y
# vncviewer 192.168.80.5:1
b. On Windows 7 Using TigerVNC
Viewer
Download: sourceforge.net/projects/tigervnc/files/
Server: 192.168.80.5:5901
or 192.168.80.5:1
Encryption: always off
2. Encrypted VNC through SSH
tunnel
a. In VNC server
# vi /etc/ssh/sshd_config
PasswordAuthentication yes
# service sshd
restart
# vi /etc/sysconfig/vncservers
VNCSERVERARGS[1]="-geometry
1024x768 -localhost“
# service vncserver
restart
b. In VNC Client
# vncviewer –via
tland@192.168.80.5 localhost:1
Chapter 4 FreeNX Program
1.Introduction of NX/FreeNX
l a Terminal Server
and Remote Access solution
l based on enterprise
class open source technologies by NoMachine (nomachine.com)
l session resilience
and resource management developed on top of the X-Window system,
l the integration of
powerful resource sharing capabilities, printing and audio of the Linux/Unix
world
l makes it possible to
run any graphical application across any network connection
2. Testing
environment
a. NX server
server.chul.com – 192.168.80.5 / NX/FreeNX
b. NX clients
1. Linux – client.chul.com –
192.168.80.6 / OpenNX
2. Windows 7 – DHCP / NXclient-3.5.0-9.exe (nomachine.com)
Chapter 5 NX
Server
1. Installing and Configuration of NX packages on Server
a. Install and configure FreeNX packages
# yum install nx
freenx –y
# rpm –qa | grep nx
# vi /etc/nxserver/node.conf
ENABLE_PASSDB_AUTHENTICATION="1"
b. Creating users
# nxserver –adduser
tland
# nxserver –passwd
tland; ls –l /home/tland/.ssh/
# chkconfig
freenx-server on
# service
freenx-server start
2. SSH server configuration
# vi
/etc/ssh/sshd_config
PubkeyAuthentication
yes
AuthorizedKeysFile .ssh/authorized_keys2
# service sshd
restart
Chapter 6 NX
Clients
1. NX client on Linux
a.# yum install opennx
b. Application -> Opennx
Client -> Opennx Connection Wizard
Key Import from NX server
c.Try to Login to NX server using
Opennx
2. NX client on Windows 7
a. Download
NXclient-3.5.0-9.exe (nomachine.com)
b. Start configuration: Key
Import
c. Try to login to NX server
using NXclient
Summary
1. Linux Terminal Service
2. How to setup TigerVNC server
and client
3. How to setup Freenx /NX on
Server
4. How to setup Opennx and NX
client on Client
No comments:
Post a Comment