Fedora 下用 root 权限进入 X 界面



为了安全,Fedora 默认禁止在图形界面下使用 root 进入系统.但是这个对于开发环境来说是很不方便的.



auth required pam_succeed_if.so user != root quiet


注意,这两个文件也是要在 root 权限下修改的.

>gedit /ect/pam.d/XXX

哦对了, /etc/hosts /etc/fstab 也是这么修改的哦!


5 Responses to “Fedora 下用 root 权限进入 X 界面”

  1. zzzhu Says:
    Jul 12th, 2010 MSIE 7.0 Windows XP 21:38 Reply


    • Mini Dragon Says:
      Jul 12th, 2010 Firefox 4.0.rpmmadebyminidragon Fedora  21:40 Reply

      这个恐怕不难的吧 主要是您还在使用XP

      • hzlzh Says:
        Jul 13th, 2010 Firefox 3.6.6GTB7.1 Windows 7 08:39


      • Mini Dragon Says:
        Jul 13th, 2010 Firefox 4.0.rpmmadebyminidragon Fedora  21:17


  2. LarryGew Says:
    Mar 15th, 2017 Chrome 47.0.2526.111 Windows 13:50 Reply

    It can be daunting trying to figure out what you need to do once you have been diagnosed with sleep apnea. There are so many new things to learn, and you may feel a bit overwhelmed. Reading this article can provide you with some simple steps to take to make the transition much easier.

    One way to improve your sleep apnea is to shed excess weight that you are carrying. Being overweight or obese places pressure on your neck, which can compress your windpipe as you sleep. Losing just 25 pounds can make a difference in your symptoms, and losing enough weight can eliminate the disorder altogether.

    If you have sleep apnea, try sleeping on your side. If you are a back or stomach sleeper, gravity is working against you all night. Your airway is much more likely to collapse if you are facing straight up or down. Sleeping on your side instead makes it much easier for your body to maintain your airway as you sleep.

    If you suffer from sleep apnea, it is vital to avoid consuming alcohol before bedtime. Alcohol acts as a sedative, therefore, it will naturally slow down your breathing. In addition, it will relax all the muscles in your body, including those in your throat that help to keep your airway open.

    Try your best to lay off tobacco and nicotine products. Cigarette smoke can irritate your upper airway causing it to swell up, subsequently hindering your ability to breath during the night. Quitting smoking could therefore, significantly improve your sleep apnea symptoms and will also improve your body's overall health and your feelings of well-being.

    Attempt side sleeping. Many people with sleep apnea are used to sleeping on their backs. When you sleep on your back it can cause your throat and mouth tissues to impede your airways. Instead, you should sleep on your side and that can help your breathe much better. Put a pillow on your side if you always find yourself moving around during sleep.

    Do not let sleep apnea ruin your relationship. If your partner has difficulties sleeping next to you because of your snoring or other symptoms linked to sleep apnea, communicate about the problem. be understanding and consider sleeping apart or getting a CPAP machine to reduce your snoring and other symptoms.

    You can reduce sleep apnea with exercises to strengthen throat muscles. Sleep apnea is often caused by the tissues in the throat, which can relax and collapse while you sleep. When your muscles strengthen, their chances of collapse and airway blockage go down.

    If simple changes in your lifestyle, such as regular sleep hours and losing weight, have not eliminated your sleep apnea episodes, it is time to consult with a sleep specialist. The specific causes of your sleep apnea can be evaluated, and an individual treatment plan can be designed for you.

    Sleep apnea can cause many problems beyond just the inability to get a good night's sleep. If you let your condition go untreated, it may get worse over time. Getting enough sleep is crucial to your overall level of health, so start using the tips you have read in this article right away to find relief.



Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).