It would appear that on Sep 28, Patrick Shanahan did say:
* Joe(theWordy)Philbrook
[09-28-11 13:33]: I've tried starting yast2 from an "xterm" (actually a "konsole" window, {konsole being one of the few KDE apps I still use in spite of kde4}):
emblishment irrelivant
"Embellishment", maybe "irrelevant" I'm not so sure, I've seen things work very differently in other xterm like terminal windows than in a Konsole from the KDE environment. And since I didn't know WHY I got three different results from the three different methods (all of which I "thought" should have worked), How would I know if the difference between an xterm and a konsole window was significant.
This bothers me because I much prefer to use either: 'su -c "command arglist"' or 'sudo command arglist' to start an admin level gui than to leave an open root shell that I might forget to close hanging around.
It bothers you that the incorrect commandline will not provide the function you wish? su - -c yast2 works for me from a user prompt in xterm and/or konsole
OK my command line could have been improved. Thank you for reminding me that it is possible to include providing "an environment similar to" having logged in as the target user (in this case root) AND the "-c command" option in the same su command. I really should have thought of that. Though I still don't understand why my less evolved command form didn't work. If I had looked at "man su" however I wouldn't have thought your example was quite "correct" however. (At least not going by the man document in Sabayon Linux, (which I'm using at the moment) because it says: => When - is used, it must be specified as the last su option. The => other forms (-l and --login) do not have this restriction. which makes me think the "correct" form would have to be either: su -l -c yast2 or perhaps: su -c yast2 - But of course, I could just as easily be misunderstanding the man document Thanks again for including your example of an improved command.
And of course because there should be a working yast menu choice in the gui menu on an OpenSuSE system, shouldn't there???
there is!
Can anybody tell me how to fix this?
use the correct command
ps: really, your personal habits/needs/wants/desires are not necessary to ask why a particular command does not work for you, and detract immensely from your real question; ie: wordy is not necessary.
Maybe not strictly "necessary" Patrick, but when I try to be more succinct,
I often fail to convey enough details to make the people who know what I
don't, understand the question I'm asking, instead of the question they
would have asked...
ie: to "NOT" be wordy would be to "NOT" be myself.
I'm sorry if my excessive wordiness bothers you. But it is my natural
state...
Thanks again for providing such a useful hint, even to somebody who's
writing style seems to bug you. That is a sign of a kind heart.
have a nice day
--
| --- ___
| <0> <-> Joe (theWordy) Philbrook
| ^ J(tWdy)P
| ~\___/~ <