Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1450824 Details for
Bug 1583159
Sample service file vncserver@.service is out of date with systemd changes
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Proposed vncserver.service file
vncserver.service (text/plain), 1.65 KB, created by
Jan Grulich
on 2018-06-13 09:18:54 UTC
(
hide
)
Description:
Proposed vncserver.service file
Filename:
MIME Type:
Creator:
Jan Grulich
Created:
2018-06-13 09:18:54 UTC
Size:
1.65 KB
patch
obsolete
># The vncserver service unit file ># ># Quick HowTo: ># 1. Copy this file to /etc/systemd/system/vncserver@.service ># 2. Replace <USER> with the actual user name and edit vncserver ># parameters appropriately ># 3. Run `systemctl daemon-reload` ># 4. Run `systemctl enable vncserver@:<display>.service` ># ># DO NOT RUN THIS SERVICE if your local area network is ># untrusted! For a secure way of using VNC, you should ># limit connections to the local host and then tunnel from ># the machine you want to view VNC on (host A) to the machine ># whose VNC output you want to view (host B) ># ># [user@hostA ~]$ ssh -v -C -L 590N:localhost:590M hostB ># ># this will open a connection on port 590N of your hostA to hostB's port 590M ># (in fact, it ssh-connects to hostB and then connects to localhost (on hostB). ># See the ssh man page for details on port forwarding) ># ># You can then point a VNC client on hostA at vncdisplay N of localhost and with ># the help of ssh, you end up seeing what hostB makes available on port 590M ># ># Use "-nolisten tcp" to prevent X connections to your VNC server via TCP. ># ># Use "-localhost" to prevent remote VNC clients connecting except when ># doing so through a secure tunnel. See the "-via" option in the ># `man vncviewer' manual page. > > >[Unit] >Description=Remote desktop service (VNC) >After=syslog.target network.target > >[Service] >Type=forking >WorkingDirectory=/home/<USER> >User=<USER> >Group=<USER> > >PIDFile=/home/<USER>/.vnc/%H%i.pid > >ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' >ExecStart=/usr/bin/vncserver -autokill %i >ExecStop=/usr/bin/vncserver -kill %i > >Restart=on-success >RestartSec=15 > >[Install] >WantedBy=multi-user.target
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1583159
:
1443332
| 1450824