Lazy-Newb-Pack / Lazy-Newb-Pack-Linux

A Lazy Newb Pack for Linux
http://lazynewbpack.com/
150 stars 12 forks source link

Dwarf Therapist permission #23

Open MauroMombelli opened 8 years ago

MauroMombelli commented 8 years ago

Darf Therapist need permission to poke with other process's ram (dwarffortress in the case), this permission must be set (only one time i think) with something similar to

setcap cap_sys_ptrace=eip /usr/bin/dwarftherapist

of course it need sudo-root permission

lethosor commented 8 years ago

This should be done by the startlnp script.

MauroMombelli commented 8 years ago

When I started it the first time it didn't ask for password (but I launched from GUI)

On Wed, 11 Nov 2015 00:57 Lethosor notifications@github.com wrote:

This should be done by the startlnp script.

— Reply to this email directly or view it on GitHub https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues/23#issuecomment-155606754 .

lethosor commented 8 years ago

Did you run "startlnp" or "PyLNP" to open the launcher? startlnp launches PyLNP but also checks for DT's permissions and prompts to change them if they're not correct.

MauroMombelli commented 8 years ago

i run startlnp, but as normal user (doubleclick + execute)

lethosor commented 8 years ago

Did you see an xterm window prompting you for a root password? If not, you could try updating the startlnp script with the latest version from this repo: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/blob/master/pack/startlnp

MauroMombelli commented 8 years ago

i didn't, but i fix it manually before using the new script (because of missing .png complain), so maybe that's the problem :)

2015-11-11 23:57 GMT+01:00 Lethosor notifications@github.com:

Did you see an xterm window prompting you for a root password? If not, you could try updating the startlnp script with the latest version from this repo: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/blob/master/pack/startlnp

— Reply to this email directly or view it on GitHub https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues/23#issuecomment-155936130 .

lethosor commented 8 years ago

Do you have xterm installed?

MauroMombelli commented 8 years ago

Yes, but from the script it seems to use konsole (I also have that one)

On Mon, 23 Nov 2015 03:35 Lethosor notifications@github.com wrote:

Do you have xterm installed?

— Reply to this email directly or view it on GitHub https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues/23#issuecomment-158835220 .