So, now I can’t execute things like “zypper -v up” as I always do with my Leap 15.6 and (orig)Leap 16 systems (and previous TW systems). I’ll continue my long-standing tradition to set a root user password during install
For me, I enter the password at the initial password pop-up dialog, then about 2-3 seconds pass, and a second [error] pop-up is displayed “Incorrect password … please enter the root password”, allowing a second attempt.
@shundhammer I read your suggestion on github about logging in as root to configure thing and that’s what I did. Unfortunately myrlyn still won’t use larger fonts. Even in a plasma root session.
Is this a topic for this thread or should I move to the relevant github issue?
You don’t know the context. This is about setting the desktop theme for root to get fonts that are actually readable. This is realistically only doable when logging in as root.
This thread has been quite bouncy. One problem is the “no need to provide a password for the root user at login during the install process”. A previous post of mine proved it does influence “after installation, usability failures for the root user”.
Okay, here’s a quick example about the font | rendering thing. I’m using my regular Leap 16 install (since Beta), where as a matter of habit, I provided a root login during installation. (I’ve deleted the test Leap 16 I installed without defining root config, to test for this thread).
The first screenshot … I launched Myrlyn (root choice) from the KDE Plasma menu (yes, you have to enter the root password). Yuck (to me). No dark mode, etc.
Okay, the second screenshot … I launched from a konsole, as my user, using “sudo -E myrlyn” (then the root password). Notice that it matches my Dark Mode, and the fonts (larger) match my user settings (why I used “-E”, so it inherits my profile settings).
So, for me personally, it’s a pain to have to “configure the root user account to match what you prefer”, because I’ve already done that for my user, and I can pass that on to root activities.
Using kdesu myrlyn here works.
I don’t know if some modification I made had an influence also because I modified
the theme in systemsettings and qt6ct as su.
A look into the myrlyn-sudo script will tell you that it sources this file if it exists, so those variables are added to the environment for the sudo call if they are in the ENV_KEEP list.
This is used for myrlyn-sudo. For a non-root myrlyn call, add the variables to your ~/.bashrc or equivalent as usual.
The latest Myrlyn binary also logs the environment variables starting with QT. Build from source or use myrlyn-git linked from the home page.
Yes, that’s much easier, of course, but sudo -E depends on your sudo configuration allowing to keep the entire shell environment.
On my long journey to make Myrlyn work with root privileges for the average user who doesn’t know much about the sudo configuration I tried that as well, and it didn’t take long for users to populate the issue tracker with exactly that problem.
By all means, use sudo -E if it works for you, but be aware that this may not be the norm.