Hi, Can I use vfb = [ ''type=vnc'' ] in a paravirtual guest. If not, is there any other way to have a X11 support for a PVM? cheers, Nikhil _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Saturday 08 March 2008 12:53:04 pm Nikhil Talpallikar wrote:> Can I use vfb = [ ''type=vnc'' ] in a paravirtual guest. If not, is there > any other way to have a X11 support for a PVM?I use vfb=[ ''type=vnc, keymap=en-us, vnclisten=0.0.0.0, vncunused=1'' ] in my fc8 domu on fc8 dom0, with the proper X11 & desktop files installed in both. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > I use vfb=[ ''type=vnc, keymap=en-us, vnclisten=0.0.0.0, vncunused=1'' ] in > my > fc8 domu on fc8 dom0, with the proper X11 & desktop files installed in > both. >Can u elaborate more? U mean to say is that if I have X11 & desktop files installed on my guest I can use vnc to run a Xserver on my PVM, but how do I install X11 and vncserver to my guest? I am a newbie to XEN and so I use the guest images from jailtime.org. thanks. cheers, nikhil _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sunday 09 March 2008 01:15:50 am you wrote:> > I use vfb=[ ''type=vnc, keymap=en-us, vnclisten=0.0.0.0, vncunused=1'' ] in > > my > > fc8 domu on fc8 dom0, with the proper X11 & desktop files installed in > > both. > > Can u elaborate more? > U mean to say is that if I have X11 & desktop files installed on my guest I > can use vnc to run a Xserver on my PVM, but how do I install X11 and > vncserver to my guest? > I am a newbie to XEN and so I use the guest images from jailtime.org.Ouch! Maybe someone more experienced with jailtime can answer that, like Evan Lavelle. I''m guessing the easiest way is to mount the image on dom0, and use yum with the --installroot=path-to-jailtime-mount parameter. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I tried to install vnc using the rpm vnc-4.1.2-9.fc6.src.rpm. i got the following error. [root@fc6_pristine /]# rpm -ivh vnc-4.1.2-9.fc6.src.rpm error: cannot create %sourcedir /usr/src/redhat/SOURCES [root@fc6_pristine /]# how do i install vnc and X11 components to this PVM? plz help. thanks. cheers, nikhil _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sunday 09 March 2008 06:08:23 am you wrote:> Is there a link from where i can download such a guest image with X11 and > vncseerver installed?It''s a lot easier to use virt-install/virt-manager to create your guest. It will run the guest''s own installer, and you can pick what packages you want. (It typically defaults to X11 & Gnome.) From your next post, I''m guessing you are using Fedora fc6. You might want to upgrade to fc8 - virt-manager is much better, xen has a higher version. You should include the list in your posts. That gives other people a chance to include their two cents. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sunday 09 March 2008 06:14:01 am Nikhil Talpallikar wrote:> I tried to install vnc using the rpm vnc-4.1.2-9.fc6.src.rpm. i got the > following error. > > [root@fc6_pristine /]# rpm -ivh vnc-4.1.2-9.fc6.src.rpm > error: cannot create %sourcedir /usr/src/redhat/SOURCES > [root@fc6_pristine /]# > > > how do i install vnc and X11 components to this PVM?I doubt you really want to be compiling packages from scratch. You get that error the first time you try to install a .src.rpm (source code rpm). If that''s really what you want to do, you need to create the directories: /usr/src/redhat /usr/src/redhat/SOURCES /usr/src/redhat/SPECS /usr/src/redhat/RPMS /usr/src/redhat/RPMS/i586 /usr/src/redhat/RPMS/noarch /usr/src/redhat/RPMS/athlon /usr/src/redhat/RPMS/i486 /usr/src/redhat/RPMS/i686 /usr/src/redhat/RPMS/i386 /usr/src/redhat/BUILD /usr/src/redhat/SRPMS But more likely, you want the binary rpm. Change your download path from, eg: http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/SRPMS/vnc-4.1.2-9.fc6.src.rpm to: http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/vnc-4.1.2-9.fc6.i386.rpm or better still, upgrade to fc8. Now, vnc goes on the machine you are connecting to the guest from. It could be dom0 (and has to be by default, unless you specify a vnclisten=''0.0.0.0'' parm in your guest''s config), or it could go on any (fedora) pc on your network. In the guest, assuming it is also fedora, you *could* install vnc-server, but it''s easier to use xen''s builtin vnc server (xen-vncfb on fc6/fc7, qemu-dm on fc8). You connect thru dom0''s ip address. Assuming your vnc related parms in your guest''s config look like: vnc=1 vnclisten="0.0.0.0" vncdisplay=10 #vncunused=1 vncconsole=1 vncpasswd="" keymap=''en-us'' you would connect (on dom0) with ''vncviewer :10'', or on another client with ''vncviewer dom0-ip:10''. Make sure port 10 (actually, 5900 + 10) is not in use by any other guest or server on dom0, or you could comment out vncdisplay, and uncomment vncunused to allow xen''s vnc component to pick the first unsused vnc port #. On fc8/modern xen versions, the syntax is a little different: vfb=[ ''type=vnc, keymap=en-us, vnclisten=0.0.0.0, vncunused=1'' ] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
thank you very much. p.s.: Thanks for the advice. I will remember that next time. cheers, nikhil On 3/9/08, jim burns <jim_burn@bellsouth.net> wrote:> > On Sunday 09 March 2008 06:08:23 am you wrote: > > Is there a link from where i can download such a guest image with X11 > and > > vncseerver installed? > > It''s a lot easier to use virt-install/virt-manager to create your guest. > It > will run the guest''s own installer, and you can pick what packages you > want. > (It typically defaults to X11 & Gnome.) From your next post, I''m guessing > you > are using Fedora fc6. You might want to upgrade to fc8 - virt-manager is > much > better, xen has a higher version. > > You should include the list in your posts. That gives other people a > chance to > include their two cents. > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nikhil Talpallikar wrote:> I tried to install vnc using the rpm vnc-4.1.2-9.fc6.src.rpm. i got > the following error. > > [root@fc6_pristine /]# rpm -ivh vnc-4.1.2-9.fc6.src.rpm > error: cannot create %sourcedir /usr/src/redhat/SOURCES > [root@fc6_pristine /]# > > > how do i install vnc and X11 components to this PVM? > > plz help. > > thanks. > > cheers, > nikhilYou just tried to install the *SOURCE* package, not the binary. On RHEL or Fedora, you should be able to do "yum install vnc". If you need to install the binary directly, look for the *.i386.rpm packages, not the .src.rpm packages. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jim burns wrote:> On Sunday 09 March 2008 06:14:01 am Nikhil Talpallikar wrote: > >> I tried to install vnc using the rpm vnc-4.1.2-9.fc6.src.rpm. i got the >> following error. >> >> [root@fc6_pristine /]# rpm -ivh vnc-4.1.2-9.fc6.src.rpm >> error: cannot create %sourcedir /usr/src/redhat/SOURCES >> [root@fc6_pristine /]# >> >> >> how do i install vnc and X11 components to this PVM? >> > > I doubt you really want to be compiling packages from scratch. You get that > error the first time you try to install a .src.rpm (source code rpm). If > that''s really what you want to do, you need to create the directories: > > /usr/src/redhat > /usr/src/redhat/SOURCES > /usr/src/redhat/SPECS > /usr/src/redhat/RPMS > /usr/src/redhat/RPMS/i586 > /usr/src/redhat/RPMS/noarch > /usr/src/redhat/RPMS/athlon > /usr/src/redhat/RPMS/i486 > /usr/src/redhat/RPMS/i686 > /usr/src/redhat/RPMS/i386 > /usr/src/redhat/BUILD > /usr/src/redhat/SRPMS > > But more likely, you want the binary rpm. Change your download path from, eg: > > http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/SRPMS/vnc-4.1.2-9.fc6.src.rpm > > to: > > http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/vnc-4.1.2-9.fc6.i386.rpm > > or better still, upgrade to fc8. > > Now, vnc goes on the machine you are connecting to the guest from. It could be > dom0 (and has to be by default, unless you specify a vnclisten=''0.0.0.0'' parm > in your guest''s config), or it could go on any (fedora) pc on your network. > > In the guest, assuming it is also fedora, you *could* install vnc-server, but > it''s easier to use xen''s builtin vnc server (xen-vncfb on fc6/fc7, qemu-dm on > fc8). You connect thru dom0''s ip address. Assuming your vnc related parms in > your guest''s config look like: > > vnc=1 > vnclisten="0.0.0.0" > vncdisplay=10 > #vncunused=1 > vncconsole=1 > vncpasswd="" > keymap=''en-us'' > > you would connect (on dom0) with ''vncviewer :10'', or on another client > with ''vncviewer dom0-ip:10''. Make sure port 10 (actually, 5900 + 10) is not > in use by any other guest or server on dom0, or you could comment out > vncdisplay, and uncomment vncunused to allow xen''s vnc component to pick the > first unsused vnc port #. On fc8/modern xen versions, the syntax is a little > different: > > vfb=[ ''type=vnc, keymap=en-us, vnclisten=0.0.0.0, vncunused=1'' ] >No, he needs to do several things: * Install the rpmbuild package, so he can build these things. * Do a "yum install /usr/src/redhat" in order to get these form the RPM that contains them, instead of randomly creating things manually. * Preferably set up a ".rpmmacros" that will allow him to compile things personally, as a local user, instead of in /usr/src and requiring root privileges. Now, me? I like to set up "mock" to get a clean build environment for this sort of stunt. I''m happy to send notes about this if desired. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, 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. thanks. cheers nikhil _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nikhil Talpallikar wrote:> I tried to install vnc using the rpm vnc-4.1.2-9.fc6.src.rpm. i got > the following error. > > [root@fc6_pristine /]# rpm -ivh vnc-4.1.2-9.fc6.src.rpm > error: cannot create %sourcedir /usr/src/redhat/SOURCES > [root@fc6_pristine /]# > > > how do i install vnc and X11 components to this PVM? > > plz help. > > thanks. > > cheers, > nikhil > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersTry installing binary RPM''s you are trying to install source RPM. and from the error i see that there is no directory named SOURCES in the /usr/src/redhat Folder where the RPM tries to keep Sources. and also there should be one more folder named SPECS in the /usr/src/redhat folder and by the way where are you trying to install the RPM???? Is the image a Live CD or a Installable Image or the Installed Image. Regards, Sairam ******************************************************************************** This email message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential, proprietary and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and destroy all copies of the original message. Thank you. Intoto Inc. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I also use extra = ''video=xenfb'' Best, Arik On Sat, Mar 8, 2008 at 7:53 PM, Nikhil Talpallikar < nikhil.talpallikar@gmail.com> wrote:> Hi, > > Can I use vfb = [ ''type=vnc'' ] in a paravirtual guest. If not, is there > any other way to have a X11 support for a PVM? > > > cheers, > Nikhil > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users