| Summary: | Cannot open apps as root in XFCE | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Alejandro Simón <alejandrodsimon> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | lewyssmith, ouaurelien |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | xfconf | CVE: | |
| Status comment: | |||
|
Description
Alejandro Simón
2020-12-16 18:21:06 CET
Hi thanks reporting this. I will say you never, never, run "su" as is. See:https://wiki.mageia.org/en/Never_use_just_su You must use "su -". The latter character is "minus" sign. Also, you should append mousepad by a dbus-launch command: $ su - Password: # dbus-launch mousepad Also running software as superuser is not there recommanded way. CC:
(none) =>
ouaurelien I second Aurélien's advice. Certainly almost never use a graphical application as root (unless they are designed as such and ask for a password, like MCC, rpmdrake, isoDumper) - which is why some of them do not allow it. You can of course always use the command line as root, and indeed often have to for doing system things. But it is mostly better to put yourself in the 'wheel' (sometimes 'sudoers') group, and do anything that requires root privileges by: $ sudo <command> Re that '-': If you just do bare 'su', you stay in the directory you were in. If you use 'su -' you go to /root CC:
(none) =>
lewyssmith (In reply to Lewis Smith from comment #2) > I second Aurélien's advice. Certainly almost never use a graphical > application as root (unless they are designed as such and ask for a > password, like MCC, rpmdrake, isoDumper) - which is why some of them do not > allow it. > > You can of course always use the command line as root, and indeed often have > to for doing system things. But it is mostly better to put yourself in the > 'wheel' (sometimes 'sudoers') group, and do anything that requires root > privileges by: > $ sudo <command> > > Re that '-': > If you just do bare 'su', you stay in the directory you were in. > If you use 'su -' you go to /root Thanks!! Good, you seem satisfied, closing this accordingly. Resolution:
(none) =>
WORKSFORME |