This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
vps:vps4th_06 [2016/12/31 17:08] hoge@hoge [vncserver] |
vps:vps4th_06 [2019/06/16 15:16] (current) |
||
|---|---|---|---|
| Line 38: | Line 38: | ||
| firewall_type="open" | firewall_type="open" | ||
| ssd_enable="YES" | ssd_enable="YES" | ||
| + | dbus_enable="YES" | ||
| + | hald_enable="YES" | ||
| </code> | </code> | ||
| * ifcofig_epair3b\\ jailerで作成したepair3の一端。jailerからprisonerであるdesktopに割り当てる。 | * ifcofig_epair3b\\ jailerで作成したepair3の一端。jailerからprisonerであるdesktopに割り当てる。 | ||
| Line 69: | Line 71: | ||
| #cat "ユーザの公開鍵" >> authorized_keys | #cat "ユーザの公開鍵" >> authorized_keys | ||
| </code> | </code> | ||
| + | |||
| ===== ソフトウェア導入 ===== | ===== ソフトウェア導入 ===== | ||
| Line 75: | Line 78: | ||
| * xorg | * xorg | ||
| * gnucash | * gnucash | ||
| + | * chromium | ||
| + | * tigervnc | ||
| * ja-ibus-mozc | * ja-ibus-mozc | ||
| + | * ja-font-ipa | ||
| + | ==== i-bus / mozc ==== | ||
| + | * X転送を有効にして ssh ログイン | ||
| + | * ibus-setup を起動 | ||
| + | * [Input Method] で mozc 以外を Remove | ||
| + | * mozcの設定 | ||
| + | * [General] で [Keymap style]を ATOKに変更後 Customize | ||
| + | * keymap を変更 | ||
| - | + | ^ Mode ^ Key ^ Command ^ | |
| + | |Composition|Ctrl Space|IMEOn| | ||
| + | |DirectInput|Ctrl Space|IMEOn| | ||
| + | |Composition|Ctrl Space|CancelAndIMEOff| | ||
| + | |Conversion|Ctrl Space|CancelAndIMEOff| | ||
| + | |Precomposition|Ctrl Space|CancelAndIMEOff| | ||
| ==== gnucash ==== | ==== gnucash ==== | ||
| === 設定 === | === 設定 === | ||
| - | |||
| * 外部からのssh接続でgnucashを利用するため、$HOME/Tools/gnucash_x11.shを作成する。<code> | * 外部からのssh接続でgnucashを利用するため、$HOME/Tools/gnucash_x11.shを作成する。<code> | ||
| #!/bin/sh | #!/bin/sh | ||
| Line 104: | Line 120: | ||
| - リモート側に gnucash が出力される。 | - リモート側に gnucash が出力される。 | ||
| + | ==== firefox ==== | ||
| + | === 設定 === | ||
| + | * 起動時に以下のエラーが出る。<code> | ||
| + | process 3512: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory | ||
| + | See the manual page for dbus-uuidgen to correct this issue. | ||
| + | D-Bus not compiled with backtrace support so unable to print a backtrace | ||
| + | Redirecting call to abort() to mozalloc_abort | ||
| + | </code> | ||
| + | * 対処として、desktop で以下を実行する<code> | ||
| + | # cd /var/db/dbus | ||
| + | # dbus-uuidgen > machine-id | ||
| + | </code> | ||
| + | |||
| + | === 使用方法 === | ||
| + | * X転送で使用<code> | ||
| + | ssh -X -i <秘密鍵> <ユーザ名>@<ログイン先> -p <ポート番号> | ||
| + | </code> | ||
| + | |||
| + | ==== tigervnc ==== | ||
| + | === 設定 === | ||
| + | * desktop のユーザで初回実行。<code> | ||
| + | $ vncserver | ||
| + | |||
| + | You will require a password to access your desktops. | ||
| + | |||
| + | Password: | ||
| + | Verify: | ||
| + | Would you like to enter a view-only password (y/n)? n | ||
| + | #以下略 | ||
| + | </code> | ||
| + | |||
| + | * 起動後、vncserverを停止する。<code> | ||
| + | $ vncserver -kill :1 | ||
| + | </code> | ||
| + | |||
| + | * $HOME/.vnc/config を編集<code> | ||
| + | geometry=<width>x<height> | ||
| + | </code> | ||