---------- Forwarded Message ---------- Subject: Re: [Xen-users] vfb in PV Date: Sunday 09 March 2008 From: jim burns <jim_burn@bellsouth.net> To: "Nikhil Talpallikar" <nikhil.talpallikar@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users
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@bellsouth.net> wrote:> > ---------- Forwarded Message ---------- > > Subject: Re: [Xen-users] vfb in PV > Date: Sunday 09 March 2008 > From: jim burns <jim_burn@bellsouth.net> > To: "Nikhil Talpallikar" <nikhil.talpallikar@gmail.com> > > 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Monday 10 March 2008 10:50:33 pm Nikhil Talpallikar wrote:> [ -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 &What''s 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 :(Right. You could post the output of the ''yum install'' session. This gets back to using the vnc server builtin to xen (via xen-vncfb or qemu-dm, depending on the version of your dom0 kernel & xen and whether you are installing the domu PV or HVM.) You won''t be able to use vnc-server on the domu until you work out the X11 dependencies. Using the vnc server capabilities of xen on dom0 just requires having the ''Xen Virtual Frame Buffer'' (fbdev) installed in domu as your video driver. This is set in the domu''s /etc/X11/xorg.conf. Of course, that means you still need to get X working at least minimally in your domu. What is your dom0 kernel & xen versions? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 3/11/08, jim burns <jim_burn@bellsouth.net> wrote:> > On Monday 10 March 2008 10:50:33 pm Nikhil Talpallikar wrote: > > [ -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 & > > > What''s tgv?sorry for that err. It is twm & and not 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 :( > > > Right. You could post the output of the ''yum install'' session. > > This gets back to using the vnc server builtin to xen (via xen-vncfb or > qemu-dm, depending on the version of your dom0 kernel & xen and whether > you > are installing the domu PV or HVM.) You won''t be able to use vnc-server on > the domu until you work out the X11 dependencies. > > Using the vnc server capabilities of xen on dom0 just requires having the > ''Xen > Virtual Frame Buffer'' (fbdev) installed in domu as your video driver. This > is > set in the domu''s /etc/X11/xorg.conf. Of course, that means you still need > to > get X working at least minimally in your domu. > > What is your dom0 kernel & xen versions? > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >I am using linux-2.6.18 dom0 kernel. and xen 3.0 on RHEL5. cheers, nikhil _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi, I tried yum groupinstall "X Windows System" . I got an error saying: "need atlest 29000MB free disk space" fc6 PVM fell short of disk space. How can I install a minimal X11 system? thanks. cheers, nikhil On 3/11/08, Nikhil Talpallikar <nikhil.talpallikar@gmail.com> wrote:> > > > On 3/11/08, jim burns <jim_burn@bellsouth.net> wrote: > > > > On Monday 10 March 2008 10:50:33 pm Nikhil Talpallikar wrote: > > > [ -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 & > > > > > > What''s tgv? > > > sorry for that err. It is twm & and not 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 :( > > > > > > Right. You could post the output of the ''yum install'' session. > > > > This gets back to using the vnc server builtin to xen (via xen-vncfb or > > qemu-dm, depending on the version of your dom0 kernel & xen and whether > > you > > are installing the domu PV or HVM.) You won''t be able to use vnc-server > > on > > the domu until you work out the X11 dependencies. > > > > Using the vnc server capabilities of xen on dom0 just requires having > > the ''Xen > > Virtual Frame Buffer'' (fbdev) installed in domu as your video driver. > > This is > > set in the domu''s /etc/X11/xorg.conf. Of course, that means you still > > need to > > get X working at least minimally in your domu. > > > > What is your dom0 kernel & xen versions? > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > I am using linux-2.6.18 dom0 kernel. and xen 3.0 on RHEL5. > > cheers, > nikhil >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Friday 14 March 2008 02:44:34 am Nikhil Talpallikar wrote:> I tried yum groupinstall "X Windows System" . I got an error saying: > > "need atlest 29000MB free disk space" > > fc6 PVM fell short of disk space. How can I install a minimal X11 system?Uhh, there''s no way you need 29 GB of disk space - yum is confused. Did you at least get to the downloading file stage? If so, you can go to /var/cache/yum/*/packages, and install the files there with rpm. (rpm''s --ignoresize option would be helpful here, if you actually have the disk space.) Or, you can take the filelist of files yum wants to install, and pick the largest rpms and ''yum install'' it separately (with its dependencies). Eventually, you will get past the confusion, and be able to install the rest in one step. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yeah all 342 MB of X windows system was downloaded. At the install stage yum gave this err. I will try instal the rpm way from /var/cache/yum/*/packages. thanks. cheers, nikhil On 3/14/08, jim burns <jim_burn@bellsouth.net> wrote:> > On Friday 14 March 2008 02:44:34 am Nikhil Talpallikar wrote: > > I tried yum groupinstall "X Windows System" . I got an error saying: > > > > "need atlest 29000MB free disk space" > > > > fc6 PVM fell short of disk space. How can I install a minimal X11 > system? > > > Uhh, there''s no way you need 29 GB of disk space - yum is confused. Did > you at > least get to the downloading file stage? If so, you can go > to /var/cache/yum/*/packages, and install the files there with rpm. > (rpm''s --ignoresize option would be helpful here, if you actually have the > disk space.) Or, you can take the filelist of files yum wants to install, > and > pick the largest rpms and ''yum install'' it separately (with its > dependencies). Eventually, you will get past the confusion, and be able to > install the rest in one step. > > > _______________________________________________ > 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