Re: [uml-user] xterm_open: $DISPLAY not set

2008-03-06 Thread lanas
Le Thu, 6 Mar 2008 21:36:18 -0500, lanas <[EMAIL PROTECTED]> a écrit : > I get the error 'xterm_open: $DISPLAY not set' upon startup of a > home-made fs UML (kernel 2.6.24). OK, a bit of context. I'm starting the UML inside a small LFS system running in text mode under VmWare. I just tried

[uml-user] xterm_open: $DISPLAY not set

2008-03-06 Thread lanas
Hello, I get the error 'xterm_open: $DISPLAY not set' upon startup of a home-made fs UML (kernel 2.6.24). I've searched the mailing list archive and there's one reply by blaisorblade about this which points to: if (!getenv("DISPLAY")) { printk("xterm_open: $DISPLAY not

Re: [uml-user] looking for network-ready fedora 8 kernel and root fs

2008-03-06 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Robert P. J. Day wrote: | On Wed, 5 Mar 2008, Antoine Martin wrote: | |> Well, the problem is that if you don't want to use dhcp, you either have |> to edit some config files on the guest or you have to login and bring |> the network up by hand... |>

Re: [uml-user] Graphical UML?

2008-03-06 Thread Jay Shah
Hello, Thanks for your advice!!! I installed KDE but then used VNC-Server because it seemed easier than X Windows/Servers. Thanks again! Jay - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft

Re: [uml-user] Graphical UML?

2008-03-06 Thread Flavio
I'm sorry, I forgot to reply to the list. On 06/03/2008, Flavio <[EMAIL PROTECTED]> wrote: > On 06/03/2008, Jay Shah <[EMAIL PROTECTED]> wrote: > > Hello, > Hello Jay, > > > > > Apologies if my question is too simple for you :-) > > > > I have a server (accessible only via SSH really) and I

[uml-user] Graphical UML?

2008-03-06 Thread Jay Shah
Hello, Apologies if my question is too simple for you :-) I have a server (accessible only via SSH really) and I want to run a UML instance so I can use some kind of VNC to connect to it. Is this possible? I have experimented with X11 forwarding, but without luck. Is this the way forward? Thanks

Re: [uml-user] some COW questions

2008-03-06 Thread Robert P. J. Day
On Thu, 6 Mar 2008, Jeff Dike wrote: > On Thu, Mar 06, 2008 at 09:15:25AM -0500, Robert P. J. Day wrote: > > 2) once i establish a COW file for a given backing file, i can use > > "chmod" to protect that backing file from inadvertant changes, yes? > > that seems to be the case based on my testing

Re: [uml-user] some COW questions

2008-03-06 Thread Jeff Dike
On Thu, Mar 06, 2008 at 09:15:25AM -0500, Robert P. J. Day wrote: > 1) each filesystem i use as part of my UML session can have its own > COW file, right? as in: > >... ubda=root.cow,root.img ubdc=usr.cow,usr.img ... etc etc ... Yup. > 2) once i establish a COW file for a given backing file

Re: [uml-user] Error messages of intalling UML

2008-03-06 Thread Jeff Dike
On Thu, Mar 06, 2008 at 09:02:19PM +0800, Wang Yu wrote: > Hi, all > When I run "./linux-2.6.24-rc7 ubda=FedoraCore5-x86-root_fs mem=128M", there > are following error messages: > Core dump limits : > soft - 0 > hard - NONE > Checking that ptrace can change system call numbers...che

[uml-user] some COW questions

2008-03-06 Thread Robert P. J. Day
after reading the (old) chapter on shared filesystems, some admittedly basic questions on COW files. (i'm fairly sure i know the answers here but i just want to play it safe.) 1) each filesystem i use as part of my UML session can have its own COW file, right? as in: ... ubda=root.cow,roo

[uml-user] Error messages of intalling UML

2008-03-06 Thread Wang Yu
Hi, all When I run "./linux-2.6.24-rc7 ubda=FedoraCore5-x86-root_fs mem=128M", there are following error messages: Core dump limits : soft - 0 hard - NONE Checking that ptrace can change system call numbers...check_ptrace: PTRACE_OLDSETOPTIONS failed: Invalid argument But my CPU is

Re: [uml-user] how to ensure a root filesystem is always "read-only"?

2008-03-06 Thread Christopher Marshall
Robert: Yes, that would also work. I couldn't help thinking about larger strategies the followed from your particular problem, I guess. Chris --- On Thu, 3/6/08, Robert P. J. Day <[EMAIL PROTECTED]> wrote: > From: Robert P. J. Day <[EMAIL PROTECTED]> > Subject: Re: [uml-user] how to ensure a

Re: [uml-user] how to ensure a root filesystem is always "read-only"?

2008-03-06 Thread Robert P. J. Day
On Thu, 6 Mar 2008, Christopher Marshall wrote: > Remove non-user write permissions from the root_fs file: > > chmod og-w root_fs > > And run the uml instance from a different user account than the > owner of the root_fs file. why would i need to do that as opposed to just removing *my own* write

[uml-user] how to get a UML session with multiple filesystems?

2008-03-06 Thread Robert P. J. Day
(if there's a web page that covers this, a simple pointer to it will do just fine.) as a followup to thinking about UML and COW, how would i configure and run a UML session using multiple filesystems? say i took the time to create multiple filesystem images corresponding to the following fil

Re: [uml-user] how to ensure a root filesystem is always "read-only"?

2008-03-06 Thread Christopher Marshall
Remove non-user write permissions from the root_fs file: chmod og-w root_fs And run the uml instance from a different user account than the owner of the root_fs file. In fact, if you are always using the same root filesystem, I would be tempted to place it here: /usr/share/uml/root_fs and ma

[uml-user] how to ensure a root filesystem is always "read-only"?

2008-03-06 Thread Robert P. J. Day
currently, i'm reading the chapter on sharing filesystems here: http://user-mode-linux.sourceforge.net/old/UserModeLinux-HOWTO-7.html and i have a few (again, fairly basic) questions about running UML using COW to protect the root filesystem from modification. first, is there any way to tru

Re: [uml-user] looking for network-ready fedora 8 kernel and root fs

2008-03-06 Thread Robert P. J. Day
On Wed, 5 Mar 2008, Antoine Martin wrote: > Well, the problem is that if you don't want to use dhcp, you either have > to edit some config files on the guest or you have to login and bring > the network up by hand... > IMO, that's more complicated (and less flexible) than just starting a > dhcp se

Re: [uml-user] looking for network-ready fedora 8 kernel and root fs

2008-03-06 Thread Robert P. J. Day
On Wed, 5 Mar 2008, Jeff Dike wrote: > On Wed, Mar 05, 2008 at 04:39:50AM -0500, Robert P. J. Day wrote: > > a) once i run the "uml_mconsole" command on the host, is there a > > way to verify the result of that operation? running "ifconfig" > > doesn't show me any difference, so how could one ver