From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: elogviewer and something odd with equery
Date: Sat, 10 Jul 2010 00:20:36 -0500 [thread overview]
Message-ID: <4C380324.6090509@gmail.com> (raw)
In-Reply-To: <4BD61C8A.5020106@gmail.com>
Dale wrote:
> walt wrote:
>> On 04/26/2010 03:11 PM, Dale wrote:
>>> Alex Schuster wrote:
>>>> Dale writes:
>>>>
>>>>> Again, I am using Konsole for this. This may be a KDE thing. I know
>>>>> it worked fine in KDE3 but then again, a LOT of things worked fine in
>>>>> KDE3.
>>>> It's probably not a KDE thing. I'm also using konsole in KDE4, and
>>>> after
>>>> becoming root (via su or su -) I have no Problems starting X
>>>> applications.
>>>>
>>>> I'm no expert at X authorization stuff. But I know that in the past
>>>> I also
>>>> had trouble when becoming root. Why it works for me and not for you
>>>> - I
>>>> don't know.
>>>>
>>>> Workarounds you might try:
>>>> - Emerge sux, and use sux instead of su. Worked for me in the past.
>>>> - ssh -Y root@localhost
>>>>
>>>> Wonko
>>>>
>>>>
>>>
>>> I don't use su. When I open the Konsole, it asks for a password.
>>
>> Does that mean you are not using the standard konsole, rather a special
>> icon intended to open a root terminal? Must be, otherwise it wouldn't
>> ask for the root password.
>>
>> Try opening a standard user konsole and just use su instead. (Or even,
>> heaven forbid, an xterm instead of konsole.) That should detect a KDE
>> problem if it exists.
>>
>
> The way I did was this. The entry you have but I edited it to run as
> root when it is clicked on. I have a couple things that are set that
> way. Kbackup is set that way. It can't access some files I want to
> backup if it is set to run as a user. You can edit this by clicking
> the advanced tab in the menu editor. I also have konqueror set as my
> file manager and it is set to run as root. It is running on another
> desktop right now. It works fine. I can run Kbackup, as root, and it
> connects just fine. I just tried it to make sure. Since I can go to
> my /root directory, I know it is running as root.
>
> Weird things always happen to me. Why can't something weird like
> winning the lottery happen to me? lol
>
> Dale
>
> :-) :-)
>
OK. I finally fixed this so that it works. Naturally it was simple but
I wanted to share. ;-) Edit the menu item for konsole and on the line
where it says command, enter this: "konsole --profile root" Remove the
quotes of course. That is part one. Part two, open a console and
create a new profile named root. If you name it something else, edit
the line above to match. Then in the General tab in the box command,
type in "/bin/su -". Remove the quotes of course. Save everything.
Then when you click on it in the future, it will open as a user BUT it
asks for the root password. Then you can run programs and it find the
GUI. This has worked with kwrite and elogviewer so far.
Yea, this was driving me nuts. I knew this could work but had to figure
out how to make it work. The command to run was my light bulb moment.
Dale
:-) :-)
next prev parent reply other threads:[~2010-07-10 5:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 4:25 [gentoo-user] elogviewer and something odd with equery Dale
2010-04-26 16:07 ` [gentoo-user] " walt
2010-04-26 17:59 ` Dale
2010-04-26 20:33 ` walt
2010-04-26 20:53 ` Dale
2010-04-26 21:26 ` walt
2010-04-26 21:46 ` Dale
2010-04-26 22:04 ` Alex Schuster
2010-04-26 22:11 ` Dale
2010-04-26 22:42 ` walt
2010-04-26 23:06 ` Dale
2010-07-10 5:20 ` Dale [this message]
2010-04-26 22:07 ` Neil Bothwick
2010-04-26 22:58 ` Dale
2010-04-26 21:17 ` Alan McKinnon
2010-04-27 15:45 ` Peter Humphrey
2010-04-27 16:05 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C380324.6090509@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox