WARNING - OLD ARCHIVES

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

xen-users

Re: [Xen-users] Why using X11 on local machine

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Why using X11 on local machine
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 29 Aug 2005 00:55:47 +0100
Cc: Torsten Lehmann <tlehmann@xxxxxxxxxxxxx>
Delivery-date: Sun, 28 Aug 2005 23:56:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.53.0508281008180.19332@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.LNX.4.53.0508281008180.19332@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> - if on dom1 exec startx the following error message was printed:
>
>    dom1:~# startx
>    ...
>    Fatal server error:
>    xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)

Your options are:
1) run "vncserver" in the guest
2) SSH to the guest and use X11 forwarding to get graphical access, just as 
you would for a separate machine
3) Run the FreeNX server in the guest and connect using the NoMachine NX 
client from outside

> - if on host exec svncviewer the following error message was printed:
>
>    dom0:~# strace svncviewer 192.168.1.12:1
>    ...
>    open("/proc/bus/pci/15/1f.0", O_RDONLY) = -1 ENOENT (No such file or
> direc tory)
>    read(-1, 0xbffffa00, 12)                = -1 EBADF (Bad file descriptor)
>    close(-1)                               = -1 EBADF (Bad file descriptor)
>    iopl(0)                                 = 0
>    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>    +++ killed by SIGSEGV +++

I imagine that failed due to Xen's PCI interface forbidding SVGAlib from doing 
something - has anyone actually tried SVGAlib under Xen?

> - which possibilities to use X11 on the local system?

Easiest would be to install X11 in dom0, then use one of the network-based 
solutions I mentioned in order to get access to the other domains.

HTH,
Mark

PS. Thanks for the picture!

>     system
>    ------------------------------------------------------------------
>
>    |   host/dom0                 dom1                    dom2       |
>    |----------------        ----------------        ----------------|
>    |
>    ||  xen0        |        |  XenU        |        |  XenU        ||
>    ||small-install |        |big-install   |        |big-install   ||
>    || - X11        |        | + X11        |        | + X11        ||
>    || + ntp        |        | - ntp        |        | - ntp        ||
>    |
>    |----------------        ----------------        ----------------|
>    | 192.168.1.10             192.168.1.11            192.168.1.12  |
>
>    ------------------------------------------------------------------
>
> regards tl
>
> --
> Torsten lehmann
> Launic
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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

<Prev in Thread] Current Thread [Next in Thread>