Page 1 of 1
Changing system time
Posted: Thu Sep 06, 2012 2:13 pm
by manderson2228
I am trying to change the system time using the system-config-date command and i am getting the error RunTimeError: could not open display
We are using CentOS
Re: Changing system time
Posted: Thu Sep 06, 2012 2:55 pm
by agriffin
Is this a headless server or are you using a graphical environment on the system? (you need a graphical environment to run it)
Re: Changing system time
Posted: Thu Sep 06, 2012 3:02 pm
by agriffin
And actually, while system-config-date is a useful utility, you don't need it to change the time. You can just edit the file /etc/sysconfig/clock to set the timezone, and use the date command to set the time: