Problem description:
Today, I suddenly found that none of the users except root could start startx.
Today, I suddenly found that none of the users except root could start startx.
Fatal server error:
PAM authentication failed, cannot start X server.
Perhaps you do not have console ownership?
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to [email protected].
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
Couldnt get a file descriptor referring to the console
Solution:
Check /var/run/console.lock contains the username, and /var/run/console/< user> To exist. When authenticating, pam_console compares the user name to the content of Console.lock, and if not, the authentication fails. /var/run/console/< user> Used to record the number of times the user logged in, and then the console.lock can be deleted after the user logged out.
Solutions:
I used the ordinary user of Oracle. I created a file named Oracle by running touch Oracle command under /var/run/console/, and then I could enter the graphical interface by re-running Startx.
Read More:
- Solution to the problem of multiple parameters when using pipeline under Linux
- Solutions to the problem of “there are stopped jobs” in Linux
- Solve the problem of unable to start under zookeeper Linux
- Installing opencv and Linux Makefile:160 : recipe for target ‘all’ failed problem resolution
- How to solve the problem of error 15: file not found when Linux starts
- How to solve the problem of Cannot find module’npmlog’ when installing nodejs under Linux
- Linux-mysql8.0 password reset problem – error 1396 (HY000): Operation alter user failed for ‘root’ @’localhost ‘
- Solution to the problem that listen TCP 0.0.0.0:3306: bind: address already in use port is occupied in Linux centos7
- Alpine Linux executable file crash report error / lib / x86 not found_ 64 Linux GNU / libc.so solution
- Netinet / in. H Linux / in. H problem
- Linux use ls to view the file color is all white solution, and Linux file color introduction
- [DRC nstd-1] problem solving of vivado error problem
- After vivado joined ILA, the [DRC lutlp-1] problem of error problem was solved
- CentOS solves the problem of modulenotfounderror when salt calls python3 script remotely, and solves the problem that PIP3 module cannot be shared by different users
- To solve the problem of failed to load: data in HTML5 game running rmmv locally/ actors.json problem
- [unity] when using unity hub, there is a problem of “failed to delete old unit installation file…” problem
- Duplicate class com.xxx.xxx Find in modules problem solving (Aidl interdependence problem)
- Errno in Linux Programming
- Zookeeper connection timeout problem, and refused to connect to solve the problem
- Export and import method of MySQL under Linux