Linux Remote Desktop

Source: Internet
Author: User
Tags rdesktop

Windows Remote connection Linux configuration (Linux VNC server configuration):1. Check if VNC is installed on the machine (CentOS5 has VNC installed by default)
Rpm-q VNC Vnc-server
If you see the result as:
Package VNC was not installedvnc-server-4.1. 2-e15_3. 1

Congratulations, the machine has been installed VNC, if not, you have to install, here do not say how to install, very simple, in the CentOS Software Library search, click Install

2. Add the Remote Desktop user to the configuration file
Vim /etc/sysconfig/vncservers

Use the Vim editor to open the configuration file and add the following two lines of command to the file

vncservers="1:root" -- Specify remote user vncserverargs[1]="- Geometry 1024x768" --Specify the Remote Desktop resolution
3. Set the password for the Remote Desktop user root you just set up
vncpasswd
4. Turn on the VNC port
Vim/etc/sysconfig/iptables

Use the Vim editor to open the configuration file and add the following line of commands to the file

5900:5903 -j ACCEPT
5. Restart the firewall
6. Modify the Remote Desktop display profile (do not modify this file the Remote Desktop you see is simple, equivalent to command-line operations, for remote operations like local operations, be sure to refer to the following ways to modify)
CD ~/.vnc/vim Xstartup
Use the Vim editor to open the configuration file and make the following modifications
#xterm-geometry 80x24+ten- ls"$VNCDESKTOP Desktop" &--&-- annotate it with Gnome-session &--add it
Look at this code, you should understand what's going on. 7. Start the VNC service
Service Vncserver Start

8. Remote connection Open VNC client, Server box input ip:1 (1 for the above configured remote user code, configuration file can be configured multiple remote users), then you can easily through the friendly Remote Desktop to control CentOS. 9. Boot automatically starts VNC
Vim/etc/rc.d/rc.local

Use the Vim editor to open the configuration file and make the following modifications
/etc/init.d/vncserver Start--New row

Windows Remote Connection:

Host Ip+port

Linux under Remote Desktop Tools (remote Windows):

Configuring the software to access remote desktops on Linux, where we need to install Rdesktop and tsclient, where Rdesktop is a command-line based tool, Tsclient is just a graphical interface that relies on rdesktop. Open terminal after logging in to Gnome
$Install rdesktop$install tsclient  

For: Terminal Server Client

Linux Remote Desktop

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.