How to install VNC server when packages are not found?

pmallur

Distinguished
Sep 22, 2009
1
0
18,510
I have Ubuntu 9.0.4 Desktop version running on my machine.
1. I want to install VNC server

when i run this command sudo apt-get install openssh vncserver..
I get an error indicating that there are openssh packages..

How do I install the open ssh pacakges for this version of ubuntu and eventuall ythe vnc server so that when I do a remote desktop from a windows machine I should be able to get into the GUI of the linux machine as I see it when I am at that machine

can somene help me with the link and the process..

Thanks
 

yang925

Distinguished
Oct 22, 2009
18
0
18,510
The reason that openssh didn't work is the package didn't exist you were looking for the package openssh-server. To search for packages you can use :

apt-cache search package-name

After that i grep for additional keywords, may not be the most efficent but:

apt-cache search package-name | grep "subject"
 

yang925

Distinguished
Oct 22, 2009
18
0
18,510
Personally, I use the terminal for alot, it can be concise and sometimes provide more detail. It is also minimal. However, use what works. If you can't do something with the CLL then go GUI and visa versa.