In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
What this article shares with you is about how linux forbids dormancy. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Profile xorg.conf generates and modifies
Check to see if there is a xorg.conf file
# cd / etc/X11/
# ls
If not, it needs to be regenerated.
Note: never create a new file yourself, or you will find that you cannot enter the desktop system if you restart your computer.
Generation method:
Under the root account:
# cp / var/log/Xorg.0.log / var/log/Xorg.1.log
# Xorg-configure: 1 (Note: there is a space after configure)
At this point, the xorg.conf.new will be generated under the directory / root/, and execute
# cp / root/xorg.conf.new / etc/X11/xorg.conf
At this point, you can make changes on the basis of xorg.conf.
Modify xorg.conf
# vi / etc/X11/xorg.conf
Add the following:
Section "ServerFlags"
Option "BlankTime"0"
Option "StandbyTime"0"
Option "SuspendTime"0"
Option "OffTime"0"
EndSection
Section "Monitor"
Option "DPMS"false"
EndSection
Save it and restart it.
Note: when adding the "Monitor" section, if you find that it already exists, mine is as follows:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Just add: Option "DPMS"false" in this section.
Modify the xorg.conf so that the boot computer cannot enter the system processing
Many people on the Internet said to use CD-ROM repair, mine is to use U disk to install can not enter, take U disk to repair, every time is to enter the installation interface, can not be solved. Later, I saw that someone said to log in in single-user mode, and finally solved it.
(1) when starting up, quickly press f8 (or Ctrl+Alt+f2) to enter the GRUB mode interface, and then press "e" to enter the GRUB editing interface.
(2) move the cursor to kernel. On that line, type "e" to enter the command line editor
At the end of the kernel line, enter: space 1 (single is also OK), and then enter (notice the space before 1)
Type "b" to start the system and enter single-user mode.
At this point you can enter the command line system and modify your xorg.conf file as noted above.
This is how linux forbids dormancy. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.