#navi(../)

TigerVNCのインストール

 ~]# yum install tigervnc-server

 [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
 [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
 xsetroot -solid grey
 vncconfig -iconic &
 xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
 ## コメントアウト
 #twm &
 ## 最終行に追加
 exec gnome-session



+
 ~]# yum -y install nautilus-open-terminal

+
 ~]# yum -y install tigervnc-server

 ~]# cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@\:1.service

 ~]# vi /etc/systemd/system/vncserver@\:1.service

 ~]# systemctl daemon-reload









+ホスト名の設定
 ~]# hostnamectl set-hostname name


+ホスト名の設定
 [root@j1900n ~]# systemctl enable firewalld
 [root@j1900n ~]# systemctl start firewalld
 [root@j1900n ~]# firewall-cmd --list-all
 public (default, active)
   interfaces: enp1s0 enp2s0
   sources:
   services: dhcpv6-client ssh
   ports:
   masquerade: no
   forward-ports:
   icmp-blocks:
   rich rules:
 [root@j1900n ~]# firewall-cmd --get-default-zone
 public
 [root@j1900n ~]# firewall-cmd --get-services
 amanda-client bacula bacula-client dhcp dhcpv6 dhcpv6-client dns ftp high-availability http https imaps ipp ipp-client ipsec kerberos kpasswd ldap ldaps libvirt libvirt-tls mdns mountd ms-wbt mysql nfs ntp openvpn pmcd pmproxy pmwebapi pmwebapis pop3s postgresql proxy-dhcp radius rpc-bind samba samba-client smtp ssh telnet tftp tftp-client transmission-client vnc-server wbem-https
 [root@j1900n ~]# firewall-cmd --list-service --zone=public
 dhcpv6-client ssh
 [root@j1900n ~]# firewall-cmd --add-service=vnc-server --zone=public
 success
 [root@j1900n ~]# firewall-cmd --add-service=vnc-server --zone=public --permanent
 success
 [root@j1900n ~]#

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS