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
centos7_vnc [2016/05/13 15:00]
admin [CentOS 7 - persistent VNC]
centos7_vnc [2016/05/13 17:10] (current)
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"
centos7_vnc.txt ยท Last modified: 2016/05/13 17:10 by admin