Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Linux (RHEL6 CENTOS6 OLE6) VNC-SERVER Installation and Configuration     - C language - Traverse pci device (Programming)

- Tecplot Installation under Linux (Linux)

- Bad name two variables (Linux)

- Linux security settings (Linux)

- Save the database data files into Oracle Learning (Database)

- Production environment Linux bonding method standby mode slave card switch (Server)

- Five useful commands to manage file types and system time in linux (Linux)

- Math objects easily overlooked but very convenient method --JavaScript (Programming)

- Jigsaw project will solve the problem of Java JAR hell Mody (Programming)

- About AWR More Description (Database)

- How Vim playing a mature IDE (Linux)

- Linux Network Programming - raw socket programming (Programming)

- Profile Linux users login shell and login to read (Linux)

- Customize own small private Linux system (Linux)

- Linux system Perl Lite netstat (Linux)

- Dynamic programming Android (Programming)

- Learning UNIX good habits (Linux)

- Three kinds of binary tree traversal recursive and iterative solution (Programming)

- Python maketrans () method (Programming)

- RabbitMQ tutorial examples: RabbitMQ installation under Windows (Linux)

 
         
  Linux (RHEL6 CENTOS6 OLE6) VNC-SERVER Installation and Configuration
     
  Add Date : 2016-05-29      
         
         
         
  Linux (RHEL6 \ CentOS6 \ OLE6) under VNC-SERVER Installation and Configuration

1. Install and start tigervnc-server
 # Rpm -ivh tigervnc-1.1.0-16.el6.x86_64.rpm
 warning: tigervnc-1.1.0-16.el6.x86_64.rpm: Header V3 RSA / SHA256 Signature, key ID fd431d51: NOKEY
 Preparing ... ########################################### [100% ]
    1: tigervnc ########################################### [100%]

 # Rpm -ivh tigervnc-server-1.1.0-5.el6.x86_64.rpm
 warning: tigervnc-server-1.1.0-5.el6.x86_64.rpm: Header V3 RSA / SHA256 Signature, key ID ec551f03: NOKEY
 error: Failed dependencies:
        xorg-x11-fonts-misc is needed by tigervnc-server-1.1.0-5.el6.x86_64

 # Rpm -ivh tigervnc-server-1.1.0-5.el6.x86_64.rpm
 warning: tigervnc-server-1.1.0-5.el6.x86_64.rpm: Header V3 RSA / SHA256 Signature, key ID ec551f03: NOKEY
 Preparing ... ########################################### [100% ]
    1: tigervnc-server ########################################### [100 %]

 # Vncserver

 You will require a password to access your desktops.

 Password:
 Verify:

 New 'node1: 1 (root)' desktop is node1: 1

 Creating default startup script /root/.vnc/xstartup
 Starting applications specified in /root/.vnc/xstartup
 Log file is /root/.vnc/node1:1.log

2. Modify the configuration file
# Vim /root/.vnc/xstartup

#! / Bin / sh

[-r / Etc / sysconfig / i18n] &&. / Etc / sysconfig / i18n
export LANG
export SYSFONT
vncconfig -iconic &
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS = `uname -s`
 if [$ OS = 'Linux']; then
 case "$ WINDOWMANAGER" in
 * Gnome *)
 if [-e / etc / SUSE-release]; then
 PATH = $ PATH: / opt / gnome / bin
 export PATH
 fi
 ;;
 esac
 fi
 if [-x / etc / X11 / xinit / xinitrc]; then
 exec / etc / X11 / xinit / xinitrc
 fi
 if [-f / etc / X11 / xinit / xinitrc]; then
 exec sh / etc / X11 / xinit / xinitrc
 fi
 [-r $ HOME / .Xresources] && xrdb $ HOME / .Xresources
 xsetroot -solid grey
 xterm -geometry 80x24 + 10 + 10 -ls -title "$ VNCDESKTOP Desktop" &
 #twm &
 gnome-session &

 # Vim / etc / sysconfig / vncservers

# The VNCSERVERS variable is a list of display: user pairs.
#
# Uncomment the lines below to start a VNC server on display: 2
# 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 this URL:
 # Http://kbase.RedHat.com/faq/docs/DOC-7028
 

 # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
 

 # Use "-localhost" to prevent remote VNC clients connecting except when
 # Doing so through a secure tunnel. See the "-via" option in the
 # `Man vncviewer 'manual page.
 

 VNCSERVERS = "1: root"
 # VNCSERVERARGS [2] = "- geometry 800x600 -nolisten tcp -localhost"

Restart vncserver service
# Service vncserver restart
     
         
         
         
  More:      
 
- Linux set the maximum number of open files nofile and nr_open, file-max Description (Linux)
- Oracle11g build physical standby database (Database)
- GROUP BY extension (Database)
- Oracle table compression Technology Introduction (Database)
- RHEL / CentOS / Fedora Install Nagios 4.0.1 (Linux)
- Why is the ibdata1 file growing in MySQL? (Database)
- The Java utility, JavaMail (Programming)
- Oracle study notes view (Database)
- VirtualBox install Windows 8.1 has encountered an error 0x000000C4 solutions (Linux)
- Tecplot Installation under Linux (Linux)
- Interesting example of Linux Sort command (Linux)
- GlusterFS distributed storage deployment (Server)
- How to statistical data of various size Redis (Database)
- Element content of Java HashSet change issues (Programming)
- Sorting Algorithm (1) Quick Sort C ++ implementation (Programming)
- Linux Network Programming - signal blocking and shielding (block, unblock) (Programming)
- Install Ubuntu open source drawing program MyPaint 1.2.0 (Linux)
- Repair Chrome for Linux is (Linux)
- Java Adapter Mode (Programming)
- Memcached installation, configuration and monitoring (Server)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.