To solve the problem that Deepin cannot start Google Chrome browser as root user, follow the steps below. 1. Find the path of Chrome If the path is: 2. Edit the google-chrome file Open google-chrome and modify the command at the end of the file. Add Press Esc, :wq, exit and save, and now you can open the Chrome browser! ps: Let's see how to start Apache|Nginx with a non-root user As we all know, port 80 of Apache is a system reserved port. If it is started by other non-root users, the following error will be reported:
Because ordinary users can only use ports above 1024, ports within 1024 can only be used by the root user. However, in order to avoid having to go through the root user every time you start the computer, you can solve this problem by setting the UID. You can complete it by performing the following operations at one time.
Why not chmod u+s apachectl?
Conclusion: The apachectl script starts the entire httpd service by starting the httpd file. Similarly, the same is true for starting nginx. Use the root user to enter....nginx/sbin Then chown root nginx Then you can start it through a normal user. The same is true for tomcat. Of course, it is also possible to modify the default port to a value greater than 1024. Summarize The above is what I introduced to you about Linux to solve the problem that Deepin cannot start Google Chrome browser as root user. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time! You may also be interested in:
|
<<: Conventional JS processing functions for Vue Element front-end application development
>>: How to implement mysql database backup in golang
Before reading this article, I hope you have a pr...
introduction As usual, let's start with a sce...
MySQL prompts the following error I went to "...
Preface: I wrote this because I helped my friend ...
Obvious HTML, hidden "public script" Th...
HTML tags have special tags to handle the title of...
System: Ubuntu 16.04LTS 1\Download mysql-5.7.18-l...
The select element creates a single-select or mult...
Table of contents 1. MySQL wildcard fuzzy query (...
Website compatibility debugging is really annoyin...
I recently deployed and tested VMware Horizon, an...
When I was taking a break, a phone call completel...
Copy code The code is as follows: <meta name=&...
Demand background A statistical interface, the fr...
This article uses examples to describe common ope...