Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Linux (RHEL6 CENTOS6 OLE6) VNC-SERVER Installation and Configuration     - Installation JDK 1.8 under CentOS7 (Linux)

- CentOS7 set boot directly into the command line interface (Linux)

- Nginx server security configuration (Server)

- Unix average load average load calculation method (Server)

- Linux shell in back quotes (`) Application (Linux)

- Build a super simple "hardware" firewall router (Linux)

- Puppet Detailed centralized configuration management system (Server)

- MySQL 5.6 use GTIDs build the master database (Database)

- Scope of variables in C # (Programming)

- Examples of Python any parameters (Programming)

- Linux, modify / retrieve the root password (Linux)

- Install the system cleaning software under Linux: BleachBit 1.4 (Linux)

- Django 1.8 TEMPLATE_DIRS configuration and STATICFILES_DIRS (Server)

- Ubuntu Thunderbird 24.4.0 (Linux)

- Linux shell script under the use of randomly generated passwords (Programming)

- Log device files under Linux - logger (Linux)

- ORA-12545: Connection failed because the target host or object does not exist (Database)

- The basic principle of pointers in C ++ (Programming)

- Executable file format Explanation under Linux (Linux)

- 3 ways to create a lightweight, durable system of Ubuntu Linux USB disk (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:      
 
- Ubuntu 14.04 LTS 64-bit installation and activation Sublime Text 3 can not solve the Chinese input method to solve the problem (Linux)
- Oracle to create an external table (Database)
- Let the router be your security barrier against external attack (Linux)
- Why not use the ifconfig command under RedHat Linux 5 (Linux)
- The difference between IPython and Python (Linux)
- Using Maven to download Spring (Linux)
- Distributed Firewall Design on Linux platform (Linux)
- Linux five security TIPS (Linux)
- iOS custom keyboard emoji expression (Programming)
- Shell Scripting Interview Questions (Programming)
- Linux system installation Gitlab (Server)
- Let Git variety of colors and custom log format output (Linux)
- How to Use Nmap security scanner tool on Linux (Linux)
- count (*) function in MySQL optimization of InnoDB storage engine (Database)
- Mounting kit under Fedora Linux (Linux)
- Use ldap implement Windows Remote Desktop Ubuntu Linux (Linux)
- Applications Linux leap second problem caused (Linux)
- printf PHP string operations () built-in function usage (Programming)
- Some common Linux commands Study Notes (Linux)
- Linux uses a screen recording under RecordMyDesktop (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.