Linux cannot access the graphic interface Fatalservererror: couldnotopen
Source: Internet
Author: User
Linux cannot access the graphic interface Fatalservererror: couldnotopen -- Linux general technology-Linux technology and application information. For more information, see the following. The solution is as follows:
I. comment out the FontPath unix/: 7100 and it can be started, but there is a problem with the Chinese font.
2. Run xfs & before the startx command ??? Br/>
In fact, the reason why it cannot be started is because the user clears the/tmp directory, which contains an implicit file/tmp /. font-unix/fs7100. The file property is srwxrwxrwx. The length is 0, which is a font link file. The deletion of this file causes the problem mentioned above. As long as this file is generated, it can be "fixed" and cannot be started. In fact, running xfs is to generate this file immediately. The xfs service is already running in the system, but the file cannot be automatically generated (no permission ).
In addition, it should be noted that the file is lost after the computer is restarted, because the program xfs that generates the file is running as the current user, once the system exits, the generated temporary file is automatically cleared. Therefore, you must change the owner and user group of the file to the default xfs.
In general, there are several steps to solve this problem:
1. Enter xfs &
2. Run chown/tmp/. font-unix
3. Run chown/tmp/. font-unix/fs7100
4. Run chgrp/tmp/. font-unix
5. Run chgrp/tmp/. font-unix/fs7100
6. restart the system once (or kill the current xfs and restart the system xfs)
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