Run xserver in Windows

Source: Internet
Author: User
Tags xming

Http://www.cnblogs.com/itech/archive/2010/02/23/1672137.html

Xserver and xclient

X Windows is a Windows system for bitmap display. It is a standard toolkit and protocol for creating graphical user interfaces. X is a protocol, not a specific application Program . X provides a basic framework for the GUI environment: drawing on the screen, moving windows, and interacting with the mouse and keyboard.
X11r6 is usually called X protocol version 11 release 6. X11 allows you to run X11-based applications.
X is implemented through the server/client architecture.
Xserver: the server provides the display service for the graph program, receives the input from the user interface, and submits the input event to the graph program (which can be Windows Manager) for processing, it can also create, MAP, delete windows, and write and draw in windows.
Xclient: the client is an application running on the X server. It can send requests to the server and receive events from the server.
Windows Manager is a special graphic application. It manages windows running on other graph lines and provides Decoration (such as title bars and borders) for Windows) supports window operations (change the size, movement, and overlap ). Many Window managers also provide functions such as virtual desktops and mouse gestures. Generally, xserver allows only one window manager to run. If you do not have a window manager, the graph row program can run, but only the latest program is at the top of the list and displayed in full screen mode.
Desktop is a concept that is easy to confuse with window manager. The desktop environment generally comes with a window manager and provides more utilities. Such as convenient management of control centers and file management.
X Display Manager (xdm, TPD, and WDM) manages multiple xservers (local or remote ). If a Linux machine is started at level 5, the user logon interface is Display Manager. After you enter the user name and password, Display Manager starts the local xserver and initializes an X session, generally, xsession is used to start the local window manager and desktop environment. If XDMCP = true is set in the configuration file, Display Manager can also manage remote xservers through the XDMCP protocol. When xmanager is used on a Windows machine to log on to a Linux/Unix machine, XDMCP is used to log on. The user also enters the user name/password to log on. xdm starts an X session, however, this xserver is on a remote machine.

2. Run the graphic interface program on a remote Linux server on Windows

If you need to run the graphic interface program on a remote Linux server, you cannot run it by logging on via ssh. The graphic interface is not supported. The graphic interface program in Linux is a typical C/S structure. It requires an X Server and X client (usually the program itself) to run normally and Display Results normally. If the local operating system is also Linux and has a graphical interface, it indicates that X server is running locally. Then, the remote graphic interface X client is connected to the local X server to run; if the local operating system is Windows, you need to run another X server program, and then remote Linux image X client will connect to the local xserver.

Cygwin

Cygwin provides the simulation of the Linux environment on the window. Visit http://www.cygwin.com/and select the xserverrelated components during installation.

Steps:

1) startxwin. Sh & (start server)

2) ssh-X-l username IP (connect to Linux)

3) gedit & (open the gedit on Linux on the local Windows)

Four xwinlogon (no trial successful)

For cygwin-based download: http://sourceforge.net/projects/xwinlogon/files /.

5 x Ming + putty (Super awesome access to the Linux interface in Windows) (highly recommended)

Download: http://sourceforge.net/projects/xming/files/

Xming server runs automatically after installation. If it does not run, start it through the desktop shortcut menu or run the command "C: \ Program Files (x86) \ xming \ xming.exe ": 0-clipboard-multiwindow to start.

Download putty.exe and run it directly. In the putty configuration, select enable X11 fowarding in connection SSH and X11.

Connect to your Linux machine and run gnome-terminal and gedit. Of course, you can run any UI application.

Six others

Commercial X Window Server

Http://www.labf.com/winaxe/

Http://www.starnet.com/products/xwin32/

Http://www.microimages.com/mix/

Free X Window Server

Http://www.mochasoft.dk/freeware/x11.htm

Reference

Linux Remote Desktop (for Windows): http://easwy.com/blog/archives/linux-remote-desktop-via-cygwin-x-server/ using cygwin X Server

Reference xming + Putty: http://www.cnblogs.com/zzub/archive/2011/04/08/2009854.html#2065566

Complete!

thanks, thanks!
author: itech
Source: http://itech.cnblogs.com/
the copyright of this article belongs to the author of itech, reprinted please include the author's signature and source, cannot be used for commercial purposes, otherwise, you will be held legally responsible!

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.