Hi Henrik,

Henrik Holst <[EMAIL PROTECTED]> wrote:


> >> # kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :0
> >
> >Tried it just hangs there.  I don't run X on the server.
> Then it is working, since you are running it with -vnc :0 kvm/qemu
> will provide all the output to the vnc console. so this is a sign
> that
> it is working.
> By now performing netstat -antp you should see that the qemu process
> is listening on port 5900 which is the vnc-port.

On the local desktop after ssh-connect the server running;

# netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address        
State       PID/Program name
tcp        0      0 0.0.0.0:5901            0.0.0.0:*              
LISTEN      5682/kvm        
tcp        0      0 192.168.122.1:53        0.0.0.0:*              
LISTEN      5100/dnsmasq    
tcp6       0      0 :::22                   :::*                   
LISTEN      5561/sshd       
tcp6       0      0 192.168.0.110:22        192.168.0.36:45338     
ESTABLISHED 5566/0          

Is it 5901 the vnc-port?


> >> qemu contains a built in vnc-server. Thomas meant that you should
> >> then
> >> connect with a vncviewer to this machines ip:0.
> >
> >I can connect the server with SSH on desktop.  I doubt whether I
> have
> >VNC-client running on desktop
> You will have to install a vnc-client on your desktop (not on the
> image that you are trying to run, on the desktop that you are writing
> on right now!). If you install it on the same machine that you run
> qemu/kvm on then simply put 127.0.0.1 as the remote server.

Could you please explain in more detail.  Thanks


Can I install vnc-client on the server and run it on the desktop
remotely?  Similar to X forwarding.  If YES please advise how to
achieve it.  TIA


B.R.
Stephen


Send instant messages to your online friends http://uk.messenger.yahoo.com 
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to