Startx in linux

Source: Internet
Author: User


Problem description:
Today, all users except root cannot start startx, and the following error occurs: Java code 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 xfree86@xfree86.org.
Giving up. www.2cto.com 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 the username in/var/run/console. lock and/var/run/console/<user>. During authentication, pam_console compares whether the user name is consistent with console. lock content. If not, authentication fails. /Var/run/console/<user> is used to record the number of user logins. After a user logs out, console. lock can be deleted. Solution:
I am a common oracle user. I run the touch oracle command under/var/run/console/to create an oracle file. Then I can run startx again to access the graphical interface.
 

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.