| Autor | 
    Nachricht | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: cannot set time in Hellfire 
             Verfasst am: 31.03.2011, 08:28 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 28. Nov 2006 
            Beiträge: 9 
             
            
            
           | 
         
       
     | 
    
      
        
          Cannot set time in taskbar. Tried adjusting in BIOS but KDE keeps changing my BIOS clock (how does it do that?)
 
 
 
error:" Could not authenticate"
 
 
Have tried from control center as well - no luck.
 
 
Any help 
 
Thanks | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: cannot set time in Hellfire 
             Verfasst am: 31.03.2011, 09:17 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 17. Dez 2003 
            Beiträge: 16809 
             
            
            
           | 
         
       
     | 
    
      
        
          First of all check if you use utc or not in /etc/default/rcS - win defaults to UTC=no, osx to UTC=yes. For win you could use a reghack to force UTC. After all installed systems use the same setting for the bios clock select the correct timezone:
 
 
dpkg-reconfigure tzdata
 
 
then use ntp to correct the current time:
 
 
fix-time
 
 
and everything should be perfect. I would not use any kde gui to do that - did not verify where this would write the config (usally /etc/timezone). | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: cannot set time in Hellfire 
             Verfasst am: 02.04.2011, 07:25 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 28. Nov 2006 
            Beiträge: 9 
             
            
            
           | 
         
       
     | 
    
      
        
          UTC is yes in rcS
 
 
Your solution seems to have worked (at least in LiveCD). Now I will try on installed system.
 
 
Thank you Kano | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: Re: cannot set time in Hellfire 
             Verfasst am: 25.05.2011, 11:01 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 25. Mai 2011 
            Beiträge: 25 
            Wohnort: France 
            
            
           | 
         
       
     | 
    
      
        
          | 
 Kano hat folgendes geschrieben:: 
First of all check if you use utc or not in /etc/default/rcS - win defaults to UTC=no, osx to UTC=yes. For win you could use a reghack to force UTC. After all installed systems use the same setting for the bios clock select the correct timezone:
 
dpkg-reconfigure tzdata
 
then use ntp to correct the current time:
 
fix-time
 
 
and everything should be perfect. I would not use any kde gui to do that - did not verify where this would write the config (usally /etc/timezone).
 
 
 
I have the same problem, and cannot modify the file rcS when logged as not root.
 
Can you tell me as clearly as possible how to do: I am a very beginner and do not understand all, this for example: 
 
""for the bios clock select the correct timezone:
 
dpkg-reconfigure tzdata
 
then use ntp to correct the current time:
 
fix-time""
 
 
Thanks | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: Re: cannot set time in Hellfire 
             Verfasst am: 25.05.2011, 11:09 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 17. Dez 2003 
            Beiträge: 16809 
             
            
            
           | 
         
       
     | 
    
      
        
          As root you can do:
 
 
sed -i 's/\(^UTC\)=.*/\1=no/' /etc/default/rcS | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: Re: cannot set time in Hellfire 
             Verfasst am: 25.05.2011, 18:20 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 15. Mar 2008 
            Beiträge: 610 
             
            
            
           | 
         
       
     | 
    
      
        
          Hi gap,
 
 
welcome to Kanotix forum. All the magic lines Kano posted here are shell commands. Just open a shell/console (the black icon in panel). To become root just type the command
Code: 
su
 
It will ask you for your root password. Then you can copy and paste these lines (avoids typos). In general most commands can be executed with user priviliges, but change time require root priviliges, thereforce the su before  
 
 
If you have more questions, don't hesitate to ask here or in IRC.
 
 
Regards, TheOne | 
         
        
          
          
            
          
             _________________ Lenovo ThinkPad X220 | Core i7-2640M 16GB | Hellfire 3.6
 
FSC Tablet T4220 | Core2 Duo T7250 2GHz 3GB | Intel GMA X3100 | Hellfire 3.6
 
Clevo M570U | Core2 T7200 2GHz 2GB | Geforce Go 7950gtx | Hellfire 3.2
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: Re: cannot set time in Hellfire 
             Verfasst am: 26.05.2011, 12:56 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 25. Mai 2011 
            Beiträge: 25 
            Wohnort: France 
            
            
           | 
         
       
     | 
    
      
        
          Thanks for your replies, guys.
 
I did:
 
su
 
password
 
sed -i 's/\(^UTC\)=.*/\1=no/' /etc/default/rcS
 
 
But I still cannot change Time zone, nor activate "Set date and time automatically" option. I have an error message: Unable to authenticate/execute the action: 4,
 
 
what to do next? Thanks!
 
gap | 
         
        
          
          
            
          
             _________________ Kanotix Spitfire-nightly Spitfire64 160603a KDE
 
PC -- AMD Athlon 64 3200+ 1,99GHz -- RAM 2GB
 
NVIDIA GeForce FX 5500 256MB
 
Ethernet card, internet by Fiber
            
  Zuletzt bearbeitet von gap am 27.05.2011, 10:19 Uhr, insgesamt ein Mal bearbeitet
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: Re: cannot set time in Hellfire 
             Verfasst am: 26.05.2011, 21:05 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 17. Dez 2003 
            Beiträge: 16809 
             
            
            
           | 
         
       
     | 
    
      
        
          You should use
 
 
dpkg-reconfigure tzdata
 
 
then
 
 
fix-time
 
 
do NOT use the gui! | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: Re: cannot set time in Hellfire 
             Verfasst am: 27.05.2011, 09:47 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
             
  
            Anmeldung: 25. Mai 2011 
            Beiträge: 25 
            Wohnort: France 
            
            
           | 
         
       
     | 
    
      
        
          | Time is OK now, thank you. But it would be easier to change it as root in Date & Time - System Settings where all the possibilities are displayed but one cannot use it. Now I would like to activate there Set date and time automatically... | 
         
        
          
          
            
          
             _________________ Kanotix Spitfire-nightly Spitfire64 160603a KDE
 
PC -- AMD Athlon 64 3200+ 1,99GHz -- RAM 2GB
 
NVIDIA GeForce FX 5500 256MB
 
Ethernet card, internet by Fiber
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: Re: cannot set time in Hellfire 
             Verfasst am: 27.05.2011, 10:54 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 17. Dez 2003 
            Beiträge: 16809 
             
            
            
           | 
         
       
     | 
    
      
        
          | The fix-time script sets the time using a ntp server. Usually it is enough to call it sometimes. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: RE: Re: cannot set time in Hellfire 
             Verfasst am: 21.06.2011, 20:03 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 05. Apr 2011 
            Beiträge: 79 
            Wohnort: Norway 
            
            
           | 
         
       
     | 
    
      
        
          Systemsettings/the gui actually works. It says 'could not authenticate action' when trying to change settings
 
with kdesu Systemsettings but if you make the changes, click apply and then use the back arrow after getting the error message it applies the changes successfully.
 
I'll use the command line if I get more probs with this. | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
    | 
      
     | 
    
      
        
					
            Titel: Re: RE: Re: cannot set time in Hellfire 
             Verfasst am: 24.09.2011, 09:47 Uhr
           | 
				 
       
     | 
  
  
    
      
        
          
             
            
  
            Anmeldung: 22. Sep 2011 
            Beiträge: 26 
            Wohnort: Oldham nr Manchester UK 
            
            
           | 
         
       
     | 
    
      
        
          | 
 Kano hat folgendes geschrieben:: 
You should use
 
 
dpkg-reconfigure tzdata
 
 
then
 
 
fix-time
 
 
do NOT use the gui!
 
 
Had the same problem - sorted -thanks   | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
  
  
    | 
      
      
     | 
  
  
      | 
  
  
  
    | 
      
     |