como ser anexado a outra sessão Byobu do usuário

0

Eu adoro o byobu e quero ser anexado do meu usuário em um servidor remoto a outra sessão byobu do usuário, já existente.

Estou usando o Ubuntu 14.04 LTS e esta é minha versão byobu:

$ byobu -v
byobu version 5.74
tmux 1.8

Eu tentei listar sessões de byobu, mas não funcionou:

$ byobu ls
failed to connect to server

ou:

$ byobu-select-session 
failed to connect to server
ambiguous command: , could be: attach-session, bind-key, break-pane, capture-pane, choose-buffer, choose-client, choose-list, choose-session, choose-tree, choose-window, clear-history, clock-mode, command-prompt, confirm-before, copy-mode, delete-buffer, detach-client, display-message, display-panes, find-window, has-session, if-shell, join-pane, kill-pane, kill-server, kill-session, kill-window, last-pane, last-window, link-window, list-buffers, list-clients, list-commands, list-keys, list-panes, list-sessions, list-windows, load-buffer, lock-client, lock-server, lock-session, move-pane, move-window, new-session, new-window, next-layout, next-window, paste-buffer, pipe-pane, previous-layout, previous-window, refresh-client, rename-session, rename-window, resize-pane, respawn-pane, respawn-window, rotate-window, run-shell, save-buffer, select-layout, select-pane, select-window, send-keys, send-prefix, server-info, set-buffer, set-environment, set-option, set-window-option, show-buffer, show-environment, show-messages, show-options, show-window-options, source-file, split-window, start-server, suspend-client, swap-pane, swap-window, switch-client, unbind-key, unlink-window, wait-for

Por que esses comandos estão falhando?

Como posso anexar a outra sessão bybou do usuário?

    
por logoff 15.07.2015 / 15:22

1 resposta

0

Geralmente, eu consigo isso primeiro, tornando-me o usuário-alvo por meio de sudo , e lançando o byobu como esse usuário:

sudo -i -u targetuser
byobu
    
por silviot 08.09.2015 / 13:18