REDHAT9.0Linux GUI startup Method

Source: Internet
Author: User
I have installed the RedHat9.0 server version on the virtual machine. I have installed the graphical components. However, problems occur during startup. Please help me learn how to learn about Linux. after entering the system, you cannot use the startx command to enter the graphic interface, prompting commandnotfound. After you change id: 3 in the/etc/inittab file to id: 5, the system prompts INIT: ID: Xrespwaningtoofast: disabledfor

I have installed RedHat 9.0 server version on the virtual machine. I have selected to install graphical components during installation. However, problems occur during startup. Please advise me how to learn about Linux. after entering the system, the startx command cannot enter the graphic interface, prompting command not found. Change id: 3 in the/etc/inittab file to id: 5.
INIT: ID: X respwaning too fast: disabled for 5 minutes

When a program in the/etc/inittab, such as mgetty, is used to receive modem dial-in, the system restarts, or a few dial-in attempts fail; or the logon prompt is canceled several times (for example, ctrl + D.

The reason is that when init starts a program through/etc/inittab, if the program is terminated several times in a row, the corresponding entries in the/etc/inittab will be disabled and will not be started again. Under normal circumstances, the program should be restarted two minutes after the end. This problem should not be attributed to the init bug.

Solution:
First, many programs have their own logs or write their syslog data to/var/log/messages or similar logs in this directory. Therefore, you can view these logs to obtain error information. You can also manually start these programs under shell to get the error message, but remember not to change the project in/etc/inittab. You can use the init q command as root to re-use these invalid commands.

Solution: first check the entries in/var/log/messages or find "respawning ". When I see the prompt in the previous line, here is "Sep 4 10:27:14 rism/sbin/mingetty [1094]:/dev/tty1: cannot open tty: No such d
Evice ". Then I log off "1: 2345: respawn:/sbin/mingetty tty1" in the/etc/inittab.

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.