Hi. I am searching the web but cannot find anything. Could you please give me a hint how to access domU through VNC? I have debian stable in dom0. No X Windows. I installed debian stable to domU with help of xen-create-image. Then I installed KDE and VNC. But I am missing something. I am missing whole concept. Thank you. jiri _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emre Erenoglu
2007-Nov-24 18:16 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
Hi Jiri, Is your domU HVM or Paravirtual? If HVM, you will have an emulated video card and you need to configure your xorg-server to work with this card. Next, you will need to connect it through SDL or VNC. You choose this method in your domU configuration file (SDL=1, VNC=1). If SDL, you''ll have an immediate window when you start your DomU. If VNC, you''ll need to connect to localhost with a VNC client. The port that you need to connect is 5900 + ID_of_DomU (you can find the ID from xm list command output, or do a netstat -a to see listening ports 59xx) If you have a Paravirtual DomU, then, you either have a "Framebuffer" in your DomU kernel that Xorg can start on (and then you''ll see the output again with SDL or VNC), or you can use some other method, such as using - vnc based xorg server, - NX - using XDMCP and accessing the host Xorg Good luck! Emre- Show quoted text - On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com> wrote:> Hi. > > I am searching the web but cannot find anything. > > Could you please give me a hint how to access domU through VNC? > > I have debian stable in dom0. No X Windows. > > I installed debian stable to domU with help of xen-create-image. Then I > installed KDE and VNC. But I am missing something. I am missing whole > concept. > > Thank you. > > jiri > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >On Nov 24, 2007 3:49 PM, kanour-xen <xen@kanour.com> wrote:> Hi. > > I am searching the web but cannot find anything. > > Could you please give me a hint how to access domU through VNC? > > I have debian stable in dom0. No X Windows. > > I installed debian stable to domU with help of xen-create-image. Then I > installed KDE and VNC. But I am missing something. I am missing whole > concept. > > Thank you. > > jiri > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Emre Erenoglu erenoglu@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
kanour-xen
2007-Nov-25 03:27 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
Emre Erenoglu wrote:> Hi Jiri, > > Is your domU HVM or Paravirtual? If HVM, you will have an emulated video > card and you need to configure your xorg-server to work with this card. > Next, you will need to connect it through SDL or VNC. You choose this > method in your domU configuration file (SDL=1, VNC=1). > > If SDL, you''ll have an immediate window when you start your DomU. > > If VNC, you''ll need to connect to localhost with a VNC client. The port > that you need to connect is 5900 + ID_of_DomU (you can find the ID from > xm list command output, or do a netstat -a to see listening ports 59xx) > > If you have a Paravirtual DomU, then, you either have a "Framebuffer" in > your DomU kernel that Xorg can start on (and then you''ll see the output > again with SDL or VNC), or you can use some other method, such as using > - vnc based xorg server, > - NX > - using XDMCP and accessing the host Xorg > > Good luck! > > Emre > - Show quoted text - > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > <mailto:xen@kanour.com>> wrote: > > Hi. > > I am searching the web but cannot find anything. > > Could you please give me a hint how to access domU through VNC? > > I have debian stable in dom0. No X Windows. > > I installed debian stable to domU with help of xen-create-image. Then I > installed KDE and VNC. But I am missing something. I am missing whole > concept. > > Thank you. > > jiri > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen <xen@kanour.com > <mailto:xen@kanour.com>> wrote: > > Hi. > > I am searching the web but cannot find anything. > > Could you please give me a hint how to access domU through VNC? > > I have debian stable in dom0. No X Windows. > > I installed debian stable to domU with help of xen-create-image. Then I > installed KDE and VNC. But I am missing something. I am missing whole > concept. > > Thank you. > > jiri > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > -- > Emre Erenoglu > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersHi Emre. I have to do something wrong somewhere. Here is what I did. I use paravirtual DomU. The aim is to access is remotely through VNC (for start). I installed xserver-xorg and I installed KDE plus kdm. I ran dpkg-reconfigure xserver-xorg and xorg sugested vesa driver (I have Nvidia card in my HP DL145 G2 server), and I choose to use framebuffer. Then I went through the other options like monitor etc. (default settings). I restarted and : als03:~# ps ax PID TTY STAT TIME COMMAND 1 ? Ss 0:00 init [5] 2 ? S 0:00 [migration/0] 3 ? SN 0:00 [ksoftirqd/0] 4 ? S 0:00 [watchdog/0] 5 ? S< 0:00 [events/0] 6 ? S< 0:00 [khelper] 7 ? S< 0:00 [kthread] 8 ? S< 0:00 [xenwatch] 9 ? S< 0:00 [xenbus] 15 ? S< 0:00 [kblockd/0] 19 ? S< 0:00 [khubd] 21 ? S< 0:00 [kseriod] 64 ? S 0:00 [pdflush] 65 ? S 0:00 [pdflush] 66 ? S< 0:00 [kswapd0] 67 ? S< 0:00 [aio/0] 701 ? S< 0:00 [kjournald] 874 ? S<s 0:00 udevd --daemon 1182 ? S< 0:00 [kmirrord] 1318 ? Ss 0:00 /sbin/portmap 1413 ? Ss 0:00 /sbin/syslogd 1419 ? Ss 0:00 /sbin/klogd -x 1435 ? Ss 0:00 /usr/bin/dbus-daemon --system 1443 ? Ss 0:00 /usr/sbin/hald 1444 ? S 0:00 hald-runner 1462 ? Ss 0:00 /usr/sbin/dhcdbd --system 1474 ? Ss 0:00 avahi-daemon: running [als03.local] 1475 ? Ss 0:00 avahi-daemon: chroot helper 1486 ? Ss 0:00 /usr/bin/dirmngr --daemon --sh 1538 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m 1547 ? Ss 0:00 /usr/sbin/lisa 1555 ? Ss 0:00 /usr/sbin/inetd 1577 ? Ss 0:00 /usr/sbin/sshd 1605 ? Ss 0:00 /usr/sbin/famd -T 0 1615 ? Ss 0:00 /usr/sbin/cron 1652 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 1883 ? Ss 0:00 sshd: root@pts/0 1885 pts/0 Ss 0:00 -bash 2302 ? Ss 0:00 /usr/bin/kdm -config /var/run/kdm/kdmrc 2331 pts/0 R+ 0:00 ps ax I then installed vnc4server. As normal user I executed vncpasswd (set password) and vnc4server to start the session. But the vnc session does not come up. What I do wrong? Jiri _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emre Erenoglu
2007-Nov-25 17:37 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
If you are able to use Paravirtual DomU kernel with a Xen Framebuffer, you don''t need to setup any vnc inside the domU. The framebuffer driver in DomU will serve as the source of screen information to the xen daemon running in dom0, this will give you vnc access without installing any vnc in the DomU itself. Emre On Nov 25, 2007 4:27 AM, kanour-xen <xen@kanour.com> wrote:> Emre Erenoglu wrote: > > Hi Jiri, > > > > Is your domU HVM or Paravirtual? If HVM, you will have an emulated video > > card and you need to configure your xorg-server to work with this card. > > Next, you will need to connect it through SDL or VNC. You choose this > > method in your domU configuration file (SDL=1, VNC=1). > > > > If SDL, you''ll have an immediate window when you start your DomU. > > > > If VNC, you''ll need to connect to localhost with a VNC client. The port > > that you need to connect is 5900 + ID_of_DomU (you can find the ID from > > xm list command output, or do a netstat -a to see listening ports 59xx) > > > > If you have a Paravirtual DomU, then, you either have a "Framebuffer" in > > your DomU kernel that Xorg can start on (and then you''ll see the output > > again with SDL or VNC), or you can use some other method, such as using > > - vnc based xorg server, > > - NX > > - using XDMCP and accessing the host Xorg > > > > Good luck! > > > > Emre > > - Show quoted text - > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > > <mailto:xen@kanour.com>> wrote: > > > > Hi. > > > > I am searching the web but cannot find anything. > > > > Could you please give me a hint how to access domU through VNC? > > > > I have debian stable in dom0. No X Windows. > > > > I installed debian stable to domU with help of xen-create-image. > Then I > > installed KDE and VNC. But I am missing something. I am missing > whole > > concept. > > > > Thank you. > > > > jiri > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen <xen@kanour.com > > <mailto:xen@kanour.com>> wrote: > > > > Hi. > > > > I am searching the web but cannot find anything. > > > > Could you please give me a hint how to access domU through VNC? > > > > I have debian stable in dom0. No X Windows. > > > > I installed debian stable to domU with help of xen-create-image. > Then I > > installed KDE and VNC. But I am missing something. I am missing > whole > > concept. > > > > Thank you. > > > > jiri > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > > > > > > > > -- > > Emre Erenoglu > > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > Hi Emre. > > I have to do something wrong somewhere. Here is what I did. > > I use paravirtual DomU. The aim is to access is remotely through VNC > (for start). > > I installed xserver-xorg and I installed KDE plus kdm. > > I ran dpkg-reconfigure xserver-xorg and xorg sugested vesa driver (I > have Nvidia card in my HP DL145 G2 server), and I choose to use > framebuffer. Then I went through the other options like monitor etc. > (default settings). > > I restarted and : > als03:~# ps ax > PID TTY STAT TIME COMMAND > 1 ? Ss 0:00 init [5] > 2 ? S 0:00 [migration/0] > 3 ? SN 0:00 [ksoftirqd/0] > 4 ? S 0:00 [watchdog/0] > 5 ? S< 0:00 [events/0] > 6 ? S< 0:00 [khelper] > 7 ? S< 0:00 [kthread] > 8 ? S< 0:00 [xenwatch] > 9 ? S< 0:00 [xenbus] > 15 ? S< 0:00 [kblockd/0] > 19 ? S< 0:00 [khubd] > 21 ? S< 0:00 [kseriod] > 64 ? S 0:00 [pdflush] > 65 ? S 0:00 [pdflush] > 66 ? S< 0:00 [kswapd0] > 67 ? S< 0:00 [aio/0] > 701 ? S< 0:00 [kjournald] > 874 ? S<s 0:00 udevd --daemon > 1182 ? S< 0:00 [kmirrord] > 1318 ? Ss 0:00 /sbin/portmap > 1413 ? Ss 0:00 /sbin/syslogd > 1419 ? Ss 0:00 /sbin/klogd -x > 1435 ? Ss 0:00 /usr/bin/dbus-daemon --system > 1443 ? Ss 0:00 /usr/sbin/hald > 1444 ? S 0:00 hald-runner > 1462 ? Ss 0:00 /usr/sbin/dhcdbd --system > 1474 ? Ss 0:00 avahi-daemon: running [als03.local] > 1475 ? Ss 0:00 avahi-daemon: chroot helper > 1486 ? Ss 0:00 /usr/bin/dirmngr --daemon --sh > 1538 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > 1547 ? Ss 0:00 /usr/sbin/lisa > 1555 ? Ss 0:00 /usr/sbin/inetd > 1577 ? Ss 0:00 /usr/sbin/sshd > 1605 ? Ss 0:00 /usr/sbin/famd -T 0 > 1615 ? Ss 0:00 /usr/sbin/cron > 1652 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > 1883 ? Ss 0:00 sshd: root@pts/0 > 1885 pts/0 Ss 0:00 -bash > 2302 ? Ss 0:00 /usr/bin/kdm -config /var/run/kdm/kdmrc > 2331 pts/0 R+ 0:00 ps ax > > I then installed vnc4server. As normal user I executed vncpasswd (set > password) and vnc4server to start the session. > > But the vnc session does not come up. What I do wrong? > > Jiri > >-- Emre Erenoglu erenoglu@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Furner
2007-Nov-26 19:36 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
Hi I''m trying to do something similar: run a NX server within a Xen guest. I have Ubuntu Gutsy as host and Ubuntu Edgy as guest, and amd64 architecture. Am using paravirtualisation and the framebuffer within the guest. I get as far as a KDM error page but no futher: "Could not start kstartupconfig. Check your installation." Clicking on an OK shuts down the NX screen. Do you have any suggestions? Thanks M On Sunday 25 November 2007, Emre Erenoglu ("Emre Erenoglu" <erenoglu@gmail.com>) may have written:> If you are able to use Paravirtual DomU kernel with a Xen Framebuffer, you > don''t need to setup any vnc inside the domU. > > The framebuffer driver in DomU will serve as the source of screen > information to the xen daemon running in dom0, this will give you vnc > access without installing any vnc in the DomU itself. > > Emre > > On Nov 25, 2007 4:27 AM, kanour-xen <xen@kanour.com> wrote: > > Emre Erenoglu wrote: > > > Hi Jiri, > > > > > > Is your domU HVM or Paravirtual? If HVM, you will have an emulated > > > video card and you need to configure your xorg-server to work with this > > > card. Next, you will need to connect it through SDL or VNC. You choose > > > this method in your domU configuration file (SDL=1, VNC=1). > > > > > > If SDL, you''ll have an immediate window when you start your DomU. > > > > > > If VNC, you''ll need to connect to localhost with a VNC client. The port > > > that you need to connect is 5900 + ID_of_DomU (you can find the ID > > > from xm list command output, or do a netstat -a to see listening ports > > > 59xx) > > > > > > If you have a Paravirtual DomU, then, you either have a "Framebuffer" > > > in your DomU kernel that Xorg can start on (and then you''ll see the > > > output again with SDL or VNC), or you can use some other method, such > > > as using - vnc based xorg server, > > > - NX > > > - using XDMCP and accessing the host Xorg > > > > > > Good luck! > > > > > > Emre > > > - Show quoted text - > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > > > <mailto:xen@kanour.com>> wrote: > > > > > > Hi. > > > > > > I am searching the web but cannot find anything. > > > > > > Could you please give me a hint how to access domU through VNC? > > > > > > I have debian stable in dom0. No X Windows. > > > > > > I installed debian stable to domU with help of xen-create-image. > > > > Then I > > > > > installed KDE and VNC. But I am missing something. I am missing > > > > whole > > > > > concept. > > > > > > Thank you. > > > > > > jiri > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > <mailto:Xen-users@lists.xensource.com> > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen <xen@kanour.com > > > <mailto:xen@kanour.com>> wrote: > > > > > > Hi. > > > > > > I am searching the web but cannot find anything. > > > > > > Could you please give me a hint how to access domU through VNC? > > > > > > I have debian stable in dom0. No X Windows. > > > > > > I installed debian stable to domU with help of xen-create-image. > > > > Then I > > > > > installed KDE and VNC. But I am missing something. I am missing > > > > whole > > > > > concept. > > > > > > Thank you. > > > > > > jiri > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > <mailto:Xen-users@lists.xensource.com> > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > -- > > > Emre Erenoglu > > > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > > > > > > > > > ----------------------------------------------------------------------- > > >- > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > Hi Emre. > > > > I have to do something wrong somewhere. Here is what I did. > > > > I use paravirtual DomU. The aim is to access is remotely through VNC > > (for start). > > > > I installed xserver-xorg and I installed KDE plus kdm. > > > > I ran dpkg-reconfigure xserver-xorg and xorg sugested vesa driver (I > > have Nvidia card in my HP DL145 G2 server), and I choose to use > > framebuffer. Then I went through the other options like monitor etc. > > (default settings). > > > > I restarted and : > > als03:~# ps ax > > PID TTY STAT TIME COMMAND > > 1 ? Ss 0:00 init [5] > > 2 ? S 0:00 [migration/0] > > 3 ? SN 0:00 [ksoftirqd/0] > > 4 ? S 0:00 [watchdog/0] > > 5 ? S< 0:00 [events/0] > > 6 ? S< 0:00 [khelper] > > 7 ? S< 0:00 [kthread] > > 8 ? S< 0:00 [xenwatch] > > 9 ? S< 0:00 [xenbus] > > 15 ? S< 0:00 [kblockd/0] > > 19 ? S< 0:00 [khubd] > > 21 ? S< 0:00 [kseriod] > > 64 ? S 0:00 [pdflush] > > 65 ? S 0:00 [pdflush] > > 66 ? S< 0:00 [kswapd0] > > 67 ? S< 0:00 [aio/0] > > 701 ? S< 0:00 [kjournald] > > 874 ? S<s 0:00 udevd --daemon > > 1182 ? S< 0:00 [kmirrord] > > 1318 ? Ss 0:00 /sbin/portmap > > 1413 ? Ss 0:00 /sbin/syslogd > > 1419 ? Ss 0:00 /sbin/klogd -x > > 1435 ? Ss 0:00 /usr/bin/dbus-daemon --system > > 1443 ? Ss 0:00 /usr/sbin/hald > > 1444 ? S 0:00 hald-runner > > 1462 ? Ss 0:00 /usr/sbin/dhcdbd --system > > 1474 ? Ss 0:00 avahi-daemon: running [als03.local] > > 1475 ? Ss 0:00 avahi-daemon: chroot helper > > 1486 ? Ss 0:00 /usr/bin/dirmngr --daemon --sh > > 1538 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > > 1547 ? Ss 0:00 /usr/sbin/lisa > > 1555 ? Ss 0:00 /usr/sbin/inetd > > 1577 ? Ss 0:00 /usr/sbin/sshd > > 1605 ? Ss 0:00 /usr/sbin/famd -T 0 > > 1615 ? Ss 0:00 /usr/sbin/cron > > 1652 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > > 1883 ? Ss 0:00 sshd: root@pts/0 > > 1885 pts/0 Ss 0:00 -bash > > 2302 ? Ss 0:00 /usr/bin/kdm -config /var/run/kdm/kdmrc > > 2331 pts/0 R+ 0:00 ps ax > > > > I then installed vnc4server. As normal user I executed vncpasswd (set > > password) and vnc4server to start the session. > > > > But the vnc session does not come up. What I do wrong? > > > > Jiri_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emre Erenoglu
2007-Nov-26 20:24 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
Hi Mark, you don''t need a framebuffer to use NX. You don''t need any video hardware at all. You just need KDM or GDM, with necessary gnome/kde environment packages. error about kstartupconfig may mean some configuration error with kde, no home directory etc. Emre On Nov 26, 2007 8:36 PM, Mark Furner <mark.furner@gmx.net> wrote:> Hi > > I''m trying to do something similar: run a NX server within a Xen guest. I > have > Ubuntu Gutsy as host and Ubuntu Edgy as guest, and amd64 architecture. Am > using paravirtualisation and the framebuffer within the guest. > > I get as far as a KDM error page but no futher: > "Could not start kstartupconfig. Check your installation." > > Clicking on an OK shuts down the NX screen. Do you have any suggestions? > > Thanks > > M > > > On Sunday 25 November 2007, Emre Erenoglu ("Emre Erenoglu" > <erenoglu@gmail.com>) may have written: > > If you are able to use Paravirtual DomU kernel with a Xen Framebuffer, > you > > don''t need to setup any vnc inside the domU. > > > > The framebuffer driver in DomU will serve as the source of screen > > information to the xen daemon running in dom0, this will give you vnc > > access without installing any vnc in the DomU itself. > > > > Emre > > > > On Nov 25, 2007 4:27 AM, kanour-xen <xen@kanour.com> wrote: > > > Emre Erenoglu wrote: > > > > Hi Jiri, > > > > > > > > Is your domU HVM or Paravirtual? If HVM, you will have an emulated > > > > video card and you need to configure your xorg-server to work with > this > > > > card. Next, you will need to connect it through SDL or VNC. You > choose > > > > this method in your domU configuration file (SDL=1, VNC=1). > > > > > > > > If SDL, you''ll have an immediate window when you start your DomU. > > > > > > > > If VNC, you''ll need to connect to localhost with a VNC client. The > port > > > > that you need to connect is 5900 + ID_of_DomU (you can find the ID > > > > from xm list command output, or do a netstat -a to see listening > ports > > > > 59xx) > > > > > > > > If you have a Paravirtual DomU, then, you either have a > "Framebuffer" > > > > in your DomU kernel that Xorg can start on (and then you''ll see the > > > > output again with SDL or VNC), or you can use some other method, > such > > > > as using - vnc based xorg server, > > > > - NX > > > > - using XDMCP and accessing the host Xorg > > > > > > > > Good luck! > > > > > > > > Emre > > > > - Show quoted text - > > > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > > > > <mailto:xen@kanour.com>> wrote: > > > > > > > > Hi. > > > > > > > > I am searching the web but cannot find anything. > > > > > > > > Could you please give me a hint how to access domU through VNC? > > > > > > > > I have debian stable in dom0. No X Windows. > > > > > > > > I installed debian stable to domU with help of xen-create-image. > > > > > > Then I > > > > > > > installed KDE and VNC. But I am missing something. I am missing > > > > > > whole > > > > > > > concept. > > > > > > > > Thank you. > > > > > > > > jiri > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > <mailto:Xen-users@lists.xensource.com> > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen <xen@kanour.com > > > > <mailto:xen@kanour.com>> wrote: > > > > > > > > Hi. > > > > > > > > I am searching the web but cannot find anything. > > > > > > > > Could you please give me a hint how to access domU through VNC? > > > > > > > > I have debian stable in dom0. No X Windows. > > > > > > > > I installed debian stable to domU with help of xen-create-image. > > > > > > Then I > > > > > > > installed KDE and VNC. But I am missing something. I am missing > > > > > > whole > > > > > > > concept. > > > > > > > > Thank you. > > > > > > > > jiri > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > <mailto:Xen-users@lists.xensource.com> > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > -- > > > > Emre Erenoglu > > > > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > > > > > > > > > > > > > ----------------------------------------------------------------------- > > > >- > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > Hi Emre. > > > > > > I have to do something wrong somewhere. Here is what I did. > > > > > > I use paravirtual DomU. The aim is to access is remotely through VNC > > > (for start). > > > > > > I installed xserver-xorg and I installed KDE plus kdm. > > > > > > I ran dpkg-reconfigure xserver-xorg and xorg sugested vesa driver (I > > > have Nvidia card in my HP DL145 G2 server), and I choose to use > > > framebuffer. Then I went through the other options like monitor etc. > > > (default settings). > > > > > > I restarted and : > > > als03:~# ps ax > > > PID TTY STAT TIME COMMAND > > > 1 ? Ss 0:00 init [5] > > > 2 ? S 0:00 [migration/0] > > > 3 ? SN 0:00 [ksoftirqd/0] > > > 4 ? S 0:00 [watchdog/0] > > > 5 ? S< 0:00 [events/0] > > > 6 ? S< 0:00 [khelper] > > > 7 ? S< 0:00 [kthread] > > > 8 ? S< 0:00 [xenwatch] > > > 9 ? S< 0:00 [xenbus] > > > 15 ? S< 0:00 [kblockd/0] > > > 19 ? S< 0:00 [khubd] > > > 21 ? S< 0:00 [kseriod] > > > 64 ? S 0:00 [pdflush] > > > 65 ? S 0:00 [pdflush] > > > 66 ? S< 0:00 [kswapd0] > > > 67 ? S< 0:00 [aio/0] > > > 701 ? S< 0:00 [kjournald] > > > 874 ? S<s 0:00 udevd --daemon > > > 1182 ? S< 0:00 [kmirrord] > > > 1318 ? Ss 0:00 /sbin/portmap > > > 1413 ? Ss 0:00 /sbin/syslogd > > > 1419 ? Ss 0:00 /sbin/klogd -x > > > 1435 ? Ss 0:00 /usr/bin/dbus-daemon --system > > > 1443 ? Ss 0:00 /usr/sbin/hald > > > 1444 ? S 0:00 hald-runner > > > 1462 ? Ss 0:00 /usr/sbin/dhcdbd --system > > > 1474 ? Ss 0:00 avahi-daemon: running [als03.local] > > > 1475 ? Ss 0:00 avahi-daemon: chroot helper > > > 1486 ? Ss 0:00 /usr/bin/dirmngr --daemon --sh > > > 1538 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > > > 1547 ? Ss 0:00 /usr/sbin/lisa > > > 1555 ? Ss 0:00 /usr/sbin/inetd > > > 1577 ? Ss 0:00 /usr/sbin/sshd > > > 1605 ? Ss 0:00 /usr/sbin/famd -T 0 > > > 1615 ? Ss 0:00 /usr/sbin/cron > > > 1652 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > > > 1883 ? Ss 0:00 sshd: root@pts/0 > > > 1885 pts/0 Ss 0:00 -bash > > > 2302 ? Ss 0:00 /usr/bin/kdm -config /var/run/kdm/kdmrc > > > 2331 pts/0 R+ 0:00 ps ax > > > > > > I then installed vnc4server. As normal user I executed vncpasswd (set > > > password) and vnc4server to start the session. > > > > > > But the vnc session does not come up. What I do wrong? > > > > > > Jiri > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Emre Erenoglu erenoglu@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
kanour-xen
2007-Nov-27 12:31 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
I have to say, that I am confused :-). I have got one of the feelings that I am completely stupid. Just to summarize the steps: After I installed clean DomU Do I have to install xserver-xorg on domU |yes/no| yes DO I have to configure ? xserver-xorg |yes/no| yes (vesa framebufer) Do I have to install KDE, kdm |yes/no| yes Do I have to install vnc4server |yes/no| no Do I have to add some ? line in domU config |yes/no| no Then I can run vncviewer from any workstation on the network do domU and it should work? Thanks Jiri Emre Erenoglu wrote:> Hi Mark, > > you don''t need a framebuffer to use NX. You don''t need any video > hardware at all. You just need KDM or GDM, with necessary gnome/kde > environment packages. error about kstartupconfig may mean some > configuration error with kde, no home directory etc. > > Emre > > On Nov 26, 2007 8:36 PM, Mark Furner <mark.furner@gmx.net > <mailto:mark.furner@gmx.net>> wrote: > > Hi > > I''m trying to do something similar: run a NX server within a Xen > guest. I have > Ubuntu Gutsy as host and Ubuntu Edgy as guest, and amd64 > architecture. Am > using paravirtualisation and the framebuffer within the guest. > > I get as far as a KDM error page but no futher: > "Could not start kstartupconfig. Check your installation." > > Clicking on an OK shuts down the NX screen. Do you have any suggestions? > > Thanks > > M > > > On Sunday 25 November 2007, Emre Erenoglu ("Emre Erenoglu" > <erenoglu@gmail.com <mailto:erenoglu@gmail.com>>) may have written: > > If you are able to use Paravirtual DomU kernel with a Xen > Framebuffer, you > > don''t need to setup any vnc inside the domU. > > > > The framebuffer driver in DomU will serve as the source of screen > > information to the xen daemon running in dom0, this will give you vnc > > access without installing any vnc in the DomU itself. > > > > Emre > > > > On Nov 25, 2007 4:27 AM, kanour-xen <xen@kanour.com > <mailto:xen@kanour.com>> wrote: > > > Emre Erenoglu wrote: > > > > Hi Jiri, > > > > > > > > Is your domU HVM or Paravirtual? If HVM, you will have an > emulated > > > > video card and you need to configure your xorg-server to work > with this > > > > card. Next, you will need to connect it through SDL or VNC. > You choose > > > > this method in your domU configuration file (SDL=1, VNC=1). > > > > > > > > If SDL, you''ll have an immediate window when you start your > DomU. > > > > > > > > If VNC, you''ll need to connect to localhost with a VNC > client. The port > > > > that you need to connect is 5900 + ID_of_DomU (you can find > the ID > > > > from xm list command output, or do a netstat -a to see > listening ports > > > > 59xx) > > > > > > > > If you have a Paravirtual DomU, then, you either have a > "Framebuffer" > > > > in your DomU kernel that Xorg can start on (and then you''ll > see the > > > > output again with SDL or VNC), or you can use some other > method, such > > > > as using - vnc based xorg server, > > > > - NX > > > > - using XDMCP and accessing the host Xorg > > > > > > > > Good luck! > > > > > > > > Emre > > > > - Show quoted text - > > > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > <mailto:xen@kanour.com> > > > > <mailto:xen@kanour.com <mailto:xen@kanour.com>>> wrote: > > > > > > > > Hi. > > > > > > > > I am searching the web but cannot find anything. > > > > > > > > Could you please give me a hint how to access domU > through VNC? > > > > > > > > I have debian stable in dom0. No X Windows. > > > > > > > > I installed debian stable to domU with help of > xen-create-image. > > > > > > Then I > > > > > > > installed KDE and VNC. But I am missing something. I am > missing > > > > > > whole > > > > > > > concept. > > > > > > > > Thank you. > > > > > > > > jiri > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > > > > <mailto:Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com>> > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > <mailto:xen@kanour.com> > > > > <mailto:xen@kanour.com <mailto:xen@kanour.com>>> wrote: > > > > > > > > Hi. > > > > > > > > I am searching the web but cannot find anything. > > > > > > > > Could you please give me a hint how to access domU > through VNC? > > > > > > > > I have debian stable in dom0. No X Windows. > > > > > > > > I installed debian stable to domU with help of > xen-create-image. > > > > > > Then I > > > > > > > installed KDE and VNC. But I am missing something. I am > missing > > > > > > whole > > > > > > > concept. > > > > > > > > Thank you. > > > > > > > > jiri > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > > > > <mailto:Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com>> > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > -- > > > > Emre Erenoglu > > > > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > <mailto:erenoglu@gmail.com <mailto:erenoglu@gmail.com>> > > > > > > > > > > > > > ----------------------------------------------------------------------- > > > >- > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > > > > http://lists.xensource.com/xen-users > > > > > > Hi Emre. > > > > > > I have to do something wrong somewhere. Here is what I did. > > > > > > I use paravirtual DomU. The aim is to access is remotely > through VNC > > > (for start). > > > > > > I installed xserver-xorg and I installed KDE plus kdm. > > > > > > I ran dpkg-reconfigure xserver-xorg and xorg sugested vesa > driver (I > > > have Nvidia card in my HP DL145 G2 server), and I choose to use > > > framebuffer. Then I went through the other options like monitor > etc. > > > (default settings). > > > > > > I restarted and : > > > als03:~# ps ax > > > PID TTY STAT TIME COMMAND > > > 1 ? Ss 0:00 init [5] > > > 2 ? S 0:00 [migration/0] > > > 3 ? SN 0:00 [ksoftirqd/0] > > > 4 ? S 0:00 [watchdog/0] > > > 5 ? S< 0:00 [events/0] > > > 6 ? S< 0:00 [khelper] > > > 7 ? S< 0:00 [kthread] > > > 8 ? S< 0:00 [xenwatch] > > > 9 ? S< 0:00 [xenbus] > > > 15 ? S< 0:00 [kblockd/0] > > > 19 ? S< 0:00 [khubd] > > > 21 ? S< 0:00 [kseriod] > > > 64 ? S 0:00 [pdflush] > > > 65 ? S 0:00 [pdflush] > > > 66 ? S< 0:00 [kswapd0] > > > 67 ? S< 0:00 [aio/0] > > > 701 ? S< 0:00 [kjournald] > > > 874 ? S<s 0:00 udevd --daemon > > > 1182 ? S< 0:00 [kmirrord] > > > 1318 ? Ss 0:00 /sbin/portmap > > > 1413 ? Ss 0:00 /sbin/syslogd > > > 1419 ? Ss 0:00 /sbin/klogd -x > > > 1435 ? Ss 0:00 /usr/bin/dbus-daemon --system > > > 1443 ? Ss 0:00 /usr/sbin/hald > > > 1444 ? S 0:00 hald-runner > > > 1462 ? Ss 0:00 /usr/sbin/dhcdbd --system > > > 1474 ? Ss 0:00 avahi-daemon: running [als03.local] > > > 1475 ? Ss 0:00 avahi-daemon: chroot helper > > > 1486 ? Ss 0:00 /usr/bin/dirmngr --daemon --sh > > > 1538 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > > > 1547 ? Ss 0:00 /usr/sbin/lisa > > > 1555 ? Ss 0:00 /usr/sbin/inetd > > > 1577 ? Ss 0:00 /usr/sbin/sshd > > > 1605 ? Ss 0:00 /usr/sbin/famd -T 0 > > > 1615 ? Ss 0:00 /usr/sbin/cron > > > 1652 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > > > 1883 ? Ss 0:00 sshd: root@pts/0 > > > 1885 pts/0 Ss 0:00 -bash > > > 2302 ? Ss 0:00 /usr/bin/kdm -config /var/run/kdm/kdmrc > > > 2331 pts/0 R+ 0:00 ps ax > > > > > > I then installed vnc4server. As normal user I executed > vncpasswd (set > > > password) and vnc4server to start the session. > > > > > > But the vnc session does not come up. What I do wrong? > > > > > > Jiri > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > http://lists.xensource.com/xen-users > > > > > -- > Emre Erenoglu > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
Emre Erenoglu
2007-Nov-27 12:57 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
For VNC: Method 1: - make VNC available on your domU configuration file - load framebuffer in DomU and start Xorg-server on that - you don''t need network inside DomU, as VNC port is listening on Dom0 side (and displaying the DomU framebuffer) Method 2: - install xserver-xorg with vnc framebuffer inside domU - you don''t need framebuffer driver of xen inside the domU, but yes for VNC framebuffer - you need network inside DomU and this shall be reachable from the external the network - you don''t need to enable VNC in your dom0 for NX: - you need networking for your DomU, domU shall be reachable over the network. - you need kde/kdm inside your DomU - you don''t need anything else Please ask other questions to clarify if you need, Br, Emre On Nov 27, 2007 1:31 PM, kanour-xen <xen@kanour.com> wrote:> I have to say, that I am confused :-). I have got one of the feelings > that I am completely stupid. > > Just to summarize the steps: > > After I installed clean DomU > > Do I have to install xserver-xorg on domU |yes/no| yes > DO I have to configure ? xserver-xorg |yes/no| yes > (vesa framebufer) > Do I have to install KDE, kdm |yes/no| yes > Do I have to install vnc4server |yes/no| no > Do I have to add some ? line in domU config |yes/no| no > > Then I can run vncviewer from any workstation on the network do domU and > it should work? > > Thanks Jiri > > Emre Erenoglu wrote: > > Hi Mark, > > > > you don''t need a framebuffer to use NX. You don''t need any video > > hardware at all. You just need KDM or GDM, with necessary gnome/kde > > environment packages. error about kstartupconfig may mean some > > configuration error with kde, no home directory etc. > > > > Emre > > > > On Nov 26, 2007 8:36 PM, Mark Furner <mark.furner@gmx.net > > <mailto:mark.furner@gmx.net>> wrote: > > > > Hi > > > > I''m trying to do something similar: run a NX server within a Xen > > guest. I have > > Ubuntu Gutsy as host and Ubuntu Edgy as guest, and amd64 > > architecture. Am > > using paravirtualisation and the framebuffer within the guest. > > > > I get as far as a KDM error page but no futher: > > "Could not start kstartupconfig. Check your installation." > > > > Clicking on an OK shuts down the NX screen. Do you have any > suggestions? > > > > Thanks > > > > M > > > > > > On Sunday 25 November 2007, Emre Erenoglu ("Emre Erenoglu" > > <erenoglu@gmail.com <mailto:erenoglu@gmail.com>>) may have written: > > > If you are able to use Paravirtual DomU kernel with a Xen > > Framebuffer, you > > > don''t need to setup any vnc inside the domU. > > > > > > The framebuffer driver in DomU will serve as the source of screen > > > information to the xen daemon running in dom0, this will give you > vnc > > > access without installing any vnc in the DomU itself. > > > > > > Emre > > > > > > On Nov 25, 2007 4:27 AM, kanour-xen <xen@kanour.com > > <mailto:xen@kanour.com>> wrote: > > > > Emre Erenoglu wrote: > > > > > Hi Jiri, > > > > > > > > > > Is your domU HVM or Paravirtual? If HVM, you will have an > > emulated > > > > > video card and you need to configure your xorg-server to work > > with this > > > > > card. Next, you will need to connect it through SDL or VNC. > > You choose > > > > > this method in your domU configuration file (SDL=1, VNC=1). > > > > > > > > > > If SDL, you''ll have an immediate window when you start your > > DomU. > > > > > > > > > > If VNC, you''ll need to connect to localhost with a VNC > > client. The port > > > > > that you need to connect is 5900 + ID_of_DomU (you can find > > the ID > > > > > from xm list command output, or do a netstat -a to see > > listening ports > > > > > 59xx) > > > > > > > > > > If you have a Paravirtual DomU, then, you either have a > > "Framebuffer" > > > > > in your DomU kernel that Xorg can start on (and then you''ll > > see the > > > > > output again with SDL or VNC), or you can use some other > > method, such > > > > > as using - vnc based xorg server, > > > > > - NX > > > > > - using XDMCP and accessing the host Xorg > > > > > > > > > > Good luck! > > > > > > > > > > Emre > > > > > - Show quoted text - > > > > > > > > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > > <mailto:xen@kanour.com> > > > > > <mailto:xen@kanour.com <mailto:xen@kanour.com>>> wrote: > > > > > > > > > > Hi. > > > > > > > > > > I am searching the web but cannot find anything. > > > > > > > > > > Could you please give me a hint how to access domU > > through VNC? > > > > > > > > > > I have debian stable in dom0. No X Windows. > > > > > > > > > > I installed debian stable to domU with help of > > xen-create-image. > > > > > > > > Then I > > > > > > > > > installed KDE and VNC. But I am missing something. I am > > missing > > > > > > > > whole > > > > > > > > > concept. > > > > > > > > > > Thank you. > > > > > > > > > > jiri > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > <mailto:Xen-users@lists.xensource.com> > > > > > <mailto:Xen-users@lists.xensource.com > > <mailto:Xen-users@lists.xensource.com>> > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > > <mailto:xen@kanour.com> > > > > > <mailto:xen@kanour.com <mailto:xen@kanour.com>>> wrote: > > > > > > > > > > Hi. > > > > > > > > > > I am searching the web but cannot find anything. > > > > > > > > > > Could you please give me a hint how to access domU > > through VNC? > > > > > > > > > > I have debian stable in dom0. No X Windows. > > > > > > > > > > I installed debian stable to domU with help of > > xen-create-image. > > > > > > > > Then I > > > > > > > > > installed KDE and VNC. But I am missing something. I am > > missing > > > > > > > > whole > > > > > > > > > concept. > > > > > > > > > > Thank you. > > > > > > > > > > jiri > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > <mailto:Xen-users@lists.xensource.com> > > > > > <mailto:Xen-users@lists.xensource.com > > <mailto:Xen-users@lists.xensource.com>> > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Emre Erenoglu > > > > > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > > <mailto:erenoglu@gmail.com <mailto:erenoglu@gmail.com>> > > > > > > > > > > > > > > > > > > ----------------------------------------------------------------------- > > > > >- > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > <mailto:Xen-users@lists.xensource.com> > > > > > http://lists.xensource.com/xen-users > > > > > > > > Hi Emre. > > > > > > > > I have to do something wrong somewhere. Here is what I did. > > > > > > > > I use paravirtual DomU. The aim is to access is remotely > > through VNC > > > > (for start). > > > > > > > > I installed xserver-xorg and I installed KDE plus kdm. > > > > > > > > I ran dpkg-reconfigure xserver-xorg and xorg sugested vesa > > driver (I > > > > have Nvidia card in my HP DL145 G2 server), and I choose to use > > > > framebuffer. Then I went through the other options like monitor > > etc. > > > > (default settings). > > > > > > > > I restarted and : > > > > als03:~# ps ax > > > > PID TTY STAT TIME COMMAND > > > > 1 ? Ss 0:00 init [5] > > > > 2 ? S 0:00 [migration/0] > > > > 3 ? SN 0:00 [ksoftirqd/0] > > > > 4 ? S 0:00 [watchdog/0] > > > > 5 ? S< 0:00 [events/0] > > > > 6 ? S< 0:00 [khelper] > > > > 7 ? S< 0:00 [kthread] > > > > 8 ? S< 0:00 [xenwatch] > > > > 9 ? S< 0:00 [xenbus] > > > > 15 ? S< 0:00 [kblockd/0] > > > > 19 ? S< 0:00 [khubd] > > > > 21 ? S< 0:00 [kseriod] > > > > 64 ? S 0:00 [pdflush] > > > > 65 ? S 0:00 [pdflush] > > > > 66 ? S< 0:00 [kswapd0] > > > > 67 ? S< 0:00 [aio/0] > > > > 701 ? S< 0:00 [kjournald] > > > > 874 ? S<s 0:00 udevd --daemon > > > > 1182 ? S< 0:00 [kmirrord] > > > > 1318 ? Ss 0:00 /sbin/portmap > > > > 1413 ? Ss 0:00 /sbin/syslogd > > > > 1419 ? Ss 0:00 /sbin/klogd -x > > > > 1435 ? Ss 0:00 /usr/bin/dbus-daemon --system > > > > 1443 ? Ss 0:00 /usr/sbin/hald > > > > 1444 ? S 0:00 hald-runner > > > > 1462 ? Ss 0:00 /usr/sbin/dhcdbd --system > > > > 1474 ? Ss 0:00 avahi-daemon: running [als03.local] > > > > 1475 ? Ss 0:00 avahi-daemon: chroot helper > > > > 1486 ? Ss 0:00 /usr/bin/dirmngr --daemon --sh > > > > 1538 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > > > > 1547 ? Ss 0:00 /usr/sbin/lisa > > > > 1555 ? Ss 0:00 /usr/sbin/inetd > > > > 1577 ? Ss 0:00 /usr/sbin/sshd > > > > 1605 ? Ss 0:00 /usr/sbin/famd -T 0 > > > > 1615 ? Ss 0:00 /usr/sbin/cron > > > > 1652 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > > > > 1883 ? Ss 0:00 sshd: root@pts/0 > > > > 1885 pts/0 Ss 0:00 -bash > > > > 2302 ? Ss 0:00 /usr/bin/kdm -config > /var/run/kdm/kdmrc > > > > 2331 pts/0 R+ 0:00 ps ax > > > > > > > > I then installed vnc4server. As normal user I executed > > vncpasswd (set > > > > password) and vnc4server to start the session. > > > > > > > > But the vnc session does not come up. What I do wrong? > > > > > > > > Jiri > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > > > > > > > > -- > > Emre Erenoglu > > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > >-- Emre Erenoglu erenoglu@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jens Seidel
2007-Nov-27 13:12 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
Hi kanour-xen, please choose a proper name and avoid top posting! On Tue, Nov 27, 2007 at 12:31:36PM +0000, kanour-xen wrote:> I have to say, that I am confused :-). I have got one of the feelings > that I am completely stupid. > > Just to summarize the steps: > > After I installed clean DomU > > Do I have to install xserver-xorg on domU |yes/no| yes > DO I have to configure ? xserver-xorg |yes/no| yes > (vesa framebufer)You need to install some xorg stuff. Not sure wether you need xserver-xorg. I doubt it.> Do I have to install KDE, kdm |yes/no| yes > Do I have to install vnc4server |yes/no| no > Do I have to add some ? line in domU config |yes/no| no > > Then I can run vncviewer from any workstation on the network do domU and > it should work?You don''t need vncviewer! Why do you not just login into your domU and start kicker (the KDE panel) ssh -n -X 10.0.1.1 kicker & You may also start gdmflexiserver which gives you a root window in normal window. This assumes that you want to connect from a X11 system or have at least a local X11 server installed (on the system where you want to see the window, not your domU). It is also possible to redirect all graphical stuff to a separate virtual console. X -query 10.0.1.1 or something similar should work (but it is not encrypted).> Emre Erenoglu wrote: > >Hi Mark, > > > >you don''t need a framebuffer to use NX. You don''t need any video > >hardware at all. You just need KDM or GDM, with necessary gnome/kde > >environment packages. error about kstartupconfig may mean some > >configuration error with kde, no home directory etc.Jens _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emre Erenoglu wrote:> For VNC: > Method 1: > - make VNC available on your domU configuration file > - load framebuffer in DomU and start Xorg-server on that > - you don''t need network inside DomU, as VNC port is listening on Dom0 > side (and displaying the DomU framebuffer) > > Method 2: > - install xserver-xorg with vnc framebuffer inside domU > - you don''t need framebuffer driver of xen inside the domU, but yes for > VNC framebuffer > - you need network inside DomU and this shall be reachable from the > external the network > - you don''t need to enable VNC in your dom0 > > for NX: > - you need networking for your DomU, domU shall be reachable over the > network. > - you need kde/kdm inside your DomU > - you don''t need anything else > > Please ask other questions to clarify if you need, > > Br, > > Emre > > On Nov 27, 2007 1:31 PM, kanour-xen <xen@kanour.com > <mailto:xen@kanour.com>> wrote: > > I have to say, that I am confused :-). I have got one of the feelings > that I am completely stupid. > > Just to summarize the steps: > > After I installed clean DomU > > Do I have to install xserver-xorg on domU |yes/no| yes > DO I have to configure ? xserver-xorg |yes/no| yes > (vesa framebufer) > Do I have to install KDE, kdm |yes/no| yes > Do I have to install vnc4server |yes/no| no > Do I have to add some ? line in domU config |yes/no| no > > Then I can run vncviewer from any workstation on the network do domU and > it should work? > > Thanks Jiri > > Emre Erenoglu wrote: > > Hi Mark, > > > > you don''t need a framebuffer to use NX. You don''t need any video > > hardware at all. You just need KDM or GDM, with necessary gnome/kde > > environment packages. error about kstartupconfig may mean some > > configuration error with kde, no home directory etc. > > > > Emre > > > > On Nov 26, 2007 8:36 PM, Mark Furner <mark.furner@gmx.net > <mailto:mark.furner@gmx.net> > > <mailto:mark.furner@gmx.net <mailto:mark.furner@gmx.net>>> wrote: > > > > Hi > > > > I''m trying to do something similar: run a NX server within a Xen > > guest. I have > > Ubuntu Gutsy as host and Ubuntu Edgy as guest, and amd64 > > architecture. Am > > using paravirtualisation and the framebuffer within the guest. > > > > I get as far as a KDM error page but no futher: > > "Could not start kstartupconfig. Check your installation." > > > > Clicking on an OK shuts down the NX screen. Do you have any > suggestions? > > > > Thanks > > > > M > > > > > > On Sunday 25 November 2007, Emre Erenoglu ("Emre Erenoglu" > > <erenoglu@gmail.com <mailto:erenoglu@gmail.com> <mailto: > erenoglu@gmail.com <mailto:erenoglu@gmail.com>>>) may have written: > > > If you are able to use Paravirtual DomU kernel with a Xen > > Framebuffer, you > > > don''t need to setup any vnc inside the domU. > > > > > > The framebuffer driver in DomU will serve as the source of > screen > > > information to the xen daemon running in dom0, this will > give you vnc > > > access without installing any vnc in the DomU itself. > > > > > > Emre > > > > > > On Nov 25, 2007 4:27 AM, kanour-xen <xen@kanour.com > <mailto:xen@kanour.com> > > <mailto: xen@kanour.com <mailto:xen@kanour.com>>> wrote: > > > > Emre Erenoglu wrote: > > > > > Hi Jiri, > > > > > > > > > > Is your domU HVM or Paravirtual? If HVM, you will have an > > emulated > > > > > video card and you need to configure your xorg-server > to work > > with this > > > > > card. Next, you will need to connect it through SDL or > VNC. > > You choose > > > > > this method in your domU configuration file (SDL=1, > VNC=1). > > > > > > > > > > If SDL, you''ll have an immediate window when you start > your > > DomU. > > > > > > > > > > If VNC, you''ll need to connect to localhost with a VNC > > client. The port > > > > > that you need to connect is 5900 + ID_of_DomU (you > can find > > the ID > > > > > from xm list command output, or do a netstat -a to see > > listening ports > > > > > 59xx) > > > > > > > > > > If you have a Paravirtual DomU, then, you either have a > > "Framebuffer" > > > > > in your DomU kernel that Xorg can start on (and then > you''ll > > see the > > > > > output again with SDL or VNC), or you can use some other > > method, such > > > > > as using - vnc based xorg server, > > > > > - NX > > > > > - using XDMCP and accessing the host Xorg > > > > > > > > > > Good luck! > > > > > > > > > > Emre > > > > > - Show quoted text - > > > > > > > > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > <mailto:xen@kanour.com> > > <mailto:xen@kanour.com <mailto:xen@kanour.com> > > > > > > <mailto:xen@kanour.com <mailto:xen@kanour.com> > <mailto:xen@kanour.com <mailto:xen@kanour.com>>>> wrote: > > > > > > > > > > Hi. > > > > > > > > > > I am searching the web but cannot find anything. > > > > > > > > > > Could you please give me a hint how to access domU > > through VNC? > > > > > > > > > > I have debian stable in dom0. No X Windows. > > > > > > > > > > I installed debian stable to domU with help of > > xen-create-image. > > > > > > > > Then I > > > > > > > > > installed KDE and VNC. But I am missing something. > I am > > missing > > > > > > > > whole > > > > > > > > > concept. > > > > > > > > > > Thank you. > > > > > > > > > > jiri > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > > <mailto:Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com>> > > > > > <mailto: Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > > <mailto:Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com>>> > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Nov 24, 2007 3:49 PM, kanour-xen < xen@kanour.com > <mailto:xen@kanour.com> > > <mailto:xen@kanour.com <mailto:xen@kanour.com>> > > > > > <mailto: xen@kanour.com <mailto:xen@kanour.com> > <mailto:xen@kanour.com <mailto:xen@kanour.com>>>> wrote: > > > > > > > > > > Hi. > > > > > > > > > > I am searching the web but cannot find anything. > > > > > > > > > > Could you please give me a hint how to access domU > > through VNC? > > > > > > > > > > I have debian stable in dom0. No X Windows. > > > > > > > > > > I installed debian stable to domU with help of > > xen-create-image. > > > > > > > > Then I > > > > > > > > > installed KDE and VNC. But I am missing something. > I am > > missing > > > > > > > > whole > > > > > > > > > concept. > > > > > > > > > > Thank you. > > > > > > > > > > jiri > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > > <mailto:Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com>> > > > > > <mailto: Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > > <mailto:Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com>>> > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Emre Erenoglu > > > > > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > <mailto:erenoglu@gmail.com <mailto:erenoglu@gmail.com>> > > <mailto:erenoglu@gmail.com <mailto:erenoglu@gmail.com> > <mailto:erenoglu@gmail.com <mailto:erenoglu@gmail.com>>> > > > > > > > > > > > > > > > > > > ----------------------------------------------------------------------- > > > > >- > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > > <mailto: Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com>> > > > > > http://lists.xensource.com/xen-users > > > > > > > > Hi Emre. > > > > > > > > I have to do something wrong somewhere. Here is what I did. > > > > > > > > I use paravirtual DomU. The aim is to access is remotely > > through VNC > > > > (for start). > > > > > > > > I installed xserver-xorg and I installed KDE plus kdm. > > > > > > > > I ran dpkg-reconfigure xserver-xorg and xorg sugested vesa > > driver (I > > > > have Nvidia card in my HP DL145 G2 server), and I choose > to use > > > > framebuffer. Then I went through the other options like > monitor > > etc. > > > > (default settings). > > > > > > > > I restarted and : > > > > als03:~# ps ax > > > > PID TTY STAT TIME COMMAND > > > > 1 ? Ss 0:00 init [5] > > > > 2 ? S 0:00 [migration/0] > > > > 3 ? SN 0:00 [ksoftirqd/0] > > > > 4 ? S 0:00 [watchdog/0] > > > > 5 ? S< 0:00 [events/0] > > > > 6 ? S< 0:00 [khelper] > > > > 7 ? S< 0:00 [kthread] > > > > 8 ? S< 0:00 [xenwatch] > > > > 9 ? S< 0:00 [xenbus] > > > > 15 ? S< 0:00 [kblockd/0] > > > > 19 ? S< 0:00 [khubd] > > > > 21 ? S< 0:00 [kseriod] > > > > 64 ? S 0:00 [pdflush] > > > > 65 ? S 0:00 [pdflush] > > > > 66 ? S< 0:00 [kswapd0] > > > > 67 ? S< 0:00 [aio/0] > > > > 701 ? S< 0:00 [kjournald] > > > > 874 ? S<s 0:00 udevd --daemon > > > > 1182 ? S< 0:00 [kmirrord] > > > > 1318 ? Ss 0:00 /sbin/portmap > > > > 1413 ? Ss 0:00 /sbin/syslogd > > > > 1419 ? Ss 0:00 /sbin/klogd -x > > > > 1435 ? Ss 0:00 /usr/bin/dbus-daemon --system > > > > 1443 ? Ss 0:00 /usr/sbin/hald > > > > 1444 ? S 0:00 hald-runner > > > > 1462 ? Ss 0:00 /usr/sbin/dhcdbd --system > > > > 1474 ? Ss 0:00 avahi-daemon: running > [als03.local] > > > > 1475 ? Ss 0:00 avahi-daemon: chroot helper > > > > 1486 ? Ss 0:00 /usr/bin/dirmngr --daemon --sh > > > > 1538 ? Ss 0:00 /usr/sbin/exim4 -bd -q30m > > > > 1547 ? Ss 0:00 /usr/sbin/lisa > > > > 1555 ? Ss 0:00 /usr/sbin/inetd > > > > 1577 ? Ss 0:00 /usr/sbin/sshd > > > > 1605 ? Ss 0:00 /usr/sbin/famd -T 0 > > > > 1615 ? Ss 0:00 /usr/sbin/cron > > > > 1652 tty1 Ss+ 0:00 /sbin/getty 38400 tty1 > > > > 1883 ? Ss 0:00 sshd: root@pts/0 > > > > 1885 pts/0 Ss 0:00 -bash > > > > 2302 ? Ss 0:00 /usr/bin/kdm -config > /var/run/kdm/kdmrc > > > > 2331 pts/0 R+ 0:00 ps ax > > > > > > > > I then installed vnc4server. As normal user I executed > > vncpasswd (set > > > > password) and vnc4server to start the session. > > > > > > > > But the vnc session does not come up. What I do wrong? > > > > > > > > Jiri > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com> > <mailto:Xen-users@lists.xensource.com > <mailto:Xen-users@lists.xensource.com>> > > http://lists.xensource.com/xen-users > > > > > > > > > > -- > > Emre Erenoglu > > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > <mailto:erenoglu@gmail.com <mailto:erenoglu@gmail.com>> > > > > > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > > > -- > Emre Erenoglu > erenoglu@gmail.com <mailto:erenoglu@gmail.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersDear Emre. Thank you for your help so far. I did not get anywhere since your last post. What I want is to access domU directly. I don''t dont want to use dom0 as you sugested as Method number 1 (one). Method 2 does not sound good neither. I could not find out how to do that. Method 3, I would like to avoid NX server as VNC client is always available everywhere. NX client not. What would like to have is simple running vnc-server in domU. Is there anywhere any documentation how to do this in xen domU. I just cannot believe that it is so hard to do this. If I cannot get into it remotely there is no reason to run XEN virtual machines. Whatever I try I just cannot make it work. I cannot even start xserver. I believe that is probably the problem? als03:~# startx xauth: creating new authority file /root/.serverauth.1688 X: warning; process set to priority -1 instead of requested priority 0 X Window System Version 7.1.1 Release Date: 12 May 2006 X Protocol Version 11, Revision 0, Release 7.1.1 Build Operating System: UNKNOWN Current Operating System: Linux als03 2.6.18-5-xen-amd64 #1 SMP Tue Oct 2 21:48:12 UTC 2007 x86_64 Build Date: 04 September 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 1 07:31:52 2007 (==) Using config file: "/etc/X11/xorg.conf" Fatal server error: xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. Is here anyone who is accessing domU through VNC, but not from dom0? Jiri _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emre Erenoglu
2007-Dec-02 00:36 UTC
Re: [Xen-users] How to make KDE or Gnome available in DomU?
Hi Jiri, comments below:> Dear Emre. > Thank you for your help so far. I did not get anywhere since your last > post. > > What I want is to access domU directly. I don''t dont want to use dom0 as > you sugested as Method number 1 (one). >All methods I mentioned give you access to DomU dirctly. In method 1, even if you connect to associated IP address and port # of Dom0, you will get DomU GUI.> > Method 2 does not sound good neither. I could not find out how to do that.you need to search in google for xvnc keyword , for example for ubuntu: https://help.ubuntu.com/community/VNC . Keywords are vnc, xvnc, x11vnc. All of them differ in their function and method. vnc is generic name, xvnc is a framebuffer that a second X server can run on, and x11vnc attaches to your running X to display it over the network.> > > Method 3, I would like to avoid NX server as VNC client is always > available everywhere. NX client not.You can download NX client everywhere from www.nomachine.com, I''m sure there''s a portable version for your USB key. VNC will be terribly slow over internet, only good in LAN.> > > What would like to have is simple running vnc-server in domU. Is there > anywhere any documentation how to do this in xen domU. I just cannot > believe that it is so hard to do this. If I cannot get into it remotely > there is no reason to run XEN virtual machines.I think it''s better to start doing it without any XEN involvement. After you understand the concepts and how to do it in several methods, you can apply the same in XEN setup.> > Whatever I try I just cannot make it work. I cannot even start xserver. > I believe that is probably the problem?Are you using Xen 3.1.0 or later? is the framebuffer loaded? do you have /dev/fb0 device? did you configure your xorg.conf to use the framebuffer?> > als03:~# startx > xauth: creating new authority file /root/.serverauth.1688 > > X: warning; process set to priority -1 instead of requested priority 0 > > X Window System Version 7.1.1 > Release Date: 12 May 2006 > X Protocol Version 11, Revision 0, Release 7.1.1 > Build Operating System: UNKNOWN > Current Operating System: Linux als03 2.6.18-5-xen-amd64 #1 SMP Tue Oct > 2 21:48:12 UTC 2007 x86_64 > Build Date: 04 September 2007 > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > Module Loader present > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 1 07:31:52 2007 > (==) Using config file: "/etc/X11/xorg.conf" > > Fatal server error: > xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) > > XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" > after 0 requests (0 known processed) with 0 events remaining. > > > Is here anyone who is accessing domU through VNC, but not from dom0? > > Jiri >did you search for this error message in XEN lists or in google? Some documentation that I''ve found in my searches: http://gentoo-wiki.com/Talk:HOWTO_Xen_and_Gentoo http://lists.xensource.com/archives/html/xen-users/2005-06/msg00612.html (this one looks old, there''s now framebuffer console support in DomU to get X working). Br, Emre -- Emre Erenoglu erenoglu@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users