简体   繁体   English

在Debian中使用apache的托管站点

[英]Hosting site using apache in Debian

I am logged in as root user and file permission for sites-available/default is 755. I am unable to open the default file in Gedit as root user. 我以root用户身份登录, sites-available/default文件权限为755。我无法以root用户身份在Gedit中打开默认文件。 When I try to do so, I get the following errors: 当我尝试这样做时,出现以下错误:

(gedit:8167): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
(gedit:8167): WARNING: Could not connect to session bus

You should try gksudo command to resolve this error 您应该尝试gksudo命令来解决此错误

try gksudo gedit 尝试gksudo gedit

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM