From: invalid on
Is there anyway around not being able to run hp-systray as root?

Running Slackware-Current, HPLIP 2.8.4
From: Dave Uhring on
On Wed, 09 Apr 2008 22:17:16 +0000, invalid wrote:

> Is there anyway around not being able to run hp-systray as root?
>
> Running Slackware-Current, HPLIP 2.8.4

Perhaps because you did 'su -' instead of 'su'?

Or should this just be a guessing game? Do you not have enough sense to
post the error message?
From: invalid on
On Wed, 09 Apr 2008 17:58:05 -0500, Dave Uhring wrote:

> On Wed, 09 Apr 2008 22:17:16 +0000, invalid wrote:
>
>> Is there anyway around not being able to run hp-systray as root?
>>
>> Running Slackware-Current, HPLIP 2.8.4
>
> Perhaps because you did 'su -' instead of 'su'?
>
> Or should this just be a guessing game? Do you not have enough sense to
> post the error message?

HUH? I'm running as root and not as a user, so su is not the issue here.
From: Dave Uhring on
On Wed, 09 Apr 2008 23:17:13 +0000, invalid wrote:

> On Wed, 09 Apr 2008 17:58:05 -0500, Dave Uhring wrote:
>
>> On Wed, 09 Apr 2008 22:17:16 +0000, invalid wrote:
>>
>>> Is there anyway around not being able to run hp-systray as root?
>>>
>>> Running Slackware-Current, HPLIP 2.8.4
>>
>> Perhaps because you did 'su -' instead of 'su'?
>>
>> Or should this just be a guessing game? Do you not have enough sense
>> to post the error message?
>
> HUH? I'm running as root and not as a user, so su is not the issue here.

Are you going to post the error message or not?
From: No_One on
On 2008-04-09, invalid <invalid(a)invalid.invalid> wrote:
> On Wed, 09 Apr 2008 17:58:05 -0500, Dave Uhring wrote:
>
>> On Wed, 09 Apr 2008 22:17:16 +0000, invalid wrote:
>>
>>> Is there anyway around not being able to run hp-systray as root?
>>>
>>> Running Slackware-Current, HPLIP 2.8.4
>>
>> Perhaps because you did 'su -' instead of 'su'?
>>
>> Or should this just be a guessing game? Do you not have enough sense to
>> post the error message?
>
> HUH? I'm running as root and not as a user, so su is not the issue here.

It seems from the script that the systray cannot be run as root:

if os.getuid() == 0:
log.error("hp-systray cannot be run as root. Exiting.")
sys.exit(1)



if you grep the scripts for root, you'll find a numbers of instances of root
barred from some actions, most actions.

ken