How to remotely execute a GUI program in Linux

Source: Internet
Author: User


How to remotely execute the GUI program in Linux has been checking for memory leaks today. By dumping the memory information jmap dump, a GB binfile is generated. If it is downloaded to a local machine, it takes about two hours to analyze the Memory data by running the MAT (Memory Analyzer) on the server for convenience. Currently, www.2cto.com is commonly used in Ubuntu for two desktop DISPLAY managers: lightDM and gnome display manager. In Ubuntu11.10, lightDM is used by default, a lightweight and faster display manager. Here we will only describe how to configure the lightDM environment: first enter the configuration file:/etc/lightdm. conf adds a configuration line after [SeatDefaults]: xserver-allow-tcp = true # Open Port X11 (6000) and log on to the remote server through ssh on the local machine, import the GUI to the local server (Remote server) to the environment variable $ export DISPLAY = <Client_IP>: 0.0 allow access to xserver on the client (your own Ubuntu: $ sudo xhost + finally open the mat on the server.

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.