Linux Remote Desktop Connection notes

Source: Internet
Author: User
After editing the Linux remote connection desktop note vi, enter wq to save and exit. objective: to remotely connect to the Linux system using Windows graphics. 1. first install VNCserver in Linux. generally, [root @ RHEL ~] has been installed by default. # Rpm-q... Linux remote connection desktop note vi after Editing input: enter wq to save and exit objective: to remotely connect to the Linux system on Windows. 1. first install VNCserver in Linux. generally, [root @ RHEL ~] has been installed by default. # Rpm-q if the vnc-servervnc-server-4.1.2-14.el5_5.4 is not installed, you can install yum [root @ RHEL ~] # Yum install vnc-server if the system already exists, execute the above version, you can choose to install. 2. set the first time vncserver is run after VNC is installed, the client connection password is required. [Root @ Linux root] # vncserverYou will require a password to access your tops. Password: set a password here-in order not to allow anyone to remotely control this computer. Therefore, when you start the VNC server for 1st times, you must set a remote control password. This is your login VNC password must be safe enough. It seems that users can be configured in any article. However, 80% of users are not used to distinguishing users. Because VNC can virtualize N desktops. Hooko, with Linux users, is very good and powerful. Creating default startup script/root /. VNC/xstartupStarting applications specified in/root /. VNC/xstartupLog file is/root /. VNC/Linux: 1. log3, set the xstarup file above, Creating default startup script/root /. vnc/xstartup indicates that a Tianqi script file has been created. we need to set remote environment parameters. Open the file as follows: [root @ RHEL ~] # Vi/root/. vnc/xstartup 1 #! /Bin/sh 2 3 # Uncomment the following two lines for normal desktop: 4 unset SESSION_MANAGER <-- This line starts with a annotator #, remove it. 5 exec/etc/X11/xinit/xinitrc is the same as above. 6 7 [-x/etc/vnc/xstartup] & exec/etc/vnc/xstartup 8 [-r $ HOME /. xresources] & xrdb $ HOME /. xresources 9 xsetroot-solid gray 10 vncconfig-iconic & 11 xterm-geometry 1024x768 + 10 + 10-ls-title "$ VNCDESKTOP Desktop" & <-- 1024*768 is remote display the screen resolution. You can change it as needed. 12 # twm & <-- This line is the default graph window and comments it. 13 gnome-session & <-- This line is newly added, that is, the window manager used by the client to connect. if the graphic environment is KDE, you can also write the KDE settings and save the settings and exit.
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.