Linux users running WSE with Wine may run into this error message:
Failed to write remote process memory for library string.
If you are running an Antivirus or Security Suite, try temporarily disabling it.
I get this on my system, which is currently running Linux Mint 13 (based heavily on Ubuntu 12.04). The cause is a change in the way ptrace, part of the Linux kernel, works, making it incompatible with WSE when in older versions it worked just fine. The workaround is to set ptrace's scope to 0 (default 1), making it more permissive. Keep in mind that this may introduce minor security issues (a virus will potentially be able to scan other programs and steal info out of their memory)
. Personally I don't think this is that big of a concern, but I take no responsibility if anything happens to you because of this change.
Executing this line in a terminal prompt will workaround the problem, until you restart your computer:
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
To make the workaround permanent, open "/etc/sysctl.d/10-ptrace.conf" as root in a text editor, find the line "kernel.yama.ptrace_scope = 1" (for me it was the last line in the file), and replace the 1 with a 0. After a restart or application of the temporary workaround, WSE will work without complaint.For more information, read this post which primarily focuses on Dwarf Fortress, but gives more details on ptrace and what it does.