From: shah k. <sha...@gm...> - 2009-02-24 14:12:59
|
hi all, i use kernel 2.6.24 and root filesystem Ubuntu Festy Fawn, Hardy Heron (i get from website nagafix.co.uk) I want to work on UML with GUI (Graphical User Interface), can i do that?? thanks all. |
From: Flavio <fbc...@gm...> - 2009-02-24 15:21:03
|
2009/2/24 shah khadafi <sha...@gm...> > > hi all, > > i use kernel 2.6.24 and root filesystem Ubuntu Festy Fawn, Hardy Heron (i get from website nagafix.co.uk) > I want to work on UML with GUI (Graphical User Interface), can i do that?? Hi, of course yes. There are instructions at http://user-mode-linux.sourceforge.net/old/xtut.html You may use either Xnest -ac:1 or X -ac:1 to have an X server listening for your KDE/Gnome or some else graphical session. Once your X display has been activated (try to do Xnest -ac:1), once your UML instance is running, make sure such a window manager is installed. Then, export DISPLAY="x.x.x.x:1" where x.x.x.x is your host IP. You also have to enable networking in your UML instance too using tuntap. Finally you may start (for example) KDE simply running startkde on your UML. Best Regards, Flavio Bertini |
From: Flavio <fbc...@gm...> - 2009-03-17 13:56:03
|
2009/3/17 shah khadafi <sha...@gm...> > > hi Mr.Flavio Hi Mr. shah khadafi, Always remember to reply to the list please. > > i was tried about your suggest like this > > root@~#export DISPLAY 192.168.250.200:1 > > root@~#X ac:1 > X: cannot stat /etc/X11 (no such file or directory), aborting. It's likely you are trying to start it from inside the UML guest system. Isn't it? But let's go read below... > > and > > root@~#Xnest -ac:1 > Unrecognized option: -ac:1 > use: X [:<display>] [option] > ... > ... > Fatal server error: > Unrecognized option: -ac:1 > > whereas I was installing x-apps and x-common on my UML (kernel 2.6.24 & Ubuntu Festy Fawn).. > are there option that i have missing ? Let's go back to the beginning and start again doing all things step by step. Now, start UML and once you're inside it type the following: (UML# means you are in the uml guest machine shell; HOST#, means you're in the host (physical) machine) 1) UML# export DISPLAY 192.168.250.200:1 That's not correct, you have to write UML# export DISPLAY="192.168.250.200:1" 2) HOST# Xnest -ac :1 <---- that's a unique command line. "-ac" is an option! Xnest is the executable. And :1 is another one. Check the command line spelling. So, check there's a space between "-ac" and ":1". (You may use X instead of Xnest - X will open a new graphical session you may access throug CTRL+ALT+F2, but it should automatically appear) Both X and Xnest belongs to the xorg-server package which is installed on your HOST system for sure. You don't need the xorg-sever inside UML. These are the full path: /usr/bin/Xnest /usr/bin/X 3) UML# startkde I guess you have kde or another windows manager installed on your UML guest system (it doesn't require the xorg-server to be installed in your UML guest system, since you are using the host xorg-server). 4) enjoy! > > thanks. You're welcome. Feel free to ask more questions. Flavio |