How to remotely execute the GUI program in Linux has been checking for memory leaks today. by dumping the memory information, a GB binfile is generated. if the file is downloaded locally, it takes about two hours, for convenience, run MAT (MemoryAnalyzer) analysis on the server directly...
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, DISPLAY the GUI to the local environment variables imported from the server (remote server): $ export DISPLAY = : 0.0 allow access to xserver: $ sudo xhost + on the client (your own Ubuntu), and then enable mat on the server.
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.