Skip to contentSkip to conversation

starting X server from xenU

DISCUSSION sai srinivas dharanikota 3 participants 3 messages Nov 5, 2004 – Nov 6, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I am new to xen.I have created domain0 and a new domain(domain1).I have few questions regarding the networking stuff in xen.

1)How can I start Xserver from xenU(from domain1) 2)I am trying to ssh domain1 from domain0 and vice versa but getting the message
"Destination Host Unreachable"

Can any body give pointers to my questions.

Thanking you,
Sai

=====
Sai Srinivas Dharanikota
Master of Science INFOTECH
University of Stuttgart
Germany

Home:+49 711 9963590
Mobile:+49 179 9090669

__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

#1 lore raw
Quoted 7 lines

Hello,

I am new to xen.I have created domain0 and a new domain(domain1).I have few questions regarding the networking stuff in xen.

1)How can I start Xserver from xenU(from domain1)

The easiest thing to do is to start the Xvnc server and then connect in using vnc over the virtual network.

Alternatively, you could log in via ssh (with X forwarding) and start an Xnest server.

Quoted 3 lines

2)I am trying to ssh domain1 from domain0 and vice versa but getting the message
"Destination Host Unreachable"

In domain 0 you should be able to do an 'ifconfig' and see a 'vif1.0' virtual network backend interface.

Check that the bridge stuff is setup OK by doing a 'brctl show xen-br0'

Next, bring up the console of the other domain e.g. 'xm console domain1' login, and use ifconfig to check you've got the IP address and routing setup OK.

Ian

[note to self: put-in-faq]

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

#2 lore raw
Quoted 5 lines

The easiest thing to do is to start the Xvnc server and then connect in using vnc over the virtual network.

Alternatively, you could log in via ssh (with X forwarding) and start an Xnest server.

As Ian says, the best solution is to choose your favourite network display protocol and run the server for that. The screenshots on the Xen homepage were prepared by configuring the unpriv domains to run VNC X server and then connecting using the KDE VNC client running in domain 0. You can also use straight X forwarding, like you would to connect to another *nix box.

You might also want to check out FreeNX and / or commercial NoMachine X (FreeNX is currently still in an early state of development) since this also handles printing and sound elegantly and has excellent performance.

There is one brave soul trying to get a virtual machine to directly control his second graphics card, which will be pretty cool once it's working (i.e. have two monitors and keyboards attached to the same machine, controlled by different VMs).

HTH,
Mark

Quoted 18 lines
Quoted 3 lines

2)I am trying to ssh domain1 from domain0 and vice versa but getting the message
"Destination Host Unreachable"

In domain 0 you should be able to do an 'ifconfig' and see a 'vif1.0' virtual network backend interface.

Check that the bridge stuff is setup OK by doing a 'brctl show xen-br0'

Next, bring up the console of the other domain e.g. 'xm console domain1' login, and use ifconfig to check you've got the IP address and routing setup OK.

Ian

[note to self: put-in-faq]

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click