User Tools

Site Tools


vps:vps4th2nd_06

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vps:vps4th2nd_06 [2019/03/30 07:08]
hoge@hoge [novnc]
vps:vps4th2nd_06 [2019/06/16 15:16] (current)
Line 38: Line 38:
 firewall_type="​open"​ firewall_type="​open"​
 ssd_enable="​YES"​ ssd_enable="​YES"​
-inetd_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 76: Line 77:
 pkgにて、以下を導入。 pkgにて、以下を導入。
   * xorg   * xorg
-  * xdm 
-  * xsm 
   * xfce4   * xfce4
   * gnucash   * gnucash
   * chromium   * chromium
   * tigervnc   * tigervnc
-  * novnc 
   * ja-font-ipa   * ja-font-ipa
   * ja-fcitx-mozc   * ja-fcitx-mozc
   * zh-fcitx-configtool   * zh-fcitx-configtool
  
-==== xdm ==== 
-prisner desktop 起動時に xdm を起動する。 
-  * /​usr/​local/​etc/​rc.d/​xdm を作成<​code>​ 
-#!/bin/sh 
  
-/​usr/​local/​bin/​xdm 
-</​code>​ 
-  * /​etc/​rc.conf を編集<​code>​ 
-xdm_enable="​YES"​ 
-</​code>​ 
-  * /​usr/​local/​lib/​X11/​xdm/​Xaccess を編集<​code>​ 
-*   #any host can get a login window 
-</​code>​ 
-  * /​usr/​local/​lib/​X11/​xdm/​Xservers を編集<​code>​ 
-#:0 local /​usr/​local/​bin/​X :0 
-</​code>​ 
-  * /​usr/​local/​lib/​X11/​xdm/​xdm-config を編集<​code>​ 
-! DisplayManager.requestPort: ​  0 
-</​code>​ 
  
-==== 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 ​ ==== 
-=== 設定 === 
-  * 外部からのssh接続でgnucashを利用するため、$HOME/​Tools/​gnucash_x11.shを作成する。<​code>​ 
-#!/bin/sh 
  
-export LANG=ja_JP.UTF-8 
-export LC_ALL=ja_JP.UTF-8 
-export GTK_IM_MODULE=ibus 
-export QT_IM_MODULE=xim 
-export XMODIFIERS=@im=ibus 
  
-/​usr/​local/​bin/​mozc start 
-/​usr/​local/​bin/​ibus-daemon -r --daemonize --xim  
-/​usr/​local/​bin/​gnucash 
-</​code>​ 
- 
-=== 使用方法 === 
-  - リモートのX11環境より以下の様に実行する。<​code>​ 
-$ ssh -f -Y -i <​秘密鍵>​ -p <​ポート番号>​ <​ユーザ名>​@<​接続先>​ <​path>​gnucash_x11.sh 
-</​code>​ 
-  - リモート側に gnucash が出力される。 
- 
- 
-==== 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>​ 
-localhost 
-securitytypes=vncauth 
-</​code>​ 
-  * $HOME/​.vnc/​xstartup を作成<​code>​ 
-#!/bin/sh 
- 
-export LANG=ja_JP.UTF-8 
-export LC_ALL=ja_JP.UTF-8 
- 
-export GTK_IM_MODULE=fcitx 
-export QT_IM_MODULE=xim 
-export XMODIFIERS=@im=fcitx 
- 
-startxfce4 
- 
-vncserver -kill :1 
-</​code>​ 
-==== novnc  ==== 
-inetd  
-  * /​usr/​local/​libexec/​novnc/​utils/​websockify/​run 修正<​code>​ 
-#​!/​usr/​bin/​env python3.6 (python を python3.6 に修正) 
-</​code>​ 
-  * vncserver, novnc の順で起動<​code>​ 
-/​usr/​local/​libexec/​novnc/​utils/​launch.sh --vnc localhost:​5901 & 
-</​code>​ 
vps/vps4th2nd_06.1553897295.txt.gz · Last modified: 2019/06/16 15:16 (external edit)