アプリ版:「スタンプのみでお礼する」機能のリリースについて

現在、sshを使用しています。ssh上でmuleなどが使いたいので、Xwinが使えるようにしたいのですがうまくできません。
どのようにすれば良いのでしょうか?
非常に困っています。お願い致します。

A 回答 (2件)

sshのX11 forwardingを使用すればいいです。



例えば、手元にあるUNIXな環境にインストールされているssh(OpenSSH_3.5p1/設定ファイルでのX11 forwardingの指定も可能)では下記のオプション(-X)を指定する事によりX11 forwardingを有効にする事が出来ます。

例)
client> ssh -X remote

remote> アプリケーションの起動

-------8<-------8<-------8<-------8<-------8<-------
 -x  Disables X11 forwarding.

 -X  Enables X11 forwarding. This can also be specified on a per-host
    basis in a configuration file.

    X11 forwarding should be enabled with caution. Users with the
    ability to bypass file permissions on the remote host (for the
    user's X authorization database) can access the local X11 display
    through the forwarded connection. An attacker may then be able
    to perform activities such as keystroke monitoring.
-------8<-------8<-------8<-------8<-------8<-------

ご使用の環境のsshのオンラインマニュアル等で確認してみてください。

また、X11 forwardingを使用しなくとも以下の手順でも可能です(ただ、Xの暗号化はされませんし、環境により出来ない場合もあります)。

client> xhost remote

client> ssh -x remote

remote> setenv DISPLAY client:0

remote> アプリケーションの起動
    • good
    • 0

muleを使いたいだけなら nwモードで起動たらどうですか?


それに、どううまく動かないのか(どうしたいのか)がわかりません。
サーバ側のXがうまく動かないと言ってますか?
それにOSは何でしょう? linux? cygwin?
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!