You are not logged in.

#1 2011-05-06 21:55:18

scenox
Member
Registered: 2010-07-19
Posts: 63

[SOLVED]error message of package at startup, but package not installed

Hi,

after gdm login, i get an error message which says that ntpd requires root. the strange thing is, i have ntpd not longer installed, neither openntpd nor ntp. there is no /usr/bin/ntp, ntp is also not in gnome autostart locations: /etc/xdg/autostart/ and /usr/share/gnome/autostart/

the message is annoying because it delays the start of gnome for some seconds.

Do you have some idea why this message is coming and how to delete it?

Last edited by scenox (2011-05-14 20:31:35)

Offline

#2 2011-05-06 22:36:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]error message of package at startup, but package not installed

Maybe you still have it in your DAEMONS array:

DAEMONS=(... !hwclock ntpd ...)

Offline

#3 2011-05-07 04:49:46

scenox
Member
Registered: 2010-07-19
Posts: 63

Re: [SOLVED]error message of package at startup, but package not installed

No.. I already have deleted it from there

Offline

#4 2011-05-07 11:59:47

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED]error message of package at startup, but package not installed

Probably autostarted from $HOME

Also updatedb && locate ntp


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2011-05-07 12:11:46

Kane
Member
Registered: 2006-10-08
Posts: 220

Re: [SOLVED]error message of package at startup, but package not installed

how about if network time is enabled in gnome?

Offline

#6 2011-05-08 12:53:42

scenox
Member
Registered: 2010-07-19
Posts: 63

Re: [SOLVED]error message of package at startup, but package not installed

updatedb && locate ntp gave me the following (without /var/abs/ and other non-relevant):

/home/scenox/.gconf/desktop/gnome/url-handlers/nntp
/home/scenox/.gconf/desktop/gnome/url-handlers/nntp/%gconf.xml
/home/scenox/.wine/drive_c/windows/system32/ntprint.dll
/lib/modules/2.6.38-ARCH/kernel/drivers/staging/speakup/speakup_acntpc.ko.gz
/root/.wine/drive_c/windows/system32/ntprint.dll
/usr/bin/podofocountpages
/usr/include/liboobs-1.0/oobs/oobs-ntpconfig.h
/usr/include/liboobs-1.0/oobs/oobs-ntpserver.h
/usr/share/licenses/printproto
/usr/share/licenses/printproto/COPYING
/usr/share/man/man1/mountpoint.1.gz
/usr/share/man/man1/podofocountpages.1.gz
/usr/share/man/man3/getparentpaths_by_handle.3.gz
/usr/share/man/man3/grantpt.3.gz
/usr/share/man/man3/grantpt.3p.gz
/usr/share/perl5/vendor_perl/LWP/Protocol/nntp.pm
/usr/share/perl5/vendor_perl/URI/nntp.pm
/usr/share/sip/QtGui/qprintpreviewdialog.sip
/usr/share/sip/QtGui/qprintpreviewwidget.sip
/usr/share/terminfo/n/ncr260intpp
/usr/share/xml/docbook/xsl-stylesheets-1.76.1/params/currentpage.marker.xml
/usr/src/linux-2.6.38-ARCH/include/config/speakup/synth/acntpc.h
/usr/src/linux-2.6.38-ARCH/include/linux/eventpoll.h

I deleted .gconf/desktop/gnome/url-handlers/nntp, but no change. So I looked into .xsession-errors and found the following:

xauth: /tmp/libgksu-LkIDkC/.Xauthority
STARTUP_ID: gksudo/ntpd/2263-0-arch_TIME0
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[4]: GNOME_SUDO_PASS
cmd[5]: -u
cmd[6]: root
cmd[7]: --
cmd[8]: ntpd
buffer: -GNOME_SUDO_PASS-
brute force GNOME_SUDO_PASS ended...
Yeah, we're in...

Can this help?

Kane wrote:

how about if network time is enabled in gnome?

How to enable network time?

Last edited by scenox (2011-05-08 12:55:18)

Offline

#7 2011-05-14 15:14:41

scenox
Member
Registered: 2010-07-19
Posts: 63

Re: [SOLVED]error message of package at startup, but package not installed

Nobody can help?

Offline

#8 2011-05-14 18:03:02

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 454

Re: [SOLVED]error message of package at startup, but package not installed

you should have it in the "date and time" setting.

ezik

Last edited by shulamy (2011-05-14 18:04:10)

Offline

#9 2011-05-14 18:34:57

scenox
Member
Registered: 2010-07-19
Posts: 63

Re: [SOLVED]error message of package at startup, but package not installed

Thanks, I activated that now, but the error message still exists.

Some more info: When I enter the password for ntpd root permission, I get this error: "The underlying authorization mechanism (sudo) does not allow you to run this program. Contact the system administrator."

Edit: Solved, there was a .desktop entry in /.config/autostart/
gksudo.desktop

[Desktop Entry]
Type=Application
Exec=gksudo ntpd -s -d
Hidden=false
X-GNOME-Autostart-enabled=true
Name[de_AT]=Time Sync
Name=Time Sync
Comment[de_AT]=
Comment=

Last edited by scenox (2011-05-14 20:34:11)

Offline

Board footer

Powered by FluxBB