By Kaaliakahn
I am having issues setting up VNC server on Fedora 21 droplet. To be exact, I am having issues following Step 5 on
http://www.tecmint.com/install-tightvnc-remote-desktop/
as there is no vncserver file under /etc/init.d
but i do see it under /usr/bin
However when i execute
#/usr/bin/vncserver start
xstartup script is not created in my user’s home directory (/home/remote_user/.vnc) Below is the command and the output
#/usr/bin/vncserver start
usage: vncserver [:] [-name ] [-depth ]
[-geometry x]
[-pixelformat rgbNNN|bgrNNN]
[-fp ]
[-cc ]
[-fg]
[-autokill]
vncserver -kill
vncserver -list
Please help debug this.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The tutorial linked above seem to be for an older version of Fedora. Newer versions, Fedora 21 included, use systemd instead of traditional init scripts. When you install the tigervnc-server package, you will find a systemd service file located at /lib/systemd/system/vncserver@.service It needs to be copied to a new location:
sudo cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@.service
Next, you need to edit the file and replace instances of <USER> with your actual username. Finally, you can start the service with:
sudo systemctl start vncserver@:0.service
For a full rundown, check out the Fedora System Administrator Guide’s section on TigerVNC.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.