Score:0

JetBrains rider: how to attach to processes running as root

gq flag

Just wondering what's the best way to attach to a process running under root account. I've thought about running rider from the cmd with sudo, but it's not a good idea because it looses all my regular user's settings and keys.

Thanks.

user10489 avatar
in flag
Are you using `sudo` or `sudo -H` ? What settings and keys are you concerned about losing?
gq flag
I was using just sudo (sorry, Linux beginner here). The problem is that when I run sudo rider, I can't use the configurations of my regular user account...
user10489 avatar
in flag
Yes, but which ones specifically?
gq flag
All of them...from themes to lics, it's just like opening the IDE for the 1st time (which makes sense because it hasn't been run under root yet).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.