su vs logut/login (was: character display quality difference)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



between users.  [SOLVED]
Reply-To:
In-Reply-To: <2d98c6ff-5924-9b60-d2d8-2b0899cd6a84@xxxxxxxxxxx>

On 21Dec2019 10:53, home user <mattisonw@xxxxxxxxxxx> wrote:
In the testing for this thread, I mostly fully signed off one account and fully logged in to the other rather than using "su".  For renaming and "ls" kinds of things, I did use "su". But for viewing, screen-capturing, and the localectl and locale commands, I wasn't sure, so I did the full logout and login.
(the question)
For what is "su" good enough, and for what is the full logout and login needed?  A full detailed list is impractical, but could someone provide some good guiding principles?

It depends solely on what needs initialising.

An su will produce a new shell with the latest environment settings. So you can test terminal level locale changes etc. If you _invoke_ a new GUI programme from that shell, it should inherit this stuff too.

A GUI logout/login will initialise the desktop, which tends to happen before any terminal shell. So if you're fiddling GUI stuff and _not_ invoking programmes from a shell, the thing you've invoking them from needs to see the changes. For a GUI, that tends to mean restarting the desktop (since you invoke GUI programmes from desktop buttons/icons/menus usually). And a logout/login restarts the desktop.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux