VNCサーバーの設定
xfce4パッケージをインストールします。
root@www:~# apt-get -y install xfce4 xfce4-goodies
VNCサーバーをインストールします。
root@www:~# apt-get -y install tightvncserver
VNC 接続を設定したいユーザーでログインし、VNC サーバーでパスワード(英数字8桁以内)を設定します。
root@www:~# vncpasswd Password: Verify:
VNC サーバーを起動します。
root@www:~# vncserver New 'www:1 (root)' desktop is www:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/www:1.log
VNC サーバーを停止します。
root@www:~# vncserver -kill
設定ファイルをバックアップします。
root@www:~# mv ~/.vnc/xstartup ~/.vnc/xstartup.backup
VNC サーバーを設定します。
root@www:~# vi ~/.vnc/xstartup #!/bin/bash xrdb $HOME/.Xresources startxfce4 &
設定を有効にします。
root@www:~# chmod +x ~/.vnc/xstartup
再起動します。
root@www:~# reboot
VNC サーバーを起動します。
root@www:~# vncserver New 'linuxmintserver.jp:1 (root)' desktop is linuxmintserver.jp:1 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/linuxmintserver.jp:1.log
クライアントPCにUltraVNCのUltraVNC_1_2_40_X64_Setup.exeをダウンロードします。(ページの下部にダウンロードリンクがあります。)
23bit、64bitを選択して「DOWNLOAD」をクリックします。
「I accept the above listed conditions」を選択して「Download」をクリックします。
ダウンロードした「UltraVNC_***_Setup.exe」のアイコンをWクリックしてインストールします。
「Windowsスタートメニュー」をクリックし、「UltraVNC Viewer」を起動します。
先に起動したVNCサーバーのIPアドレス:ディスプレイ番号を入力をして「Connect」をクリックします。
VNCパスワードを入力し「Log on」をクリックします。
ディスクトップが表示されます。
Xrdpサーバーの設定
Windows のリモートデスクトップ機能で接続できるようにXrdpサーバーをインストールします。
root@www:~# apt-get -y install xrdp tigervnc-standalone-server
Xrdpサーバーを自動起動設定をします。
root@www:~# /lib/systemd/systemd-sysv-install enable xrdp
再起動します。
root@www:~# reboot
Windows スタートメニューから「アクセサリ」→「リモートデスクトップ接続」 を選択して接続画面を起動します。
サーバーIPアドレスを入力し「接続」をクリックします。
「usermame」(ユーザー名)、「password」(パスワード)を入力し「OK」をクリックします。
ディスクトップが表示されます。
日本語環境の設定
日本語環境のパッケージをインストールします。
root@www:~# apt-get -y install language-pack-ja-base language-pack-ja ibus-kkc
システムの文字セットを設定します。
root@www:~# localectl set-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja" root@www:~# source /etc/default/locale
設定を確認します。
root@www:~# echo $LANG ja_JP.UTF-8
メニューをクリックします。
「設定」を選択します。
「言語」クリックします。
「システム全体に適応」をクリックします。
webmasterパスワードを入力して「認証する」をクリックします。(再起動後に適用されます。)
コメント