[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] How to make KDE or Gnome available in DomU?


  • To: kanour-xen <xen@xxxxxxxxxx>
  • From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
  • Date: Sun, 25 Nov 2007 18:37:26 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 25 Nov 2007 09:38:20 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Wxa90xQoZfpEaUpOTwUAkhWMqTF5+/Tp7YfcHWdNhJxm8y2BElmszjYBnoHRjd+FfohD5Z1VSz3eBHN25BX8KQe/vOUXtKQPvAo0YQOYKPUEfl/JknleL+OpZudDl+RMmGhvGRZhkbvSYEw30+nwXkAOZhpwdsuYFkwV5NA9HIw=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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@xxxxxxxxxx> 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@xxxxxxxxxx
> <mailto:xen@xxxxxxxxxx>> 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@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx >
>     http://lists.xensource.com/xen-users
>
>
>
>
>
> On Nov 24, 2007 3:49 PM, kanour-xen < xen@xxxxxxxxxx
> <mailto:xen@xxxxxxxxxx>> 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@xxxxxxxxxxxxxxxxxxx <mailto:Xen-users@xxxxxxxxxxxxxxxxxxx >
>     http://lists.xensource.com/xen-users
>
>
>
>
> --
> Emre Erenoglu
> erenoglu@xxxxxxxxx <mailto:erenoglu@xxxxxxxxx>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxx
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.