Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using X11 to access the graphical interface of remote Unix host under Mac OS

2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Start XQuartz

2. Open the preferences and check the "simulated three-button mouse" under the input.

3. Select "full screen mode" for output, and press Command-Option-A to switch.

4. If you modify the configuration, you need to exit and restart to take effect.

5. Select "Application-Terminal"

6. When the terminal window opens, enter:

Xhost + and then enter.

7. Log in to the remote host:

Ssh-X username@host

Enter the password to log in

8. Enter setenv enter after login, view the DISPLAY variable, and set the DISPLAY variable:

Setenv DISPLAY localhost:10.0

9, you can enter xclock, if the pop-up window, indicating that you can use the graphical interface of the remote host.

10. When you exit, close the graphics window first, and then type exit on the command line to exit

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report