Run programs on other Linux hosts on Linux

Source: Internet
Author: User
On Linux, run the program on other Linux hosts on the network transparency designed by the XWindow system. on the Linux desktop system, run most xwindows to display the XWindow program running on other Linux hosts, it should be justified. There are two methods after the experiment. Take two L... on Linux, run the program on other Linux hosts on the network transparency designed by the XWindow system. on the Linux desktop system, run most xwindows to display the XWindow program running on other Linux hosts, it should be justified. There are two methods after the experiment. Take the cb48 and cb48 Linux hosts as examples. 1. run multiple X Server 1 on the local Linux host and start another X Server #/usr/bin/X on the tty8 terminal of the cb48 host: 1.02. press CTRL + F1 on the host cb48 to switch to the terminal tty1 and log on. allow all X clients # xhost + 3. log on to the remote host cb48 using SSH protocol on the host cb48, set the DISPLAY environment variable # ssh cb @ cb251cb @ cbloud # export DISPLAY = cb48: 1.04. run program cb @ cbloud # gedit & 2. run an X Server on the local Linux host, remote X client request through SSH forwarding (forward) 1. Use ssh to log on to a remote Linux host with X11 forwarding options # ssh cb @ cbbench-o ForwardX11 = yes2. after successful login, run the X11 program directly to run cb @ cbdit # gedit or directly run the program on the remote host using client ssh # ssh cb @ cb25 1-o ForwardX11 = yes geditssh is the easiest method to run directly. If you use ssh without a password to log on to the remote host and create a shortcut using the commands directly run by ssh, you will not feel that the program is actually running on the remote host.
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.