Update comments in vncserver configuration file example

Solution In Progress - Updated -


  • Update the Quick HowTo in comments to be consistent with RHEL documentation.

    $ more /lib/systemd/system/vncserver@.service
    # The vncserver service unit file
    # Quick HowTo:
    # 1. Copy this file to /etc/systemd/system/vncserver@.service
    # 2. Edit <USER> and vncserver parameters appropriately
    #   ("runuser -l <USER> -c /usr/bin/vncserver %i -arg1 -arg2")
    # 3. Run `systemctl daemon-reload`
    # 4. Run `systemctl enable vncserver@:<display>.service`

In step 2. of comment section, actually 2 lines need to be modified instead of just the first line("runuser -l <USER> -c /usr/bin/vncserver %i -arg1 -arg2")

It should be

ExecStart=/sbin/runuser -l USER -c "/usr/bin/vncserver %i -geometry 1280x1024"


  • Red Hat Enterprise Linux 7
  • tigervnc-server-1.3.1-3.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content