Re: gkrellmd question

Bill Wilson <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On Wed, 13 Jan 2010 13:47:02 -0500
Rio <[email protected]> wrote:

> ok here ya go!
> 
> 
> #src/gkrellm -d 0x80
> --- GKrellM 2.3.4 ---
> hddtemp_daemon_read (once a minute):
>         |/dev/sda|WDC WD7502ABYS-02A6B0|31|C||/dev/sdb|WDC WD7502ABYS-02A6B0|30|C|
> nvidia-settings: result=1  output=
> 2 GPUs on odyssey:0
> 
>     [0] odyssey:0[gpu:0] (GeForce GTX 285)
> 
>     [1] odyssey:0[gpu:1] (Tesla C1060)
> 
> 
> nvidia-settings: gpus = 2
...
> 
> #server/gkrellmd -d 0x80
> Starting GKrellM Daemon 2.3.4test
>         [gkrellm_connect_to: (2,1,6) 127.0.0.1:7634]
> hddtemp_daemon_read (once a minute):
>         |/dev/sda|WDC WD7502ABYS-02A6B0|31|C||/dev/sdb|WDC WD7502ABYS-02A6B0|30|C|
> nvidia-settings: result=1  output=
> nvidia-settings: gpus = 0

gkrellm and gkrellmd both use the same source code file for running the nvidia-settings
program, so I'm almost clueless here.  For your gkrellmd run you are getting no
output (after the "nvidia-settings: result=1  output=" line).
At least none from stdout and I neglected to look at stderr.  That would be the only
thing left I can think to look at because as far as the glib g_spawn functions are concerned,
the nvidia-settings command is running successfully.  But you mentioned before
something about running as root?  Are you running either or both gkrellm and gkrellmd
as root?  I wonder because if gkrellmd doesn't have permission to open a display
to the X server, then nvidia-settings won't give any output on stdout.

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.