Re: gkrellmd question

Bill Wilson <[email protected]> Thu, 14 Jan 2010 19:42:03 -0600
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Thu, 14 Jan 2010 20:18:35 -0500
Rio <[email protected]> wrote:

> and i ran the client using this last configuration and it sees the vid perfectly :)
> 
> i am going to try running the regular distribution daemon now to see how that works
> 
> ok here is what happens..
> 
> i used your debug daemon in place of the production one. i ran it as my desktop user.. no 
> video temps.. i ran it as root and ran the client as my desktop user and i have temps.
> 
> i have no clue how to check what has permission to open the x display. i could just run 
> the daemon as root since it only looks at localhost. i will compile another gkrellmd since 
> in my haste to try this i did not makea backup of the binary and try that as root.

So it seems it is a permissions problem.  When you login to X, only the login user
has permission to open the X display.  And since nvidia-settings needs to talk
to the X display kernel module, the gkrellmd program also needs that permission.
The login user can give permission to other users using xhost.  The man page
says that you can give permission to individual users, but it doesn't work for me.
I can only give permission to all local users with:  xhost +local:
Run xhost with no args to see the access list.

Bill



______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com