For more information about the Xserver-Linux Enterprise Application-Linux server application running in windows, see the following. If you need to run a graphical interface program on a remote linux server, you cannot use ssh or SecureCRT to log on. The graphic interface is not supported. First, you need to understand a basic knowledge. The graphic interface program in linux is a typical C/S structure and requires an X server and X client (usually the program itself) in order 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. You only need to connect the remote X client to the local X server; if the local operating system is windows, you need to run another X server program.
(1) solution in linux
Because X server is already running in linux, the solution is simple. You only need to add the-X parameter during ssh connection.
For example, enter the following command in the terminal:
Ssh-X usrename @ hostname
In this way, all graphical interfaces of this session can be used normally.
(2) solutions in windows
Windows does not have X server by default, so the idea is to run an X server first, and then connect the local X server to a remote X client like in linux.
Xmanager can be used for the X server program (commercial software, Standard Edition requires $99, but Trial)
After downloading and installing it, run start-Program-Xmanager2-Xmanager? Passive: A yellow X-shaped system tray icon appears in the notification area of the taskbar, indicating that the local X server has been successfully run.
In this case, enable SecureCRT, select Remote/X11 in session options, and hook the Forward X11 packets. The description may not be cleared.
Now, when this session is used to connect to the server, there is no problem with the disconnected graphic interface program on the server.
In this way, you can run GUI programs such as gedit in linux, and even run the entire desktop system (the linux desktop system is actually an X client program ). It can basically match vnc.
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.