Hello guys,
i have NAT ip vps server and i need to connect it via VNC server and i installed Gnome desktop, Tightvnc server and done the all configuration but when i start vncserver it out put 764:1 and how to connect via VNC server for NAT IP vps help me guys,
thank you
you should change the default vncserver port.
open the file /usr/bin/vncserver as root (or sudo) with your favorite text editor. Scroll down to see the line:
$vncPort = 5900 + $displayNumber;
Change 5900 to one of the assigned port given by your provider, save the file, stop and restart the vnc service.
@iamjoker said:
hello daily i don't use NAT IP vps and never provide for my customers. just trying it how works and trying to learn before provide others
Why the LET provided the 'Provider' tag if person/company don't know how to manage the servers?
Comments
you should change the default vncserver port.
open the file /usr/bin/vncserver as root (or sudo) with your favorite text editor. Scroll down to see the line:
$vncPort = 5900 + $displayNumber;
Change 5900 to one of the assigned port given by your provider, save the file, stop and restart the vnc service.
Replace the [port] with your provider assigned for your vps. And then run this via ssh
vncserver :[port]
Sorry how can i open this file to edit i only have ssh access i don't no to access it via graphical view
This guy is a provider?
hello daily i don't use NAT IP vps and never provide for my customers. just trying it how works and trying to learn before provide others
No seriously, you don't know how to edit a file while SSH'd into a machine?
you know sometimes it's hard to doing in linux user have worked with windows for long time
What even is your business? You've never advertised it, made an offer, or even mentioned it's name.
You can use vi or nano as a text editor...
Why the LET provided the 'Provider' tag if person/company don't know how to manage the servers?
Everyone has to start somewhere... but it would make me nervous if my provider didn't already know how to edit text files...
Wow.