VNC Server should be running GNOME as needed now. Remember that the port you are using to start VNC (:5), you will need it later when connecting with a VNC client. Ok now save and restart the VNC instance: We should have VNC load GNOME instead of the default twm. Now edit the local config file in the root folder: First, kill the dekstop you launched earlier with: This will generate a local Notice that :5 is the same port we gave in the first config file.īefore you log in through a VNC client, there is one more file that needs to be adjusted to match our configuration. Now we need to assign a password to the VNC server. The other parameters can be left as the same. Likewise, change the resolution if you prefer. For example, change “5:root” to a different display port and/or username if you do not wish to use root. VNCSERVERARGS=”-geometry 800×600 -nolisten tcp -nohttpd -localhostĬhange the criteria to match your desired configuration. VNCSERVERS=”5:root” # display port and username VNC Server should be installed along with X Window System, then we can move on to the configuration as stated below :Įdit the /etc/sysconfig/vncservers file and add (or uncomment) the following two lines:
0 Comments
Leave a Reply. |