dong backintime (root): WARNING: Not configured

Asked by afrodoc

i keep getting this error message in my logs and backintime does not run. im not sure what it means. i have a configuration in my ~/.config/backintime/. is it trying to run as root?

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Dan
Solved:
Last query:
Last reply:
Revision history for this message
Best Dan (danleweb) said :
#1

Yes, I is configured as a normal user but it runs as root.
You should configure it as root or just make a symlink from "~/.config/backintime/" to "roo/.config/backintime/".

Revision history for this message
afrodoc (arsenovic) said :
#2

cool. i can do this.
 but how is this supposed to work? if its configured by normal user and run as root?

Revision history for this message
afrodoc (arsenovic) said :
#3

Thanks Dan, that solved my question.

Revision history for this message
Krzysztof Dryja (cih997) said :
#4

I am using Back In Time 1.0.10 (Ubuntu 13.10). I run it as a root (via sudo). All works fine but CRON.

Dan's solution works perfectly but why isn't it done by default? IMO this is very confusing.

Revision history for this message
Germar (germar) said :
#5

That's because you're using 'sudo backintime-gnome'. You should rather use 'gksu backintime-gnome' or 'kdesudo -c backintime-kde4'.

sudo will not change HOME environ which causes your problems:
$ sudo env | grep ^HOME
HOME=/home/germar
$ gksu env | grep ^HOME
HOME=/root

Revision history for this message
Krzysztof Dryja (cih997) said :
#6

That makes perfectly sense. However I installed backintime and in gnome-shell application list (grid) I noticed two icons - Back In Time and Back In Time (root). I use the second one.

I assume that this second icon should run "gksu" command instead of "sudo"? I am not sure if those icons are made by Back In Time installator or by Gnome Shell though.

Revision history for this message
Germar (germar) said :
#7

The icons (or better the corresponding .desktop files) are part of BIT and you're right, 'Back In Time (root)' will use 'gksu'