0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ubuntu16.04でvncする

0
Last updated at Posted at 2018-04-29

概要

ubuntu16.04だとデフォルトのウィンドウマネージャがうまく動かないためxfce4でvncする

手順

vncサーバおよびxfce4インストール

sudo apt install -y vnc4server xfce4

一旦vncサーバを起動させてコンフィグファイルを作成する

vncserver :1
vncserver -kill :1

vncではxfce4を使用するようにコンフィグファイルを変更

vim ~/.vnc/xstartup

以下のように変更

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
startxfce4 &

vncserverを起動して接続確認

適宜vncクライアントで接続
macなら

  1. 移動->サーバへ接続->サーバアドレス
  2. vnc://<サーバアドレス>:5901
  3. 接続
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?