Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Linux (RHEL6 CENTOS6 OLE6) VNC-SERVER Installation and Configuration     - Ubuntu uses conky add desktop control (Linux)

- Linux System Getting Started Learning: hard disk partition, and to deal with traps (Linux)

- Linux shell string interception and stitching (Linux)

- Easy to get hidden administrator account (Linux)

- iOS persistence of data archiving NSKeyedArchiver (Programming)

- Getting Started with Linux system to learn: How to compress JPEG images on the command line (Linux)

- Linux system network security tools sudo Introduction (Linux)

- Ubuntu How to install Pacman (Linux)

- Installation under Linux Mint system guidelines for Gtk (Linux)

- SLF4J Tutorial (Programming)

- Installation of Gitlab under Ubuntu (Linux)

- CentOS 6.5 Telnet SecureCRT use management tools (Linux)

- Camouflage Nginx Web server version to prevent invasion (Linux)

- Create the best introductory tutorial REST API (Linux)

- Vi syntax highlighting settings (Linux)

- Under CentOS 7 installation and deployment environment Ceph (Server)

- 25 Git Usage Tips (Linux)

- Boot automatically remove Linux operating history records (Linux)

- Fedora network set up simple (Linux)

- Sublime Text 3 shortcuts summary (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:      
 
- ActionContext and ServletActionContext Summary (Programming)
- Android Unzip the ZIP / GZIP data (based on the InflaterInputStream implementation) (Programming)
- MongoDB3.0.6 wiredtiger MMAPv1 (Database)
- PuTTY Xming achieve the X11 forwarding ssh (Server)
- How to build Memcached Docker container (Server)
- To install minimize RHEL / CentOS 7 (Linux)
- Installation Eduspec university management systems 17 Linux Mint (Server)
- How to configure AWStats in Ubuntu Server (Server)
- Ubuntu Linux use ufw or iptables firewall configuration (Linux)
- Linux NFS FTP use (Server)
- Check the Linux server performance with ten or so commands in a minute (Server)
- Oracle 11g upgrade PSU detailed steps (Database)
- CentOS / Linux restart active NIC connection paths / network configure error Error Resolution (Linux)
- Installation of JDK and Tomcat under Linux (CentOS) (Linux)
- DM9000 timing settings (Programming)
- Install apr support for Tomcat on Linux (Server)
- Linux command line to put on your coat GUI (Linux)
- Linux Security Raiders SSH tools SCP uses examples to explain in detail (Linux)
- Ubuntu cut screen method (Linux)
- LinkedList Basic Usage (Programming)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.