Считаете, что Ubuntu недостаточно дружелюбна к новичкам? Помогите создать новое Руководство для новичков!
0 Пользователей и 1 Гость просматривают эту тему.
Fox conf.d # sudo kateQDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.No protocol specifiedkate: cannot connect to X server :0
Fox conf.d # gksudo kate No protocol specified(gksudo:16283): Gtk-WARNING **: cannot open display: :0
Fox conf.d # kdesudo kate No protocol specifiedkdesudo: cannot connect to X server :0
sudo cat /etc/sudoers
Fox fox # sudo cat /etc/sudoers## This file MUST be edited with the 'visudo' command as root.## Please consider adding local content in /etc/sudoers.d/ instead of# directly modifying this file.## See the man page for details on how to write a sudoers file.#Defaults env_resetDefaults mail_badpassDefaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"# Host alias specification# User alias specification# Cmnd alias specification# User privilege specificationroot ALL=(ALL:ALL) ALL# Members of the admin group may gain root privileges%admin ALL=(ALL) ALL# Allow members of group sudo to execute any command%sudo ALL=(ALL:ALL) ALL# See sudoers(5) for more information on "#include" directives:#includedir /etc/sudoers.d
Код: [Выделить]Defaults mail_badpassDefaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Defaults mail_badpassDefaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
sudo -i
sudo nano
Код: [Выделить]sudo cat /etc/sudoers?
kdesudo kate
Вроде бы в строну xhost нужно копать.У меня тоже не запускаются графические приложения из-под рута. Из-под обычного пользователя тоже не запускались пока в xhost не настроил, с рутом заморачиваться не стал
Страница сгенерирована за 0.127 секунд. Запросов: 25.