Hi Vincent,

clownix wrote:
> I still don't get the reason behind the question, I am just curious, 
> you must have a good reason and the way I use uml, I never need more
> than graphical applications.
There could be lots of reasons, obviously I can only speak for myself
(not sure what the original poster's intent was) and top of my list
would be security: running UML in graphical framebuffer that only
interacts with the local X server at the pixel level will be infinitely
more secure.
Another important one is that the X server would not be aware of the
fact that it is running virtualized, whereas using ssh/Xvnc/etc does
require explicit user setup, which is not ideal for testing unmodified
generic setups.
I really do think this would be a great feature to add to UML. I would
have thought that adding a simple memory backed framebuffer should be
easy enough.. (from memory, there was more to it than that though..)

> nagafix is a place where there are uml linux and rootfs, I also make
> machines, but I make my kvms with a boot sector and grub in it, how can
> you mix your rootfs so that you can do both uml and kvm?
KVM can handle raw disks just like UML. What is the difficulty you are
encountering?

Antoine

> Vincent
> 
> 
> 
>  
> 
> Le lundi 28 décembre 2009 à 23:43 +0700, Antoine Martin a écrit :
>> clownix wrote:
>>> I do not understand the need here, any application such as wireshark,
>>> firefox ... can be run graphically with ony a ssh and xforwarding, why
>>> exactly would we need a link to the real hardware?
>> Err, the answer is in the original question:
>>>>>>   Does anybody knows if is doable to run X in uml (not Xnest or
>> similars) ?
>>
>> Antoine
>>
>>> Le lundi 28 décembre 2009 à 14:47 +0700, Antoine Martin a écrit :
>>>> Anselm Lingnau wrote:
>>>>> Rodrigo Baroni wrote:
>>>>>
>>>>>>   Does anybody knows if is doable to run X in uml (not Xnest or 
>>>>>> similars) ?
>>>>> The problem with this idea is that a »real« X server expects to talk to 
>>>>> graphics hardware of some description. VMware & co. solve this problem by 
>>>>> actually emulating the registers etc. of a suitable graphics chip, but 
>>>>> UML 
>>>>> doesn't really deal in hardware; all it does is to present a Linux system 
>>>>> call 
>>>>> interface.
>>>>>
>>>>> I suspect the nearest thing to a »real« X server on UML would be 
>>>>> something 
>>>>> like Xvnc, which gives you a desktop-type X session that you can connect 
>>>>> to 
>>>>> using a VNC client.
>>>> Adding framebuffer support to UML shouldn't be that hard.
>>>>
>>>> There was a patch which did that (never worked for me), you could then
>>>> run X with the fbdev driver.
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Verizon Developer Community
>>>> Take advantage of Verizon's best-in-class app development support
>>>> A streamlined, 14 day to market process makes app distribution fast and 
>>>> easy
>>>> Join now and get one step closer to millions of Verizon customers
>>>> http://p.sf.net/sfu/verizon-dev2dev 
>>>> _______________________________________________
>>>> User-mode-linux-user mailing list
>>>> User-mode-linux-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>>>
> 
> 


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to