Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Open Linux to connect DT?  (Read 2073 times)

tmatherne

  • Escaped Lunatic
    • View Profile
Open Linux to connect DT?
« on: February 07, 2021, 01:56:49 am »

This is probably a question heard a lot, but I can't find the answer...

Dwarf Therapist can't connect to a running fort in Ubuntu 20.04. I had this problem previously, and found a one liner to run at the terminal to solve the issue.

One crashed hard drive with no backup later, I can't find the one-liner anymore. Can anyone help?
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Open Linux to connect DT?
« Reply #1 on: February 07, 2021, 04:39:59 am »

https://github.com/Dwarf-Therapist/Dwarf-Therapist/tree/master/dist/ptrace_scope

Not one line, but try:
Code: [Select]
cd /tmp
wget "https://raw.githubusercontent.com/Dwarf-Therapist/Dwarf-Therapist/master/dist/ptrace_scope/patch_df_ptracer"
chmod +x patch_df_ptracer
./patch_df_ptracer /path/to/df
In the last line, replace /path/to/df with the actual path to your DF installation.

Issues with Dwarf Therapist can be discussed in the dedicated thread.
Logged

tmatherne

  • Escaped Lunatic
    • View Profile
Re: Open Linux to connect DT?
« Reply #2 on: February 07, 2021, 07:15:35 am »

Was not aware there was a dedicated thread, so I apologize.

On the other hand, thank you very much for this information. Let the FUN begin.
Logged