installation oof vnc in linux vps

  • Thread starter Thread starter raj1402
  • Start date Start date
  • Replies Replies 4
  • Views Views 2,328

raj1402

Regular
Messages
422
Location
chennai
ISP
Airtel 16mbps @ 3699INR
i am trying to install vncserver in linux vpsbut i am getting error msg display not configured [ok]can some linux expert help me in this issue
 
linux distro , desktop environment ? did you install vncserver as root and are you trying to log on as user ? does the provider allow vnc session on vps , many don't ! leeme know the above then we will sort this out , takes 5 mins to set up vnc or nx server [ which is better if you have good specs on vps at least 2 gb of ram ] other wise vnc is cool.
 
vps with 1gb ram and 2gb burstableagain its not server its vpsi am noob in linux so it will be great if u brief the steps to install vncserver in linux vpsi got 3 vps and all these are unusable as of now!!!
 
well most vps are configured from deb or Ubuntu servers , i will take it from the top assuming that you have not installed vncserver and a desktop , you need desktop , linux server editions come without a desktop .

1st add a user, using root is suicide on linux , log into your vps via ssh as root then follow cmds, just copy paste them .

1]apt-get update

2]useradd -m
without
passwd

New password:
Verify:


3] we going with free nx server 2 gb brustable is enuff for it
cmd

4] nano /etc/apt/sources.list

nano is a text editor , now a text page should have opened up add these lines to it.

deb Index of /freenx-team/ppa/ubuntu intrepid main
deb-src Index of /freenx-team/ppa/ubuntu intrepid main

just copy paste and add at bottom

cntrl + y to write out and cntrl x to exit nano. and then issue these 2 cmds



aptitude update
aptitude install freenx

You can check if the nx server is running.

nxserver --status

reply should be

NX> 100 NXSERVER - Version 1.5.0-60 OS (GPL)
NX> 110 NX Server is running
NX> 999 Bye

if you get the above you all ok.

now you need a desktop , issue a the following cmd

apt-get install kde

this would take a while, in the meanwhile download the windows nx client from here
NoMachine NX - Download the NX Terminal Server and Remote Access Software

after kde is installed , fire up nx client on local p.c, put in your user name in login , pass in password, session as anything. now hit the configure tab, put the server i.p in host, port 22 , desktop unix - session as kde and login , easy !!


it is tough to do it without knowing your OS, ask your vps provider which os they used or just put the link to vps you bought that would tell it too. if you get any errors leeme know.
 
Back