Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gDesklets Fails to Work
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Aurora
l33t
l33t


Joined: 26 Sep 2003
Posts: 658
Location: Classified

PostPosted: Fri Mar 26, 2004 3:33 am    Post subject: gDesklets Fails to Work Reply with quote

Well, I did a search and I have a feeling I am just missing something simple here...

I can't seem to get gDesklets to work at all...

I installed the sensors for "GoodWeather," and copiesd the .display file to /usr/share/gdesklets/Displays (since Gnome's file manager doesn't automatically like to link the .display files to gdesklets).

I go to a command prompt and type:

Code:
gdesklets GoodWeather.display


Then the error pops up (it's pretty much the same one for every display I've tried...they all fail):

Code:
 gdesklets GoodWeather.display
 
(gDesklets:16493): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
Could not connect to gnome-session. GNOME session management will not be
available for this application.
gDesklets 0.26
Copyright (C) 2003, 2004 Martin Grimme, Christian Meyer, Jesse Andrews
 
This software is licensed under the terms of the GNU GPL.
 
OPTS::  [] REST::  ['GoodWeather.display']


I can't seem to figure out what this session manager authentication error is all about...

sry if this has been answered before. I did search, but nothing came up that really related to this problem.

Thanks!
_________________
"My downfall raises me to infinite heights." -Napoleon Bonaparte
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Fri Mar 26, 2004 5:03 am    Post subject: Reply with quote

are you doing that as root or a normal user?
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Duffy
n00b
n00b


Joined: 02 Dec 2003
Posts: 33

PostPosted: Fri Mar 26, 2004 4:27 pm    Post subject: Reply with quote

you add the desklets with "gdesklets desklet.display" but you also have to start it with "gdesklets"
so first add them like "gdesklets weather.display" and then "gdesklets"

the errormessage is a bug -> https://bugs.gentoo.org/show_bug.cgi?id=43442

but i think its a warning not an error ;)
_________________
"This donut has purple in the middle, purple is a fruit. " -- Homer Jay Simpson
Back to top
View user's profile Send private message
Vadatajs
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2003
Posts: 89
Location: New York

PostPosted: Fri Mar 26, 2004 4:50 pm    Post subject: Reply with quote

you have to give the full path to the display

ie gdesklets /usr/share/gdesklets/Display/....
_________________
Te occidere possunt sed te erde non possunt nefas est.
so it goes
Back to top
View user's profile Send private message
jawaking00
n00b
n00b


Joined: 11 Mar 2004
Posts: 32

PostPosted: Fri Mar 26, 2004 5:05 pm    Post subject: Reply with quote

I am running Xfce-4 and I am getting a similar problem.

When I try running gdesklets as either root or user I get the following error:

Code:

bash-2.05b$ gdesklets
Error loading target html
Could not connect to gnome-session. GNOME session management will not be
available for this application.
gDesklets 0.26
Copyright (C) 2003, 2004 Martin Grimme, Christian Meyer, Jesse Andrews

This software is licensed under the terms of the GNU GPL.

OPTS::  [] REST::  []
Traceback (most recent call last):
  File "/usr/bin/gdesklets", line 73, in ?
    cmdlineparser.parse(sys.argv[1:])
  File "/usr/share/gdesklets/main/CmdLineParser.py", line 72, in parse
    settings.profile = admin.get_profile()
  File "/usr/share/gdesklets/main/admin.py", line 196, in get_profile
    config = singleton.get(ConfigManager)
  File "/usr/share/gdesklets/utils/singleton.py", line 20, in get
    _singletons[clss] = apply(clss, args)
  File "/usr/share/gdesklets/config/ConfigManager.py", line 23, in __init__
    self.__backend = GConfBackend(_CONFIG_LOCATION)
  File "/usr/share/gdesklets/config/GConfBackend.py", line 18, in __init__
    self.__client.add_dir(self.__path, gconf.CLIENT_PRELOAD_RECURSIVE)
gobject.GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: IOR file '/tmp/gconfd-jawaking/lock/ior' not opened successfully, no gconfd located: No such file or directory 2: IOR file '/tmp/gconfd-jawaking/lock/ior' not opened successfully, no gconfd located: No such file or directory)


I've tried to initialize the gdesklets and I get basicaly the same thing. Could anyone help me?
Back to top
View user's profile Send private message
kongit
n00b
n00b


Joined: 26 Mar 2004
Posts: 35

PostPosted: Fri Mar 26, 2004 8:20 pm    Post subject: Reply with quote

just run gdesklets by itself first.

gdesklets in the run box for if you have the icon in your menu click on it don't run it in a terminal as if you close the terminal gdesklets will quit. however after you start gdesklets you can run gdesklets goodweather in the terminal.
Back to top
View user's profile Send private message
Duffy
n00b
n00b


Joined: 02 Dec 2003
Posts: 33

PostPosted: Fri Mar 26, 2004 8:37 pm    Post subject: Reply with quote

Quote:
Vadatajs Posted: Fri Mar 26, 2004 2:50 pm Post subject:

--------------------------------------------------------------------------------

you have to give the full path to the display

ie gdesklets /usr/share/gdesklets/Display/....


not when you are in the folder with all your .desktop files ;)
_________________
"This donut has purple in the middle, purple is a fruit. " -- Homer Jay Simpson
Back to top
View user's profile Send private message
Aurora
l33t
l33t


Joined: 26 Sep 2003
Posts: 658
Location: Classified

PostPosted: Fri Mar 26, 2004 10:13 pm    Post subject: Reply with quote

Insanity5902 wrote:
are you doing that as root or a normal user?


I've tried both.
_________________
"My downfall raises me to infinite heights." -Napoleon Bonaparte
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Sat Mar 27, 2004 2:21 am    Post subject: Reply with quote

hmm, i searched the gdesklet forums for you for the last line in error, and the only pose I found relevant the person was trying to run as root.


Hmmm.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Aurora
l33t
l33t


Joined: 26 Sep 2003
Posts: 658
Location: Classified

PostPosted: Sat Apr 03, 2004 11:55 pm    Post subject: Reply with quote

Hummm...

sry to revive this old thread. It's still not working, even after a fresh install...

gDesklets emerged just fine. However, when I load gdesklets using the display location as a parameter as was suggested above, nothing shows up on the screen...

This error still pops up:

Code:
root@tux Display # gdesklets GoodWeather.display
 
(gDesklets:18341): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
Could not connect to gnome-session. GNOME session management will not be
available for this application.
gDesklets 0.26
Copyright (C) 2003, 2004 Martin Grimme, Christian Meyer, Jesse Andrews
 
This software is licensed under the terms of the GNU GPL.
 
OPTS::  [] REST::  ['GoodWeather.display']


Ideas? I'd really like to get this working but I can't seem to figure out what's wrong.
_________________
"My downfall raises me to infinite heights." -Napoleon Bonaparte
Back to top
View user's profile Send private message
stgreek
Apprentice
Apprentice


Joined: 18 Jan 2004
Posts: 155
Location: Guildford, UK

PostPosted: Sun Apr 04, 2004 12:41 am    Post subject: Reply with quote

I have done the following in many gnome installs, works fine every time.

First, emerge gdesklets-core. Also, emerge any desklets you want. Go to nautilus, right click on any gdesklet.display and associate it with gdesklets. Then right click on it, and execute it with gdesklets. This will add it to gdesklets, not run it. Now go to menu->run application and type gdesklets. It will bring up all the desklets you right-clicked and ran. If you wish to have it everytime you start, go to gnome session control panel and add it with priority 50, it will be the last thing to run when you startup gnome.

Hope this helps
_________________
The day Microsoft makes something that doesn't suck is probably the day that they start making vacuum cleaners
Back to top
View user's profile Send private message
potshot
n00b
n00b


Joined: 01 Apr 2004
Posts: 3

PostPosted: Sun Apr 04, 2004 12:54 am    Post subject: Reply with quote

In my experience you have to run gdesklets without any arguments first, before running it again and passing in your .display. Every time after that you can just run gdesklets.

-potshot
Back to top
View user's profile Send private message
potshot
n00b
n00b


Joined: 01 Apr 2004
Posts: 3

PostPosted: Sun Apr 04, 2004 12:55 am    Post subject: Reply with quote

In my experience you have to run gdesklets without any arguments first, before running it again and passing in your .display. Every time after that you can just run gdesklets.

-potshot
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Sun Apr 04, 2004 1:07 am    Post subject: Reply with quote

potshot wrote:
In my experience you have to run gdesklets without any arguments first, before running it again and passing in your .display. Every time after that you can just run gdesklets.

-potshot


I have done it both ways but it works better this way b/c when you start gdesklets first, then run gesklets /path/to/file/desklet.file, then you click where you want to place the gdesklet at.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Randuin
n00b
n00b


Joined: 14 Aug 2003
Posts: 28

PostPosted: Sun Sep 12, 2004 8:13 pm    Post subject: Reply with quote

i seem to be only able to run gdesklets as root, any way I can run it as a normal user?

When I run it as a normal user it just simply doesn't load up
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum