WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: Re: [Xen-users] vfb in PV

To: "jim burns" <jim_burn@xxxxxxxxxxxxx>
Subject: Re: Re: [Xen-users] vfb in PV
From: "Nikhil Talpallikar" <nikhil.talpallikar@xxxxxxxxx>
Date: Tue, 11 Mar 2008 08:20:33 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Mar 2008 19:51:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=xLcOoc80tM9X9OYd0Vk39dXVXhE+avPDDsQ0P7EhcIU=; b=QG3n7IEplDEfrWHpmXL5Rfy4X3eEOzjtVj7qFYsj8EDL19DkH1zPA3qSwVx9aFUtj3HvAZE8J3EYfVnseGtq/RF4OyAk7bEno+GrdP6etADYA+xKOaIaaqnE0lB4gbv9SgwB0kKwfLyC/16N6LXtigUMLC0KHNXl3fe5lRq+/js=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HkYkuyst8znK+jhcAUI6/qoQinr/4U+dyKEfo4xPA6ppnGxAb8hLyqlyFc3rGmUwub98lDkBa0UMp8gH6h8wCoJrhQCgpB+TsS3g/bQomQWEgGjOiRp51YLVCNULyD4vH8U0zmRcxX+CESDS+6xp/seh+IyxYco+PzoyU/fsEAM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200803102147.34939.jim_burn@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200803102147.34939.jim_burn@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have the same results for 'rpm -ql vnc' as well as for 'rpm -ql vnc-server' on my fc6 PVM. When i tried to connect to the fc6 vncserver from my dom0 i get connected, but do not have the display. Neither do i have a simple xterm console. The only thing i get is a menu which shows some options to be selected.

 ~/.vnc/xstartup  is:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#startx &
tgv &


I have commented the startx and the xinitrc as i am still unable to install xserver on fc6 PVM.
Is it so that the vncviewer needs to connect with a xserver without which i cannot even have a simple xterm environment in the vncviewer?
I tried 'yum install xserver' which did not work. So i tried the rpm way but am stuck with resolving the dependencies :(

thanks.

cheers,
nikhil
 

On Tue, Mar 11, 2008 at 7:17 AM, jim burns <jim_burn@xxxxxxxxxxxxx> wrote:

----------  Forwarded Message  ----------

Subject: Re: [Xen-users] vfb in PV
Date: Sunday 09 March 2008
From: jim burns <jim_burn@xxxxxxxxxxxxx>
To: "Nikhil Talpallikar" <nikhil.talpallikar@xxxxxxxxx>

On Sunday 09 March 2008 10:06:53 pm you wrote:
> I tried yum install vnc and yum install xserver. The installation goes
> successfully. but when i do startx or vncserver :10 in domU both give the
> same error saying command not found. but after installation i do not get
> the vkfb not found error i used to get earlier during xm create. even from
> dom0 i cannot connect the vncviewer to the domU.

Do an 'rpm -ql vnc' (or vnc-server). On my system, I get:

[1190] > rpm -ql vnc
/usr/bin/vncviewer
/usr/share/applications/vncviewer.desktop
/usr/share/doc/vnc-4.1.2
/usr/share/doc/vnc-4.1.2/LICENCE.txt
/usr/share/doc/vnc-4.1.2/README
/usr/share/icons/hicolor/16x16/apps/vnc.png
/usr/share/icons/hicolor/24x24/apps/vnc.png
/usr/share/icons/hicolor/48x48/apps/vnc.png
/usr/share/man/man1/vncviewer.1.gz
jimb@Insp6400 03/09/08 10:25PM:~
[1191] > rpm -ql vnc-server
/etc/rc.d/init.d/vncserver
/etc/sysconfig/vncservers
/usr/bin/Xvnc
/usr/bin/vncconfig
/usr/bin/vncpasswd
/usr/bin/vncserver
/usr/bin/x0vncserver
/usr/lib/xorg/modules/extensions/libvnc.so
/usr/share/man/man1/Xvnc.1.gz
/usr/share/man/man1/vncconfig.1.gz
/usr/share/man/man1/vncpasswd.1.gz
/usr/share/man/man1/vncserver.1.gz
/usr/share/man/man1/x0vncserver.1.gz
/usr/share/vnc
/usr/share/vnc/classes
/usr/share/vnc/classes/index.vnc
/usr/share/vnc/classes/logo150x150.gif
/usr/share/vnc/classes/vncviewer.jar

>From this, you see that vncviewer is in /usr/bin/vncviewer, and vncserver is a
service, started with (as root) 'service vncserver start'. For the server,
look at /etc/sysconfig/vncservers, and modify the lines at the bottom to
automatically spawn a server under your user account, and with the specified
desktop geometry. Then you can use (as root) 'chkconfig vncserver on' to
start the service automatically at boot time. And you should look at
~/.vnc/xstartup, which controls what desktop software is running in the vnc
window. (eg - if the last line is 'startkde &', you get kde. Look at the man
pages in the rpm listings above.)

You might also look at Gnome's vino server, which does something similar.

-------------------------------------------------------

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>