Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 9023  / 2 Years ago, mon, april 25, 2022, 3:42:30

I am trying to run VNC Server on my remote machine and installed VNC Server with the help of this link. I have done everything up to step 3 and am now trying step 4, but in my machine I do not get:




/etc/init.d/vncserver




Enter image description here



How do I run VNC Server properly?


More From » 14.04

 Answers
7

Step 4 in that tutorial is instructing you to create that file (/etc/init.d/vncserver). This is how you will make the VNC Server as a service. The person that wrote the tutorial chose poor words, he meant to say:




Login as root and create /etc/init.d/vncserver and add the following lines:




So, in order to complete the tutorial, just create the file and paste the text mentioned in the tutorial. To do that, you can just type in the command:



touch /etc/init.d/vncserver && nano /etc/init.d/vncserver


This will create and open the file in an editor. Copy and paste (paste by Ctrl+Shift+V) or type it up if you're on a desktop-less Ubuntu.



I suspect that you might also need to create the next file (/home/vnc/.vnc/xstartup) if doesn't already exist.


[#24817] Tuesday, April 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
inciplyies

Total Points: 10
Total Questions: 114
Total Answers: 93

Location: French Polynesia
Member since Sun, Dec 20, 2020
3 Years ago
;