複数のx2goサーバに同時に繋ぎたい(pyhoca-gui利用)

X2Goはsshdを立てていて x2goserver パッケージを入れればXをリモートでGNU screenやtmuxのように使えて便利です.回線が切れてしまってもつなぎ直せば同じ画面が使えます.
X2Go に x2goclient を使って繋いでいたのですが,同時に複数のサーバに接続する方法がわかりません.
設定やmanを見ても同時接続の方法が見当たりません.

公式ページを見てみます.

You have 3 clients. Which client should I use?
If in doubt, pick the regular X2Go Client (x2goclient). It is the most widely used and tested.

The regular X2Go Client (x2goclient) is optimized for thin client & single-session usage, but can be used on any desktop/laptop computer.
PyHoca-GUi is optimized for users who want to connect to multiple sessions at once, and already know how to use X2Go. For example, a sysadmin administrating multiple servers.
PyHoca-CLI is launched via command-line args; similar to vncviewer or rdesktop/xfreerdp. It is also suitable for connecting to multiple sessions at once.

PyHoca-GUI, PyHoca-CLI が一度に複数のセッションに接続したいユーザー向けとなっています.PyHoca-GUI を試してみます.

Debian環境ではパッケージ( pyhoca-gui )があるので導入はかんたんでした.

$ sudo apt install pyhoca-gui

メニューから PyHoca-GUI や, pyhoca-gui コマンドを実行して起動します.

$ dpkg -L pyhoca-gui | grep .desktop$
/usr/share/applications/pyhoca-gui.desktop
$ cat $(!!)
cat $(dpkg -L pyhoca-gui | grep .desktop$ )
[Desktop Entry]
Name=PyHoca-GUI
GenericName=PyHoca-GUI
Comment=Python X2Go Client Applet
Exec=pyhoca-gui
Icon=pyhoca_x2go-logo-ubuntu
X-Window-Icon=pyhoca_x2go-logo-ubuntu
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
Terminal=false
Type=Application
Keywords=X2Go;Remote;Desktop;Published;Applications;Administration;Applet;
Categories=Network;RemoteAccess;

起動すると,ステータスアイコンにアザラシ?のアイコンが表示され,クリックするとx2goclient で設定したものが表示されるのですぐに利用できました.設定していなくてもアイコン右クリックのコンテキストメニューから設定が可能です.

これで複数の端末に同時につなぐことができました :)

pyhoca gui

$ dpkg-query -W pyhoca-gui x2go*
pyhoca-gui      0.6.1.1-1
x2goagent
x2goclient      4.1.2.2-2
x2goclient-gtk
x2godesktopsharing      3.2.0.0-2+b1
x2gokdriveclient
x2goprint
x2goserver      4.1.0.3-5
x2goserver-common       4.1.0.3-5
x2goserver-compat
x2goserver-desktopsharing       4.1.0.3-5
x2goserver-extensions   4.1.0.3-5
x2goserver-fmbindings   4.1.0.3-5
x2goserver-home
x2goserver-one
x2goserver-printing     4.1.0.3-5
x2goserver-pyhoca
x2goserver-x2goagent    4.1.0.3-5
x2goserver-xsession     4.1.0.3-5
$ lsb_release -dr
Description:    Debian GNU/Linux bookworm/sid
Release:        unstable
$ arch
x86_64

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)