Emacs зависает при пробежке SSHing к моему Полю (13.10) Ubuntu,

Под управлением Ubuntu 13.10, я не могу выполнить emacs когда sshing к моему полю

ssh -l username someipaddress

Когда я выполняю emacs, он просто зависает.

Я имею, также недавно установили dbus-x11. Прежде, чем установить dbus-x11, я получил бы катастрофический отказ при попытке выполнить emacs.

(emacs:3306): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message

(emacs:3306): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message

(emacs:3306): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message

(emacs:3306): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message

(emacs:3306): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message

(emacs:3306): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message

У меня есть другое поле (12.10) человечности (vm хотя) работающий от другого поставщика. Однако у меня нет проблем, работающих emacs. В обоих случаях я использовал склонный - добираются для установки emacs.

3
задан 15 March 2014 в 00:19

1 ответ

При выполнении команды, Вы показываете, Вы не экспортируете свои X деталей дисплея. У Вас есть две опции:

  1. Командная строка emacs:

    emacs -nw
    

    От man emacs:

          -nw, --no-window-system
                  Tell Emacs not to create a graphical frame.  If you  use
                  this switch when invoking Emacs from an xterm(1) window,
                  display is done in that window.
    
  2. Передают Ваш X-сервер, это позволит Вам запускать программы на сервере, которые показывают на Вашем локальном дисплее. Можно использовать или -X, или предполагающий, что это - локальная, надежная сеть, -Y:

    ssh -Y username@someipaddress
    

    От man ssh:

     -X      Enables X11 forwarding.  This can also be specified on a per-host
             basis in a configuration file.
     -Y      Enables trusted X11 forwarding.  Trusted X11 forwardings are not
             subjected to the X11 SECURITY extension controls.
    
3
ответ дан 8 October 2019 в 11:43

Другие вопросы по тегам:

Похожие вопросы: