linux - 在 Debian 中使用 apache 托管站点

标签 linux apache debian

我以 root 用户身份登录,sites-available/default 的文件权限为 755。 我无法以 root 用户身份打开 Gedit 中的默认文件。当我尝试这样做时,出现以下错误:

(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

最佳答案

你应该尝试gksudo命令来解决此错误

尝试gksudo gedit

关于linux - 在 Debian 中使用 apache 托管站点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24260334/

相关文章:

regex - 使用 htaccess 将文件夹重定向到另一个文件夹

ubuntu - 创建 debian 包

c++ - 使用 -mpopcnt 编译会导致 Illegal instruction 错误

Linux 终端要检查的两个条件

linux - 海岸墙 : How do I enable ping to a specific IP address where the zone containing that IP has ping disabled

linux - debian init.d 脚本在重启后不运行

mysql - 如何在 Raspberry Pi (Raspbmc > Debian) 上加速 Apache/PHP/MySQL?

linux - 终端:将文件内容(电子邮件)转换为MD5

html - 很棒的字体没有加载到我的 apache 中

php - 你如何让当前用户登录到 apache 领域?