LoginSignup
0
2

ブラウザでリモートデスクトップするぞ! ~noVNC編~

Posted at

はじめに

 ブラウザでリモートデスクトップする方法の一つである、noVNCの導入方法について解説したいと思います。

環境

Ubuntu 20.04 LTS

インストール

 以下のコマンドで更新とパッケージのインストールをします。

sudo apt -y update&&sudo apt -y upgrade&&sudo apt -y autoremove
sudo apt -y install tigervnc-standalone-server novnc websockify

ファイアウォールの設定

 6080ポートを開放して、そのポートにブラウザからアクセスできるようにします。

sudo ufw allow 6080/tcp

VNCサーバーの起動

 ユーザー名は適宜変更してください。

USER=ユーザー名 tigervncserver :1 -geometry 1980x1200

停止する方法

tigervncserver -kill :1

noVNCの起動

websockify -D --web=/usr/share/novnc/ 6080 localhost:5901

おわりに

 ブラウザからリモートデスクトップする環境が整えば、デバイスやOSの選ばないので、どこからでもどの端末からでもアクセスすることができます。また、ApacheGuacamoleを用いた方法も解説したいと思います。

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2