Wine won't work

Asked by KJR

I'm a newbie to linux but I've recently installed Ubuntu 7 and more recently re installed Ubuntu 8 with Grub so I can choose between Ubuntu and Windows XP. I'm very impressed so far. Wine worked with Ubuntu 7 but doesn't with Hardy. I installed it with add/remove apps, then I removed it, "purged" it and reinstalled with Synaptic - still no joy. Right-click open with other app....Wine does nothing. I've even tried using terminal which gave me the following error;
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem unavailable
winevdm: unable to exec '--app-name': 16-bit support missing
What's gone wrong - I've tried to run setup.exe for more than one app. Can anyone help?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-panel Edit question
Assignee:
No assignee Edit question
Solved by:
Jonathan Thomas
Solved:
Last query:
Last reply:
Revision history for this message
Best Jonathan Thomas (echidnaman) said :
#1

This is a problem stemming from a new security feature of Ubuntu 8.04's kernel. It can be worked around by executing this command in the console: sudo sysctl -w vm.mmap_min_addr=0

More information on the issue, if you so desire: http://wiki.winehq.org/PreloaderPageZeroProblem

Revision history for this message
KJR (kjrigby) said :
#2

Thanks Jonathan Thomas, that solved my question.