Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


centos7_vnc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
centos7_vnc [2016/05/13 14:59]
admin [CentOS 7 - persistent VNC]
centos7_vnc [2016/05/13 17:10]
admin [CentOS 7 - persistent VNC]
Line 4: Line 4:
   * Install tigervnc server. <code>yum install tigervnc-server</code>   * Install tigervnc server. <code>yum install tigervnc-server</code>
   * Create new display. <code>cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service</code>   * Create new display. <code>cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service</code>
-  * Replace all **''<USER>''** placeholders and VNC server parameters (e.g. -geometry 1600x1000) appropriately <code>vi /lib/systemd/system/vncserver@:1.service+  * Replace all **''<USER>''** placeholders and VNC server parameters (e.g. -geometry 1600x1000) appropriately <code>vi /etc/systemd/system/vncserver@:1.service
  
 ExecStart=/sbin/runuser -l <your_username_here> -c "/usr/bin/vncserver %i" ExecStart=/sbin/runuser -l <your_username_here> -c "/usr/bin/vncserver %i"
Line 14: Line 14:
   * Reload unit files. <code>systemctl daemon-reload</code>   * Reload unit files. <code>systemctl daemon-reload</code>
   * Start vnc server. <code>systemctl start vncserver@:1.service</code>   * Start vnc server. <code>systemctl start vncserver@:1.service</code>
-  * Configure firewalld. <code>firewall-cmd --get-active-zones+  * Configure firewalld (example). <code>firewall-cmd --get-active-zones
 firewall-cmd --set-default-zone=home firewall-cmd --set-default-zone=home
  
centos7_vnc.txt ยท Last modified: 2016/05/13 17:10 by admin