<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Many thanks for that Dan. I think I have a clearer idea of what is
going on now.<br>
<br>
I tried the advice in that web reference but when (as root) I typed
modprobe binfmt I got a 'FATAL: module binfmt not found' so I'm back to
being baffled.<br>
<br>
But as I can run what Paul Hudson's Coding Academy book produces by
typing mono filename.exe (and that works) then I will be OK.<br>
<br>
Nothing is ever easy is it?<br>
<br>
MikeR <br>
<br>
On 02/03/10 15:35, Daniel Ellis wrote:
<blockquote
cite="mid:b8821ab11003020735pb2611b9hf72cb2f27909c1e0@mail.gmail.com"
type="cite">On Linux a .NET application is not loaded directly by OS.
Think of a .NET application just like java. But instead of using java
to load a .jar file, you use mono to load the .exe file.<br>
<br>
If the OS knows about the content of an exe it can automatically pass
it to mono. See this link to configure Linux to detect a .NET exe and
start it automatically:-<br>
<br>
<a moz-do-not-send="true"
href="http://www.mono-project.com/Guide:Running_Mono_Applications#Registering_.exe_as_non-native_binaries_.28Linux_only.29">http://www.mono-project.com/Guide:Running_Mono_Applications#Registering_.exe_as_non-native_binaries_.28Linux_only.29</a><br>
<br>
Regards,<br>
Dan Ellis<br>
<br>
<div class="gmail_quote">On 2 March 2010 15:12, Michael E. Rentell <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:michael.rentell@ntlworld.com">michael.rentell@ntlworld.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">Well that's the first thing
that went through my mind and I've done the
second suggestion in konqueror and it didn't work so I've then done the
first suggestion in a konsole and that doesn't work either. The
properties of the file still show me as the user with read/write
permissions and the execute box is ticked. In a konsole it shows up as
- rws rwx r-x 1<br>
<br>
When I try to run it with ./filename.exe it says 'cannot execute binary
file'<br>
<br>
Something funny going on here. Is there any particularly mono
dependency I should have to execute a .exe file? Never seen that in
Linux before, I always thought .exe was strictly something from the
realm of the Boy God. <br>
MikeR
<div>
<div class="h5"><br>
<br>
<br>
On 02/03/10 14:20, Dan Attwood wrote:
<blockquote type="cite">try 'su chmod +x filename.exe'
<div><br>
</div>
<div>that will make the file executable and should let you run it</div>
<div><br>
</div>
<div>the other way if just to find the file in nautilus of the
kde
file manager right click and select permissions - you can tick on the
execute box there<br>
<br>
<div class="gmail_quote">On 2 March 2010 14:17, Michael E.
Rentell <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:michael.rentell@ntlworld.com" target="_blank">michael.rentell@ntlworld.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><br>
On 02/03/10 13:24, Kevin Groves wrote:<br>
> I think the * is high lighting by the command line shell you are
using.<br>
> Check the perms on the file.<br>
><br>
> Kev,<br>
><br>
><br>
> _______________________________________________<br>
> Kent mailing list<br>
> <a moz-do-not-send="true" href="mailto:Kent@mailman.lug.org.uk"
target="_blank">Kent@mailman.lug.org.uk</a><br>
> <a moz-do-not-send="true"
href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
><br>
</div>
</div>
Ah, I never thought of that. Don't use the cli much so not sure how to<br>
identify which shell I'm using.<br>
<br>
I typed 'shell' into the PCLOS konsole and it returned 'bash' which I<br>
recognise although the system also said it didn't recognise the command.<br>
<br>
I did the same with the ubuntu under VirtualBox and it hesitated for a<br>
few seconds and suggested I'd made a mistake and offered a few choices.<br>
But it didn't identify the shell.<br>
<br>
I'm sure it is all very easy - if you just know. But I don't.<br>
<br>
Some pointers about tinkering with perms would also help.<br>
<br>
MikeR<br>
<div>
<div><br>
_______________________________________________<br>
Kent mailing list<br>
<a moz-do-not-send="true" href="mailto:Kent@mailman.lug.org.uk"
target="_blank">Kent@mailman.lug.org.uk</a><br>
<a moz-do-not-send="true"
href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Kent mailing list<br>
<a moz-do-not-send="true" href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a moz-do-not-send="true"
href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>