Hello All,
I recently acquired a new Lenovo Yoga 11e Chromebook and have so far been pleased with the experience, except that it lacks any FULFILLING games. I learned to install crouton to allow a linux distro (I'm using Ubuntu - LXDE) to run alongside ChromeOS. I have been trying to get Dwarf Fortress up and running. The Lazy Newb Pack for Linux has so far worked. Graphics can be changed and displayed properly and DF seems to run smoothly. Dwarf Therapist also boots up properly.
My only issue so far is being able to get Dwarf Therapist to connect into DwarfFortress. I read this post:
https://github.com/andrewd18/df-lnp-installer/wiki/Dwarf-Therapist-Cannot-Connect-to-Dwarf-Fortress and have followed the directions. I indeed have Ptrace running but for the life of me, I haven't been able to turn it off for Dwarf Therapist.
My terminal:
(precise)katie@localhost:~$ cat /proc/sys/kernel/yama/ptrace_scope
1
(precise)katie@localhost:~$ cd ~/Downloads/DwarfFortress/LNP/utilities/dwarf_therapist
(precise)katie@localhost:~/Downloads/DwarfFortress/LNP/utilities/dwarf_therapist$ sudo setcap cap_sys_ptrace=eip DwarfTherapist
(precise)katie@localhost:~/Downloads/DwarfFortress/LNP/utilities/dwarf_therapist$ sudo setcap cap_sys_ptrace=ep DwarfTherapist
(precise)katie@localhost:~/Downloads/DwarfFortress/LNP/utilities/dwarf_therapist$
When I load up DF/DT they still have a problem connecting. =/
Can anyone provide some light upon what I'm doing incorrectly? Thanks.
. I'm Using Beautato's Lazy Newb Pack 40.24 R3
***** 8/26/15 Update FIX: I couldn't find a way to easily enable ptrace for Dwarf Therapist. So I figured out how to enable ptrace for the entire computer. The risks are arguable, but I find that for my non-work, non-important entertainment laptop, I should be plenty safe from getting hacked.
How to check ptrace:
cat /proc/sys/kernel/yama/ptrace_scope 1=yes, 0=no
If 1, to disable ptrace protection on your system:
$ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
This worked for me and now my DF and DT are working flawlessly. Can you say YES to gaming on a chromebook? :]