Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-14-2009, 07:23 AM   #1
Registered: Mar 2009
Posts: 39

Rep: Reputation: 15
Not able to get GUI of xen guest os by using vncserver

hi all,
i have install ubuntu-xen-server by copy method like this:-

-- dd if=/dev/zero of=XenGuest1.img bs=1024k seek=6144 count=0
-- mkfs -t ext3 XenGuest1.img
--- dd if=/dev/zero of=XenGuest1.swap bs=1024k seek=1024 count=0
-- mkswap XenGuest1.swap
---mkdir /mnt/loop
--- mount -o loop XenGuest1.img /mnt/loop
--- cp -ax /{bin,dev,etc,lib,root,sbin,usr,var} /tmp/loop
--- mkdir /tmp/loop/{home,proc,opt,sys,tmp}
--- chmod 777 /tmp/loop/tmp

my XenGuest1.cfg is look like this:-

kernel = "/boot/vmlinuz-2.6.18-53.1.14.el5xen"
ramdisk = "/boot/initrd-2.6.18-53.1.14.el5xen.img"
memory = 512
name = "XenGuest1"
vif = [ '' ]
dhcp = "dhcp"
disk = ['tap:aio:/xen/XenGuest1.img,xvda1,w', 'tap:aio:/xen/XenGuest1.swap,xvda2,w']
root = "/dev/xvda1 ro"

and finally i got test console of guest os by this command:-
---- xm create XenGuest1.cfg -c
now i want graphical desktop for guest , what i should do?plz help me....
my os is ubuntu 8.04

thank you.....
Old 05-15-2009, 12:10 AM   #2
Registered: Jan 2009
Location: Mumbai, India
Distribution: Fedora 9, 10,11, RHEL 5
Posts: 67

Rep: Reputation: 18

Check the ip of the virtual host.

start a vncserver from the console.

unblock the firewall port 5900,5901.

connect using vncviewer.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Xen: How to Convert An Image-Based Guest To An LVM-Based Guest LXer Syndicated Linux News 0 04-19-2009 05:00 PM
why can't I install a xen guest? extendedping Linux - Software 1 02-08-2007 06:08 PM
why can't I install a xen guest? extendedping Linux - Software 1 02-08-2007 08:11 AM
Can I use Gnome under Xen Guest OS? SquishyMarbles Linux - Software 1 09-07-2006 09:50 PM
How to run RHEL 4 as guest in Xen(SLES 10 XEN) darshanbv Linux - Software 1 06-26-2006 12:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration