You are not logged in.

#1 2020-09-21 09:04:54

jwtiyar
Member
From: Kurdistan
Registered: 2013-01-25
Posts: 62

[SOLVED] Why some apps should run as root then it opens?

Hey
Some of my apps should be run as root then it will open like visual studio (code) and libreoffice, Any help to git rid of it? what i did wrong?

Last edited by jwtiyar (2020-09-21 10:39:23)

Offline

#2 2020-09-21 09:49:29

solskog
Member
Registered: 2020-09-05
Posts: 462

Re: [SOLVED] Why some apps should run as root then it opens?

If you can provide output from this command

$ pstree -u -p

Offline

#3 2020-09-21 09:53:10

jwtiyar
Member
From: Kurdistan
Registered: 2013-01-25
Posts: 62

Re: [SOLVED] Why some apps should run as root then it opens?

solskog wrote:

If you can provide output from this command

$ pstree -u -p
jwtiyar@Arch-Jwtiyar ~> pstree -u -p
systemd(1)─┬─MainThread(1160,jwtiyar)─┬─Privileged Cont(1206)─┬─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       ├─{Privileg+
           │                          │                       └─{Privileg+
           │                          ├─Web Content(1498)─┬─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   └─{Web Content}+
           │                          ├─Web Content(1898)─┬─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   └─{Web Content}+
           │                          ├─Web Content(2093)─┬─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   └─{Web Content}+
           │                          ├─Web Content(2295)─┬─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   ├─{Web Content}+
           │                          │                   └─{Web Content}+
           │                          ├─WebExtensions(1289)─┬─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     ├─{WebExtensi+
           │                          │                     └─{WebExtensi+
           │                          ├─{MainThread}(1168)
           │                          ├─{MainThread}(1169)
           │                          ├─{MainThread}(1170)
           │                          ├─{MainThread}(1171)
           │                          ├─{MainThread}(1172)
           │                          ├─{MainThread}(1175)
           │                          ├─{MainThread}(1176)
           │                          ├─{MainThread}(1177)
           │                          ├─{MainThread}(1178)
           │                          ├─{MainThread}(1179)
           │                          ├─{MainThread}(1181)
           │                          ├─{MainThread}(1182)
           │                          ├─{MainThread}(1185)
           │                          ├─{MainThread}(1186)
           │                          ├─{MainThread}(1187)
           │                          ├─{MainThread}(1188)
           │                          ├─{MainThread}(1189)
           │                          ├─{MainThread}(1190)
           │                          ├─{MainThread}(1191)
           │                          ├─{MainThread}(1194)
           │                          ├─{MainThread}(1195)
           │                          ├─{MainThread}(1196)
           │                          ├─{MainThread}(1200)
           │                          ├─{MainThread}(1201)
           │                          ├─{MainThread}(1202)
           │                          ├─{MainThread}(1203)
           │                          ├─{MainThread}(1204)
           │                          ├─{MainThread}(1205)
           │                          ├─{MainThread}(1208)
           │                          ├─{MainThread}(1218)
           │                          ├─{MainThread}(1219)
           │                          ├─{MainThread}(1223)
           │                          ├─{MainThread}(1224)
           │                          ├─{MainThread}(1239)
           │                          ├─{MainThread}(1241)
           │                          ├─{MainThread}(1242)
           │                          ├─{MainThread}(1246)
           │                          ├─{MainThread}(1247)
           │                          ├─{MainThread}(1248)
           │                          ├─{MainThread}(1250)
           │                          ├─{MainThread}(1266)
           │                          ├─{MainThread}(1267)
           │                          ├─{MainThread}(1268)
           │                          ├─{MainThread}(1269)
           │                          ├─{MainThread}(1270)
           │                          ├─{MainThread}(1288)
           │                          ├─{MainThread}(1300)
           │                          ├─{MainThread}(1311)
           │                          ├─{MainThread}(1328)
           │                          ├─{MainThread}(1362)
           │                          ├─{MainThread}(1423)
           │                          ├─{MainThread}(1502)
           │                          ├─{MainThread}(1513)
           │                          ├─{MainThread}(1525)
           │                          ├─{MainThread}(1570)
           │                          ├─{MainThread}(1619)
           │                          ├─{MainThread}(1657)
           │                          ├─{MainThread}(1659)
           │                          ├─{MainThread}(1909)
           │                          ├─{MainThread}(2098)
           │                          ├─{MainThread}(2146)
           │                          ├─{MainThread}(2205)
           │                          ├─{MainThread}(2306)
           │                          ├─{MainThread}(3176)
           │                          ├─{MainThread}(3204)
           │                          ├─{MainThread}(3205)
           │                          ├─{MainThread}(3210)
           │                          ├─{MainThread}(3226)
           │                          ├─{MainThread}(3241)
           │                          ├─{MainThread}(3243)
           │                          ├─{MainThread}(3255)
           │                          ├─{MainThread}(3272)
           │                          ├─{MainThread}(3273)
           │                          └─{MainThread}(3287)
           ├─avahi-daemon(276,avahi)───avahi-daemon(280)
           ├─dbus-daemon(277,dbus)
           ├─dhcpcd(509,dhcpcd)─┬─dhcpcd(510,root)─┬─dhcpcd(567,dhcpcd)
           │                    │                  └─dhcpcd(636,dhcpcd)
           │                    └─dhcpcd(511)
           ├─fish(3293,jwtiyar)───termite(3295)─┬─fish(3300)─┬─pstree(338+
           │                                    │            └─{fish}(338+
           │                                    ├─{termite}(3296)
           │                                    └─{termite}(3297)
           ├─gnome-keyring-d(642,jwtiyar)─┬─{gnome-keyring-d}(643)
           │                              ├─{gnome-keyring-d}(644)
           │                              └─{gnome-keyring-d}(718)
           ├─kdeinit5(1135,jwtiyar)───klauncher(1136)─┬─{klauncher}(1137)
           │                                          └─{klauncher}(1138)
           ├─lightdm(513)─┬─Xorg(519)─┬─{Xorg}(524)
           │              │           ├─{Xorg}(525)
           │              │           ├─{Xorg}(526)
           │              │           ├─{Xorg}(527)
           │              │           ├─{Xorg}(528)
           │              │           ├─{Xorg}(529)
           │              │           ├─{Xorg}(530)
           │              │           └─{Xorg}(531)
           │              ├─lightdm(570)─┬─bspwm(645,jwtiyar)───picom(653+
           │              │              ├─{lightdm}(576)
           │              │              └─{lightdm}(577)
           │              ├─{lightdm}(515)
           │              └─{lightdm}(517)
           ├─lvmetad(235)
           ├─nautilus(3135,jwtiyar)─┬─{nautilus}(3136)
           │                        ├─{nautilus}(3137)
           │                        ├─{nautilus}(3139)
           │                        └─{nautilus}(3140)
           ├─polkitd(1089,polkitd)─┬─{polkitd}(1091)
           │                       ├─{polkitd}(1092)
           │                       ├─{polkitd}(1093)
           │                       ├─{polkitd}(1094)
           │                       ├─{polkitd}(1095)
           │                       ├─{polkitd}(1096)
           │                       └─{polkitd}(1097)
           ├─polybar(801,jwtiyar)─┬─{polybar}(840)
           │                      ├─{polybar}(877)
           │                      ├─{polybar}(878)
           │                      ├─{polybar}(879)
           │                      ├─{polybar}(880)
           │                      ├─{polybar}(882)
           │                      ├─{polybar}(883)
           │                      ├─{polybar}(884)
           │                      ├─{polybar}(885)
           │                      ├─{polybar}(886)
           │                      ├─{polybar}(887)
           │                      ├─{polybar}(888)
           │                      ├─{polybar}(889)
           │                      └─{polybar}(891)
           ├─rtkit-daemon(1225,rtkit)─┬─{rtkit-daemon}(1226)
           │                          └─{rtkit-daemon}(1227)
           ├─sxhkd(719,jwtiyar)
           ├─systemd(580,jwtiyar)─┬─(sd-pam)(581)
           │                      ├─at-spi-bus-laun(1006)─┬─dbus-daemon(1+
           │                      │                       ├─{at-spi-bus-l+
           │                      │                       ├─{at-spi-bus-l+
           │                      │                       └─{at-spi-bus-l+
           │                      ├─at-spi2-registr(1018)─┬─{at-spi2-regi+
           │                      │                       └─{at-spi2-regi+
           │                      ├─dbus-daemon(711)
           │                      ├─dconf-service(2776)─┬─{dconf-service}+
           │                      │                     └─{dconf-service}+
           │                      ├─gvfs-udisks2-vo(2786)─┬─{gvfs-udisks2+
           │                      │                       ├─{gvfs-udisks2+
           │                      │                       └─{gvfs-udisks2+
           │                      ├─gvfsd(2697)─┬─gvfsd-admin(2961)─┬─{gv+
           │                      │             │                   └─{gv+
           │                      │             ├─gvfsd-dnssd(2942)─┬─{gv+
           │                      │             │                   └─{gv+
           │                      │             ├─gvfsd-network(2935)─┬─{+
           │                      │             │                     ├─{+
           │                      │             │                     └─{+
           │                      │             ├─gvfsd-recent(2804)─┬─{g+
           │                      │             │                    └─{g+
           │                      │             ├─gvfsd-trash(2704)─┬─{gv+
           │                      │             │                   └─{gv+
           │                      │             ├─{gvfsd}(2698)
           │                      │             └─{gvfsd}(2699)
           │                      ├─gvfsd-fuse(2702)─┬─{gvfsd-fuse}(2712)
           │                      │                  ├─{gvfsd-fuse}(2713)
           │                      │                  ├─{gvfsd-fuse}(2714)
           │                      │                  ├─{gvfsd-fuse}(2715)
           │                      │                  └─{gvfsd-fuse}(2716)
           │                      ├─gvfsd-metadata(2810)─┬─{gvfsd-metadat+
           │                      │                      └─{gvfsd-metadat+
           │                      ├─kded5(2037)─┬─{kded5}(2038)
           │                      │             └─{kded5}(2039)
           │                      ├─pipewire(2781)─┬─pipewire-media-(2783+
           │                      │                └─{pipewire}(2782)
           │                      ├─xdg-desktop-por(2751)─┬─{xdg-desktop-+
           │                      │                       ├─{xdg-desktop-+
           │                      │                       ├─{xdg-desktop-+
           │                      │                       ├─{xdg-desktop-+
           │                      │                       └─{xdg-desktop-+
           │                      ├─xdg-desktop-por(2768)─┬─{xdg-desktop-+
           │                      │                       ├─{xdg-desktop-+
           │                      │                       └─{xdg-desktop-+
           │                      ├─xdg-document-po(2755)─┬─fusermount(27+
           │                      │                       ├─{xdg-document+
           │                      │                       ├─{xdg-document+
           │                      │                       ├─{xdg-document+
           │                      │                       ├─{xdg-document+
           │                      │                       ├─{xdg-document+
           │                      │                       └─{xdg-document+
           │                      └─xdg-permission-(2758)─┬─{xdg-permissi+
           │                                              └─{xdg-permissi+
           ├─systemd-journal(219)
           ├─systemd-logind(279)
           ├─systemd-udevd(232)
           ├─udisksd(1085)─┬─{udisksd}(1086)
           │               ├─{udisksd}(1088)
           │               ├─{udisksd}(1099)
           │               └─{udisksd}(1103)
           ├─upowerd(1105)─┬─{upowerd}(1107)
           │               └─{upowerd}(1108)
           └─wpa_supplicant(338)
jwtiyar@Arch-Jwtiyar ~>

Offline

#4 2020-09-21 10:07:11

solskog
Member
Registered: 2020-09-05
Posts: 462

Re: [SOLVED] Why some apps should run as root then it opens?

Part of your output cutoff by limited terminal screen, there are no libreoffice. maybe try again while VB and libreoffice running.

$ pstree -u -p >/tmp/pslog

From What you have posted, process ownership looks normal to me. No userspace application runs by root.
And to clarify it, What exact are you want to achieve?

Last edited by solskog (2020-09-21 10:11:13)

Offline

#5 2020-09-21 10:25:53

jwtiyar
Member
From: Kurdistan
Registered: 2013-01-25
Posts: 62

Re: [SOLVED] Why some apps should run as root then it opens?

solskog wrote:

Part of your output cutoff by limited terminal screen, there are no libreoffice. maybe try again while VB and libreoffice running.

$ pstree -u -p >/tmp/pslog

From What you have posted, process ownership looks normal to me. No userspace application runs by root.
And to clarify it, What exact are you want to achieve?

I have libreoffice and code already, I want to open code and libreoffice normally by typing code or libreoffice from termtie and opens normally or by opening them from rofi .
this is new out put when i opened code and libreoffice with sudo.

systemd(1)-+-MainThread(1160,jwtiyar)-+-Privileged Cont(1206)-+-{Privileged Cont}(1210)
           |                          |                       |-{Privileged Cont}(1211)
           |                          |                       |-{Privileged Cont}(1212)
           |                          |                       |-{Privileged Cont}(1213)
           |                          |                       |-{Privileged Cont}(1214)
           |                          |                       |-{Privileged Cont}(1215)
           |                          |                       |-{Privileged Cont}(1216)
           |                          |                       |-{Privileged Cont}(1217)
           |                          |                       |-{Privileged Cont}(1220)
           |                          |                       |-{Privileged Cont}(1221)
           |                          |                       |-{Privileged Cont}(1222)
           |                          |                       |-{Privileged Cont}(1228)
           |                          |                       |-{Privileged Cont}(1229)
           |                          |                       |-{Privileged Cont}(1230)
           |                          |                       |-{Privileged Cont}(1232)
           |                          |                       |-{Privileged Cont}(1233)
           |                          |                       |-{Privileged Cont}(1281)
           |                          |                       |-{Privileged Cont}(1285)
           |                          |                       |-{Privileged Cont}(1286)
           |                          |                       |-{Privileged Cont}(1287)
           |                          |                       `-{Privileged Cont}(1312)
           |                          |-Web Content(1498)-+-{Web Content}(1501)
           |                          |                   |-{Web Content}(1503)
           |                          |                   |-{Web Content}(1504)
           |                          |                   |-{Web Content}(1505)
           |                          |                   |-{Web Content}(1506)
           |                          |                   |-{Web Content}(1507)
           |                          |                   |-{Web Content}(1508)
           |                          |                   |-{Web Content}(1509)
           |                          |                   |-{Web Content}(1510)
           |                          |                   |-{Web Content}(1511)
           |                          |                   |-{Web Content}(1512)
           |                          |                   |-{Web Content}(1514)
           |                          |                   |-{Web Content}(1515)
           |                          |                   |-{Web Content}(1516)
           |                          |                   |-{Web Content}(1518)
           |                          |                   |-{Web Content}(1519)
           |                          |                   |-{Web Content}(1585)
           |                          |                   |-{Web Content}(1586)
           |                          |                   |-{Web Content}(1587)
           |                          |                   |-{Web Content}(1599)
           |                          |                   |-{Web Content}(1607)
           |                          |                   |-{Web Content}(3172)
           |                          |                   |-{Web Content}(3179)
           |                          |                   |-{Web Content}(3183)
           |                          |                   |-{Web Content}(3184)
           |                          |                   |-{Web Content}(3185)
           |                          |                   |-{Web Content}(3186)
           |                          |                   |-{Web Content}(3189)
           |                          |                   |-{Web Content}(3203)
           |                          |                   |-{Web Content}(3206)
           |                          |                   |-{Web Content}(3211)
           |                          |                   |-{Web Content}(3495)
           |                          |                   |-{Web Content}(26782)
           |                          |                   |-{Web Content}(26786)
           |                          |                   |-{Web Content}(26793)
           |                          |                   `-{Web Content}(26803)
           |                          |-Web Content(3457)-+-{Web Content}(3460)
           |                          |                   |-{Web Content}(3461)
           |                          |                   |-{Web Content}(3462)
           |                          |                   |-{Web Content}(3464)
           |                          |                   |-{Web Content}(3465)
           |                          |                   |-{Web Content}(3466)
           |                          |                   |-{Web Content}(3467)
           |                          |                   |-{Web Content}(3468)
           |                          |                   |-{Web Content}(3469)
           |                          |                   |-{Web Content}(3470)
           |                          |                   |-{Web Content}(3471)
           |                          |                   |-{Web Content}(3472)
           |                          |                   |-{Web Content}(3473)
           |                          |                   |-{Web Content}(3477)
           |                          |                   |-{Web Content}(3478)
           |                          |                   |-{Web Content}(3479)
           |                          |                   |-{Web Content}(3481)
           |                          |                   `-{Web Content}(3482)
           |                          |-WebExtensions(1289)-+-{WebExtensions}(1292)
           |                          |                     |-{WebExtensions}(1293)
           |                          |                     |-{WebExtensions}(1294)
           |                          |                     |-{WebExtensions}(1295)
           |                          |                     |-{WebExtensions}(1296)
           |                          |                     |-{WebExtensions}(1297)
           |                          |                     |-{WebExtensions}(1298)
           |                          |                     |-{WebExtensions}(1299)
           |                          |                     |-{WebExtensions}(1301)
           |                          |                     |-{WebExtensions}(1302)
           |                          |                     |-{WebExtensions}(1303)
           |                          |                     |-{WebExtensions}(1304)
           |                          |                     |-{WebExtensions}(1305)
           |                          |                     |-{WebExtensions}(1306)
           |                          |                     |-{WebExtensions}(1309)
           |                          |                     |-{WebExtensions}(1310)
           |                          |                     |-{WebExtensions}(1314)
           |                          |                     |-{WebExtensions}(1317)
           |                          |                     |-{WebExtensions}(1318)
           |                          |                     |-{WebExtensions}(1319)
           |                          |                     `-{WebExtensions}(1363)
           |                          |-{MainThread}(1168)
           |                          |-{MainThread}(1169)
           |                          |-{MainThread}(1170)
           |                          |-{MainThread}(1171)
           |                          |-{MainThread}(1172)
           |                          |-{MainThread}(1175)
           |                          |-{MainThread}(1176)
           |                          |-{MainThread}(1177)
           |                          |-{MainThread}(1178)
           |                          |-{MainThread}(1179)
           |                          |-{MainThread}(1181)
           |                          |-{MainThread}(1182)
           |                          |-{MainThread}(1185)
           |                          |-{MainThread}(1186)
           |                          |-{MainThread}(1187)
           |                          |-{MainThread}(1188)
           |                          |-{MainThread}(1189)
           |                          |-{MainThread}(1190)
           |                          |-{MainThread}(1191)
           |                          |-{MainThread}(1194)
           |                          |-{MainThread}(1195)
           |                          |-{MainThread}(1196)
           |                          |-{MainThread}(1200)
           |                          |-{MainThread}(1201)
           |                          |-{MainThread}(1202)
           |                          |-{MainThread}(1203)
           |                          |-{MainThread}(1204)
           |                          |-{MainThread}(1205)
           |                          |-{MainThread}(1208)
           |                          |-{MainThread}(1218)
           |                          |-{MainThread}(1219)
           |                          |-{MainThread}(1223)
           |                          |-{MainThread}(1224)
           |                          |-{MainThread}(1239)
           |                          |-{MainThread}(1241)
           |                          |-{MainThread}(1242)
           |                          |-{MainThread}(1246)
           |                          |-{MainThread}(1247)
           |                          |-{MainThread}(1248)
           |                          |-{MainThread}(1250)
           |                          |-{MainThread}(1266)
           |                          |-{MainThread}(1267)
           |                          |-{MainThread}(1268)
           |                          |-{MainThread}(1269)
           |                          |-{MainThread}(1270)
           |                          |-{MainThread}(1288)
           |                          |-{MainThread}(1300)
           |                          |-{MainThread}(1311)
           |                          |-{MainThread}(1328)
           |                          |-{MainThread}(1362)
           |                          |-{MainThread}(1423)
           |                          |-{MainThread}(1502)
           |                          |-{MainThread}(1513)
           |                          |-{MainThread}(1525)
           |                          |-{MainThread}(1657)
           |                          |-{MainThread}(1659)
           |                          |-{MainThread}(1909)
           |                          |-{MainThread}(2098)
           |                          |-{MainThread}(2306)
           |                          |-{MainThread}(3204)
           |                          |-{MainThread}(3205)
           |                          |-{MainThread}(3210)
           |                          |-{MainThread}(3427)
           |                          |-{MainThread}(3463)
           |                          |-{MainThread}(26784)
           |                          |-{MainThread}(26787)
           |                          |-{MainThread}(26790)
           |                          |-{MainThread}(26804)
           |                          |-{MainThread}(27180)
           |                          `-{MainThread}(27181)
           |-avahi-daemon(276,avahi)---avahi-daemon(280)
           |-code-oss(26829)-+-electron(26847)---electron(26871)-+-{electron}(26877)
           |                 |                                   |-{electron}(26878)
           |                 |                                   |-{electron}(26879)
           |                 |                                   |-{electron}(26880)
           |                 |                                   |-{electron}(26881)
           |                 |                                   |-{electron}(26882)
           |                 |                                   |-{electron}(26883)
           |                 |                                   |-{electron}(26884)
           |                 |                                   |-{electron}(26885)
           |                 |                                   |-{electron}(26886)
           |                 |                                   |-{electron}(26887)
           |                 |                                   |-{electron}(26888)
           |                 |                                   |-{electron}(26889)
           |                 |                                   `-{electron}(26890)
           |                 |-electron(26848)
           |                 |-electron(26893)-+-{electron}(26898)
           |                 |                 |-{electron}(26899)
           |                 |                 |-{electron}(26900)
           |                 |                 |-{electron}(26901)
           |                 |                 |-{electron}(26902)
           |                 |                 `-{electron}(26903)
           |                 |-electron(26922)-+-bash(26939)
           |                 |                 |-electron(26941)-+-python(27051)-+-python(27056)
           |                 |                 |                 |               `-{python}(27057)
           |                 |                 |                 |-{electron}(26944)
           |                 |                 |                 |-{electron}(26945)
           |                 |                 |                 |-{electron}(26946)
           |                 |                 |                 |-{electron}(26947)
           |                 |                 |                 |-{electron}(26948)
           |                 |                 |                 |-{electron}(26949)
           |                 |                 |                 |-{electron}(26950)
           |                 |                 |                 |-{electron}(26951)
           |                 |                 |                 |-{electron}(26952)
           |                 |                 |                 |-{electron}(26953)
           |                 |                 |                 |-{electron}(26954)
           |                 |                 |                 |-{electron}(26957)
           |                 |                 |                 |-{electron}(26958)
           |                 |                 |                 |-{electron}(26963)
           |                 |                 |                 |-{electron}(26964)
           |                 |                 |                 |-{electron}(26965)
           |                 |                 |                 `-{electron}(26966)
           |                 |                 |-{electron}(26923)
           |                 |                 |-{electron}(26924)
           |                 |                 |-{electron}(26925)
           |                 |                 |-{electron}(26926)
           |                 |                 |-{electron}(26927)
           |                 |                 |-{electron}(26928)
           |                 |                 |-{electron}(26929)
           |                 |                 |-{electron}(26930)
           |                 |                 |-{electron}(26931)
           |                 |                 |-{electron}(26932)
           |                 |                 |-{electron}(26933)
           |                 |                 |-{electron}(26934)
           |                 |                 |-{electron}(26935)
           |                 |                 |-{electron}(26936)
           |                 |                 |-{electron}(26937)
           |                 |                 |-{electron}(26938)
           |                 |                 |-{electron}(26940)
           |                 |                 |-{electron}(26942)
           |                 |                 |-{electron}(26943)
           |                 |                 |-{electron}(26955)
           |                 |                 `-{electron}(26956)
           |                 |-electron(26970)-+-{electron}(26971)
           |                 |                 |-{electron}(26972)
           |                 |                 |-{electron}(26973)
           |                 |                 |-{electron}(26974)
           |                 |                 |-{electron}(26975)
           |                 |                 |-{electron}(26976)
           |                 |                 |-{electron}(26977)
           |                 |                 |-{electron}(26978)
           |                 |                 |-{electron}(26979)
           |                 |                 |-{electron}(26980)
           |                 |                 |-{electron}(26981)
           |                 |                 |-{electron}(26982)
           |                 |                 |-{electron}(26983)
           |                 |                 |-{electron}(26984)
           |                 |                 |-{electron}(26985)
           |                 |                 |-{electron}(26987)
           |                 |                 |-{electron}(26995)
           |                 |                 |-{electron}(26998)
           |                 |                 `-{electron}(26999)
           |                 |-electron(27060)-+-{electron}(27092)
           |                 |                 |-{electron}(27093)
           |                 |                 |-{electron}(27094)
           |                 |                 |-{electron}(27095)
           |                 |                 |-{electron}(27096)
           |                 |                 |-{electron}(27103)
           |                 |                 |-{electron}(27104)
           |                 |                 |-{electron}(27105)
           |                 |                 |-{electron}(27106)
           |                 |                 |-{electron}(27107)
           |                 |                 |-{electron}(27112)
           |                 |                 `-{electron}(27114)
           |                 |-{code-oss}(26846)
           |                 |-{code-oss}(26849)
           |                 |-{code-oss}(26850)
           |                 |-{code-oss}(26851)
           |                 |-{code-oss}(26852)
           |                 |-{code-oss}(26853)
           |                 |-{code-oss}(26854)
           |                 |-{code-oss}(26855)
           |                 |-{code-oss}(26856)
           |                 |-{code-oss}(26857)
           |                 |-{code-oss}(26858)
           |                 |-{code-oss}(26859)
           |                 |-{code-oss}(26860)
           |                 |-{code-oss}(26861)
           |                 |-{code-oss}(26862)
           |                 |-{code-oss}(26863)
           |                 |-{code-oss}(26864)
           |                 |-{code-oss}(26865)
           |                 |-{code-oss}(26866)
           |                 |-{code-oss}(26867)
           |                 |-{code-oss}(26868)
           |                 |-{code-oss}(26869)
           |                 |-{code-oss}(26870)
           |                 |-{code-oss}(26872)
           |                 |-{code-oss}(26873)
           |                 |-{code-oss}(26874)
           |                 |-{code-oss}(26875)
           |                 |-{code-oss}(26891)
           |                 |-{code-oss}(26892)
           |                 |-{code-oss}(26894)
           |                 |-{code-oss}(26895)
           |                 |-{code-oss}(26896)
           |                 |-{code-oss}(26897)
           |                 |-{code-oss}(26918)
           |                 |-{code-oss}(26919)
           |                 `-{code-oss}(27182)
           |-dbus-daemon(277,dbus)
           |-dhcpcd(509,dhcpcd)-+-dhcpcd(510,root)-+-dhcpcd(567,dhcpcd)
           |                    |                  `-dhcpcd(636,dhcpcd)
           |                    `-dhcpcd(511)
           |-fish(3525,jwtiyar)---termite(3527)-+-fish(3532)---sudo(27121,root)---oosplash(27122)-+-soffice.bin(27157)-+-{soffice.b+
           |                                    |                                                 |                    |-{soffice.b+
           |                                    |                                                 |                    `-{soffice.b+
           |                                    |                                                 `-{oosplash}(27156)
           |                                    |-{termite}(3528)
           |                                    `-{termite}(3529)
           |-fish(27184,jwtiyar)---termite(27186)-+-fish(27191)-+-pstree(27269)
           |                                      |             `-{fish}(27266)
           |                                      |-{termite}(27187)
           |                                      |-{termite}(27188)
           |                                      `-{termite}(27190)
           |-gnome-keyring-d(642,jwtiyar)-+-{gnome-keyring-d}(643)
           |                              |-{gnome-keyring-d}(644)
           |                              `-{gnome-keyring-d}(718)
           |-kdeinit5(1135,jwtiyar)---klauncher(1136)-+-{klauncher}(1137)
           |                                          `-{klauncher}(1138)
           |-lightdm(513)-+-Xorg(519)-+-{Xorg}(524)
           |              |           |-{Xorg}(525)
           |              |           |-{Xorg}(526)
           |              |           |-{Xorg}(527)
           |              |           |-{Xorg}(528)
           |              |           |-{Xorg}(529)
           |              |           |-{Xorg}(530)
           |              |           `-{Xorg}(531)
           |              |-lightdm(570)-+-bspwm(645,jwtiyar)---picom(653)-+-{picom}(659)
           |              |              |                                 |-{picom}(660)
           |              |              |                                 |-{picom}(661)
           |              |              |                                 `-{picom}(662)
           |              |              |-{lightdm}(576)
           |              |              `-{lightdm}(577)
           |              |-{lightdm}(515)
           |              `-{lightdm}(517)
           |-lvmetad(235)
           |-nautilus(3135,jwtiyar)-+-{nautilus}(3136)
           |                        |-{nautilus}(3137)
           |                        |-{nautilus}(3139)
           |                        `-{nautilus}(3140)
           |-polkitd(1089,polkitd)-+-{polkitd}(1091)
           |                       |-{polkitd}(1092)
           |                       |-{polkitd}(1093)
           |                       |-{polkitd}(1094)
           |                       |-{polkitd}(1095)
           |                       |-{polkitd}(1096)
           |                       `-{polkitd}(1097)
           |-polybar(801,jwtiyar)-+-{polybar}(840)
           |                      |-{polybar}(877)
           |                      |-{polybar}(878)
           |                      |-{polybar}(879)
           |                      |-{polybar}(880)
           |                      |-{polybar}(882)
           |                      |-{polybar}(883)
           |                      |-{polybar}(884)
           |                      |-{polybar}(885)
           |                      |-{polybar}(886)
           |                      |-{polybar}(887)
           |                      |-{polybar}(888)
           |                      |-{polybar}(889)
           |                      `-{polybar}(891)
           |-rtkit-daemon(1225,rtkit)-+-{rtkit-daemon}(1226)
           |                          `-{rtkit-daemon}(1227)
           |-sxhkd(719,jwtiyar)
           |-systemd(580,jwtiyar)-+-(sd-pam)(581)
           |                      |-at-spi-bus-laun(1006)-+-dbus-daemon(1012)
           |                      |                       |-{at-spi-bus-laun}(1007)
           |                      |                       |-{at-spi-bus-laun}(1008)
           |                      |                       `-{at-spi-bus-laun}(1010)
           |                      |-at-spi2-registr(1018)-+-{at-spi2-registr}(1025)
           |                      |                       `-{at-spi2-registr}(1026)
           |                      |-dbus-daemon(711)
           |                      |-dconf-service(2776)-+-{dconf-service}(2777)
           |                      |                     `-{dconf-service}(2778)
           |                      |-gvfs-udisks2-vo(2786)-+-{gvfs-udisks2-vo}(2787)
           |                      |                       |-{gvfs-udisks2-vo}(2788)
           |                      |                       `-{gvfs-udisks2-vo}(2789)
           |                      |-gvfsd(2697)-+-gvfsd-admin(2961)-+-{gvfsd-admin}(2964)
           |                      |             |                   `-{gvfsd-admin}(2965)
           |                      |             |-gvfsd-dnssd(2942)-+-{gvfsd-dnssd}(2943)
           |                      |             |                   `-{gvfsd-dnssd}(2944)
           |                      |             |-gvfsd-network(2935)-+-{gvfsd-network}(2936)
           |                      |             |                     |-{gvfsd-network}(2937)
           |                      |             |                     `-{gvfsd-network}(2941)
           |                      |             |-gvfsd-recent(2804)-+-{gvfsd-recent}(2805)
           |                      |             |                    `-{gvfsd-recent}(2806)
           |                      |             |-gvfsd-trash(2704)-+-{gvfsd-trash}(2705)
           |                      |             |                   `-{gvfsd-trash}(2706)
           |                      |             |-{gvfsd}(2698)
           |                      |             `-{gvfsd}(2699)
           |                      |-gvfsd-fuse(2702)-+-{gvfsd-fuse}(2712)
           |                      |                  |-{gvfsd-fuse}(2713)
           |                      |                  |-{gvfsd-fuse}(2714)
           |                      |                  |-{gvfsd-fuse}(2715)
           |                      |                  `-{gvfsd-fuse}(2716)
           |                      |-gvfsd-metadata(2810)-+-{gvfsd-metadata}(2811)
           |                      |                      `-{gvfsd-metadata}(2812)
           |                      |-kded5(2037)-+-{kded5}(2038)
           |                      |             `-{kded5}(2039)
           |                      |-pipewire(2781)-+-pipewire-media-(2783)---{pipewire-media-}(2785)
           |                      |                `-{pipewire}(2782)
           |                      |-xdg-desktop-por(2751)-+-{xdg-desktop-por}(2752)
           |                      |                       |-{xdg-desktop-por}(2753)
           |                      |                       |-{xdg-desktop-por}(2779)
           |                      |                       |-{xdg-desktop-por}(2780)
           |                      |                       `-{xdg-desktop-por}(2784)
           |                      |-xdg-desktop-por(2768)-+-{xdg-desktop-por}(2769)
           |                      |                       |-{xdg-desktop-por}(2770)
           |                      |                       `-{xdg-desktop-por}(2774)
           |                      |-xdg-document-po(2755)-+-fusermount(2763,root)
           |                      |                       |-{xdg-document-po}(2756)
           |                      |                       |-{xdg-document-po}(2757)
           |                      |                       |-{xdg-document-po}(2764)
           |                      |                       |-{xdg-document-po}(2765)
           |                      |                       |-{xdg-document-po}(2766)
           |                      |                       `-{xdg-document-po}(2767)
           |                      `-xdg-permission-(2758)-+-{xdg-permission-}(2759)
           |                                              `-{xdg-permission-}(2761)
           |-systemd-journal(219)
           |-systemd-logind(279)
           |-systemd-udevd(232)
           |-udisksd(1085)-+-{udisksd}(1086)
           |               |-{udisksd}(1088)
           |               |-{udisksd}(1099)
           |               `-{udisksd}(1103)
           |-upowerd(1105)-+-{upowerd}(1107)
           |               `-{upowerd}(1108)
           `-wpa_supplicant(338)

Offline

#6 2020-09-21 10:37:01

jwtiyar
Member
From: Kurdistan
Registered: 2013-01-25
Posts: 62

Re: [SOLVED] Why some apps should run as root then it opens?

Sorry solskog
This saved me

sudo chown -R --reference="$HOME" ~/.config

Thank you again, I thought from begining that related to privilege but didn't know how to solve.

Last edited by jwtiyar (2020-09-21 10:37:22)

Offline

#7 2020-09-21 10:50:48

solskog
Member
Registered: 2020-09-05
Posts: 462

Re: [SOLVED] Why some apps should run as root then it opens?

@jwtiyar You are welcome! Plase don't be sorry! We are all here to help each other!

This is not a bump.

Offline

Board footer

Powered by FluxBB