BT5R1 starts and automatically enters the graphic interface

Source: Internet
Author: User
First, directly log on to the root user's graphical interface, do not enter the password 1, install rungetty1 # apt-getinstallrungetty2, edit/etc/init/tty1.conf1 # gedit/etc/init/tty1.conf, comment out the exec section, and add 12 # exec/sbin/ge... first, log on to the GUI of the root user without entering the password.
 
1. install rungetty
 
1 # apt-get install rungetty
 
2. edit/etc/init/tty1.conf.
 
1 # gedit/etc/init/tty1.conf
 
Comment out the exec section and add a sentence.
 
1
2 # exec/sbin/getty 38400 tty1
Exec/sbin/rungetty tty1 -- autologin root
 
3. edit the. bash_profile file. if not, create it.
 
1 # gedit/root/. bash_profile
 
1 startx
 
Type 2: directly start to the graphic interface, prompting you to enter the user password
 
1. install
 
1 # sudo apt-get install TPD
 
2. set the default value to gmt1.
 
1 # sudo update-rc.d
 
3. edit grub
 
1 # vim/etc/default/grub
 
GRUB_CMDLINE_LINUX_DEFAULT = "text splash vga = 791 ″
Change to quiet
GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash vga = 791 ″
 
4. update grub
 
1 # sudo update-grub
 
5. restart
 
1 # inti 6

From Chinadu's Blog
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.