Widows local-xshell for remote connection to Linux server graphical interface

Source: Internet
Author: User
Tags i18n

The local environment remotely connects the Linux GUI, the common Realization tool has, VNC, puty, Xshell, etc.
Here we use the Xshell manager;

Xmanager Introduction:
Xmanager is a high-performance X-Server software that runs on Windows platforms. It can seamlessly take the remote Unix/linux desktop to your windows, even after the computer is in the intranet or firewall, but also through the SSH protocol safe to run the remote X application.

Features include:

    • Multiple Xmanager settings can be set through the Xcongfig tool;
    • Support for multi-user Windows terminal environment;
    • Support multiple IP addresses;
    • Support local resource database;
    • Keyboard mapping via hotkey conversion;
    • Support for Windows printing functions in multiple windows, etc.

Local Client operations:

First download the software,
Chinese Civil Service Network: http://www.xshellcn.com/
Website address: http://www.netsarang.com/products/xmg_overview.html
Then install it on your local computer.

Server-side configuration:
My remote server environment here is: CentOS 6.3
To view the Linux system environment:
[Email protected] ~]# cat/etc/issue
CentOS Release 6.3 (Final)
Kernel \ r on an \m1

(1) If the desktop is not installed, install the desktop environment first

Installing the desktop system
Yum Groupinstall "Desktop"
Yum groupinstall "X window System" 1

If the interface is Chinese, need to install Chinese support-if the operating system rules in English, this step can be skipped!
Yum Groupinstall "Chinese support" 1

Note: minial CentOS installation, if the default choice is English, you need to modify the/etc/sysconfig/i18n, change Lang to lang= "ZH_CN. UTF-8 "
Sed-i ' s/lang=.*/lang= ' ZH_CN. UTF-8 "/'/etc/sysconfig/i18n

(2) Formal configuration: installation of GDM;
Yum-y Install GDM
(if installed, do not need to install) through the command: Rpm-qa GDM to see if it is installed!

(3) Configure the system as a graphical mode, open/etc/inittab, modified to Id:5:initdefault: (if it is 5 does not need to modify)
Vi/etc/inittab

(4) Open/etc/gdm/custom.conf, and add the following separately under the [security] and [XDMCP] fields:
[Security]
Allowremoteroot=true
[XDMCP]
port=177
Enable=1

(5) Turn off the firewall (service iptables stop) or open the UDP protocol 177 port on the fire wall,
After saving, terminal input: GDM
Start the GDM service and allow remote connections.
Restart the machine!!!

(6) Then, on Windows, open Xshell Manager--xbrowser--New XDMCP (keep the default configuration on line!!!) )
A Linux server can be connected remotely via IP.

OK can be displayed normally, there is wood!!!

Other reference address:
http://blog.csdn.net/linghao00/article/details/8768435
Http://www.360doc.com/content/11/0623/09/6377762_128868614.shtml
http://blog.csdn.net/fgf00/article/details/50965686
http://blog.csdn.net/wangxiaopeng0329/article/details/51569817
http://blog.csdn.net/fgf00/article/details/50965686
Resolve Connection Gray screen: https://wenku.baidu.com/view/ceb411f96c85ec3a86c2c57f.html

Widows local-xshell for remote connection to Linux server graphical interface

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.