cannot create /dev/null: Permission denied
Dear Sirs
After upgrade from feisty to gutsy I can't login from the graphical interface. After accepting my password, the display flickers and returns to the login screen. There are no error messages. If I go to console login and try startx this fails and shows two relevant messages: "/etc/X11/Xsession: 92: cannot create /dev/null: Permission denied" and "/usr/bin/startx: line 169: /dev/null: Permesso negato". If I start in recovery mode I login with my username and my password but without my configuration. Note: no problem on Feisty.
Please help me.
Thanks in advance for your attention.
Best regards.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- marcobra (Marco Braida)
- Solved:
- 2007-11-03
- Last query:
- 2007-11-03
- Last reply:
- 2007-11-03
I have same i filled a https:/
Open a Terminal open the /etc/rc.local file
sudo nano /etc/rc.local
and put before the exit 0 instruction
chmod 0666 /dev/null <---- insert this
exit 0 <--- don't touch this row
Save and reboot
HTH
| mau (mauro-ste) said : | #2 |
Sorry if I answer with another question.
Yes, your suggestion solve the problem and now I can login with my username and password.
Unfortunately sudo don't works because if I try sudo <command> and I answer with my password, the system refuse the password.
Could you help me?
Thanks a lot in advance.
Mauro
I suggest to close this question and open a new question about "sudo password error"
Thank you.
| mau (mauro-ste) said : | #4 |
Thanks elart.it, that solved my question.

