Forum Home
Press F1
 
Thread ID: 66396 2006-02-21 08:11:00 VNC problem sarum (6222) Press F1
Post ID Timestamp Content User
432571 2006-02-21 08:11:00 Hi, my 2 computers sit next to each other, and are connected by a crossover cable. The XP has the modem and a proxy(not sure what a proxy is) that lets the Linux(Breezy Badger) onto the internet. Both machines share one keyboard, video, & mouse(KVM).
Badger has a built in VNC. System>Prefrences>Remote desktop. This gives an address:- vncviewer localhost.localdomain:0 - to e-mail. It also has options to , 'allow others to view and control'. I ticked both these but left the security password and confirmation open to keep things simple.

On XP, I've downloaded 'VNC Free edition 4.1 viewer for Windows'

But when I type in vncviewer localhost.localdomain:0 I get the following:-
"unable to resolve host by name. The requested name is valid & was found in the database, but it does not have the correct associated data being resolved for.(11004)
Not an urgent question but I'd welcome any suggestions...........thanks Sarum
sarum (6222)
432572 2006-02-21 08:19:00 I have not used VNC alot but as I understand it there is a server and a viewer - it sounds to me that you have the viewer on both - one needs to have the server installed. johnd (85)
432573 2006-02-21 09:28:00 Correct, you need a server in order for your computer to be controlled. To access this server you need a viewer. My personal favourite flavour of VNC is TightVNC.

http://www.tightvnc.com/
Haze (3028)
432574 2006-02-21 09:32:00 I just recently discovered TightVNC for controlling my linux machine and can also recomment it too. bob_doe_nz (92)
432575 2006-02-21 09:41:00 I use the -dev version, mainly because it has a neat file transfer feature. Haze (3028)
432576 2006-02-21 09:48:00 Well I think Ubuntu installs the VNC server and client.

Trouble is that the hostname on your Linux box there isn't a good one .i.e localhost.

Find the ip address for your linux box by using the command: ifconfig eth0
Probably something like: 192.168.1.2
Use that in place of localhost.localdomain in your vncviewer...

Otherwise set your hostname with something like:

sudo hostname me_badger_comp
gibler (49)
432577 2006-02-21 19:38:00 I have just done this. Mine works through a router (4 port DSE).
I have the linux box & the XP box sitting side by side for now and when I installed Debian Sarge, I used a kvm switch; but I want to do away with that; too much cabling under the desk.
Anyway I installed PuTTY to start with on the XP machine & now I can do all the command line stuff I want on the linux one, without using the kvm switch. Also I can start & kill the vnc server (which resides on the linux machine).
I installed the vnc viewer on windows.
I also used ip addresses in preference to names.
To start I use the command "vncserver" from a command line in linux (first time you will be prompted to set up a password - I used same one for user in linux).
Then I start vnc in windows and type in the ip address of the linux machine from there; remembering to add ":x" to the end of it, the "x" is the number of the session you are starting - you get this number when you start the vncserver in linux, it will end with something like com:1.log, and 1 will be the number of the session.
When I've finished, I'll type at the command line in linux "vncserver -kill :1" using whatever the number of the session is.
I've found it OK, but far from perfect as it always uses Gnome, when I prefer KDE and I can't find a way to change this. Also the screen size is about 6" square in the middle of the monitor screen and I'd like something bigger. But at least I can work on linux without using the kvm switch.
The other thing I've done is set up Filezilla on the windows machine and I can ftp files etc across to the linux machine as a backup.
I tried to set up samba but didn't have much luck there, but with what I've set up now, I don't think I need it.
jcr1 (893)
432578 2006-02-22 00:10:00 Thankyou all for your replies. Gibler's suggestion seemed the easiest to try first, and I found the Linux address(ifconfig....) and typed it into the viewer on XP, and there was my friend the Badger.
Now I shall try TightVNC and the other suggestions from those who were kind enough to answer my first query, thanks again
Sarum.
sarum (6222)
432579 2006-02-22 01:58:00 Should have mentioned this before, but now I can get Linux on XP; I want to adjust the screen size of Linux. On the Linux machine the screen size is OK, but when viewing it on XP I have to scroll both up/down & sideways. I've tried 'screen resolution' both on the Linux machine and while in VNC but no luck so far.
Cheers Sarum.
sarum (6222)
432580 2006-02-22 03:07:00 I think there's an option in there somewhere to "Scale desktop" and I'm pretty sure that it resizes the desktop to fit your screen, of course, you will lose clarity though. Haze (3028)
1