You are not logged in.
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
Maybe you still have it in your DAEMONS array:
DAEMONS=(... !hwclock ntpd ...)
Offline
No.. I already have deleted it from there
Offline
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
how about if network time is enabled in gnome?
Offline
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?
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
Nobody can help?
Offline
you should have it in the "date and time" setting.
ezik
Last edited by shulamy (2011-05-14 18:04:10)
Offline
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