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/
Home Products Support Community News


Re: [Xen-users] Vnc unable to open Display on xen CentOS

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Vnc unable to open Display on xen CentOS
From: Tapas Mishra <tapas@xxxxxxxxxxxx>
Date: Thu, 24 Dec 2009 22:05:33 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Dec 2009 08:36:13 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d3020560912230138j682cc811w1f665719bf3908fc@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <d3020560912220032v5380877ak9d00c6e48b6ec8ae@xxxxxxxxxxxxxx> <d3020560912220133m684ba48fnf931a17a9c267c5c@xxxxxxxxxxxxxx> <7207d96f0912221729g305e3353m43e983d6877c2f5d@xxxxxxxxxxxxxx> <d3020560912221914g5898987dodd9bb204237e662c@xxxxxxxxxxxxxx> <7207d96f0912221937j2929b37flf25310f1fd38eec7@xxxxxxxxxxxxxx> <d3020560912230001x722c2b42r9cb21a88d13d7b7b@xxxxxxxxxxxxxx> <7207d96f0912230119r6b8db7dcha4ce744ca1fbdbb@xxxxxxxxxxxxxx> <d3020560912230123n36d0bdedqfc491d862faef1bf@xxxxxxxxxxxxxx> <7207d96f0912230134p53e9a5ddg42e503dd6d18b18d@xxxxxxxxxxxxxx> <d3020560912230138j682cc811w1f665719bf3908fc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Finally its working I have been able to transfer display over ssh Fajar thanks for all the time you spent
the problem was on Ubuntu machine as root DISPLAY variable is not set
then in xstartup file for vnc user exec gnome-session has to be mentioned which I forgot
I did yum groupinstall "X Window System" "GNOME Desktop Environment"
as it was not present on the remote Xen machine
ubuntu does not allow root to use GUI so I was not able to do it again and again DISPLAY was not set in this case for root
but for user it works fine
there were a lot of errors like this one

when vnc session crashed

Thu Dec 24 16:43:35 2009
 CConn:       connected to host localhost port 5901
 CConnection: Server supports RFB protocol version 3.8
 CConnection: Using RFB protocol version 3.8

Thu Dec 24 16:43:48 2009
 TXImage:     Using default colormap and visual, TrueColor, depth 24.
 CConn:       Using pixel format depth 6 (8bpp) rgb222
 CConn:       Using ZRLE encoding
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (MIT-SHM)
  Minor opcode of failed request:  3 (X_ShmPutImage)
  Value in failed request:  0x400
  Serial number of failed request:  523
  Current serial number in output stream:  716
Xen-users mailing list