//####################################################################
#norelated
#setlinebreak(on)
#navi(../)
//####################################################################
*Oracle Linux 7 サーバ設定 [#z2ea59b0]

 [root@J1900N ~]# yum search VNC
 読み込んだプラグイン:langpacks
 =============================== N/S matched: VNC ===============================
 gtk-vnc2.i686 : A GTK3 widget for VNC clients
 gtk-vnc2.x86_64 : A GTK3 widget for VNC clients
 gvnc.i686 : A GObject for VNC connections
 gvnc.x86_64 : A GObject for VNC connections
 libvncserver.i686 : Library to make writing a vnc server easy
 libvncserver.x86_64 : Library to make writing a vnc server easy
 tigervnc.x86_64 : A TigerVNC remote display system
 tigervnc-icons.noarch : Icons for TigerVNC viewer
 tigervnc-license.noarch : License of TigerVNC suite
 tigervnc-server.x86_64 : A TigerVNC server
 tigervnc-server-minimal.x86_64 : A minimal installation of TigerVNC server
 kdenetwork-krdc.x86_64 : A client for Desktop Sharing and other VNC servers
 kdenetwork-krfb.x86_64 : Desktop Sharing server, allow others to access your
                        : desktop via VNC
 vinagre.i686 : VNC client for GNOME
 vinagre.x86_64 : VNC client for GNOME
 
   Name and summary matches only, use "search all" for everything.
 [root@J1900N ~]# 

 [root@J1900N ~]# yum install tigervnc-server
 
 総ダウンロード容量: 198 k
 インストール容量: 488 k
 Is this ok [y/d/N]: y
 
 インストール:
   tigervnc-server.x86_64 0:1.2.80-0.30.20130314svn5065.el7                      
 
 完了しました!
 [root@J1900N ~]# 

 [root@J1900N ~]# cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@.service

 [root@J1900N ~]# vi /etc/systemd/system/vncserver@.service
 
 [Unit]
 Description=Remote desktop service (VNC)
 After=syslog.target network.target
 
 [Service]
 Type=forking
 # Clean any existing files in /tmp/.X11-unix environment
 ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
 ExecStart=/sbin/runuser -l admin -c "/usr/bin/vncserver %i -geometry 1280x1024"
 PIDFile=/home/admin/.vnc/%H%i.pid
 ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
 
 [Install]
 WantedBy=multi-user.target
 [root@J1900N ~]# 

 [root@J1900N ~]# systemctl daemon-reload

 [root@J1900N ~]# su - admin
 [admin@J1900N ~]$ vncpasswd
 Password:
 Verify:
 [admin@J1900N ~]$ ログアウト

 [root@J1900N ~]# systemctl start vncserver@:1.service

 [root@J1900N ~]# systemctl enable vncserver@:1.service

//####################################################################
#navi(../)
//####################################################################



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS