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 1 year has passed since last update.

tigervncをUbuntu20にインストールする

Posted at

Ubuntu 20 デスクトップをインストール

#tigervnc-serverのインストール
sudo apt install tigervnc-standalone-server -y
sudo apt-get install -y tigervnc-xorg-extension
sudo apt-get install -y tigervnc-common

#vncのログインパスワード設定
vncpasswd

#.Xsuthorityのモードを変更する
chmod 666 /.Xauthority

#xstartupnを作る
vi HOMEDir/.vnc/xstartup
###########################################################
demo@intel-S2600WFT:~/.vnc$ cat xstartup
#!/bin/sh

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
vncconfig -iconic &
dbus-launch --exit-with-session gnome-session &
###########################################################

#VNCサーバーの起動
vncserver -localhost no -geometry 1152x864 -depth 24
or
vncserver -localhost no
or
tigervncserver -xstartup /usr/bin/mate-session -geometry 1920x1080 -localhost no

#動いているVNCインスタンス確認
vncserver -list

#VNCのKill
vncserver -kill :*

#ログ確認
less Hostname:1.log

#ネットワーク確認
sudo apt install net-tools
netstat

#ファイヤーウォールの確認
systemctl status ufw
sudo ufw status

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?