Linux: runs X sessions within X sessions

Source: Internet
Author: User
Article Title: linux: run X sessions within X sessions. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
XFree86 is the basis of the graphic interface of the Linux operating system. Although she seems outdated in many aspects, it is still quite powerful.

One of the advantages of using Linux is that you can use a program named Xnest to run another X session in one session window. Like its name, the Xnest program allows you to run another full-screen X session without closing the current session window.

To nest an X session, open an xterm or a similar control platform in X and run the following command:

$ Xnest: 1-ac &

This command line uses the session window identifier: 1 to start another X session. (By default, session: 0 is used to start X .) This command opens a new window named Xnest, that is, a blank page or a color background page is displayed.

Now, you can start a Window manager such as Window Maker in the new session Window by executing the following command.

$ DISPLAY =: 1 wmaker &

In the new nested session window, you can perform all operations in the regular X session window. When sending a program to the window outside the nested session window, you need to set the DISPLAY environment parameter to start the nested internal session window. You can also process the program in the background so that the program does not run in the session window.
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.