Use Xwindow for an interesting experiment

Source: Internet
Author: User
Use Xwindow to do an interesting experiment-Linux general technology-Linux technology and application information. The following is a detailed description. Now let's do a test to attract your interest in Xwindow.

Many people leave xdm and do not know how to start "Xwindow. In fact, the Xwindow startup method is very simple.

First, start your X server. In Linux, you can directly enter "X &" to run an X server in the background. In this way, a window (root window) that occupies the entire Screen appears. If it is Exceed or X-win32, you need to set the screen to "single window" to see this window.

Next, Linux users need to use xauth to set a password for your X server, so that others cannot illegally connect to your X server. You need the Ctrl-Alt-F1 to switch to tty1 to enter this command. Users of Exceed and X-win32 do not need this step. In the following example, Only Linux is used as an instance. Users of other systems can draw images based on Huludao.

Xauth add: 0. 'mcooker'. Now you can try to start an xterm to this X server:

Xterm-display: 0 switch to X by Alt-F7, and you see an xterm that is not managed by the window manager. How about moving it? Switch to tty1 and start another xterm. Does the two xterms overlap? How do you input in the first xterm? Is it so painful to use it? Then you can start a window manager in xterm, such as twm, and directly run "twm.

You can see that the xterm windows are added with the title bar, buttons, and borders. Now you can move them. Try killing twm and check if all the title bars, buttons, and borders have disappeared? You know the role of the window manager.

Now we will show you how to use CDE on the Sun machine instead of XDMCP broadcast and bypass the CDE logon interface. In fact, you only need to replace the "twm" in the example with the dtwm of the CDE window manager, or start the dtsession. They are generally in/usr/dt/bin. Sun also has another window manager called OpenLook, which is named olwm in the system. Find it by yourself.

Now, if you have installed a FVWM on the Sun machine, do you know how to bypass CDE logon and start FVWM? You don't need to be the root user to use the FVWM you like.

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.