Posts: 1,133
Threads: 87
Joined: Sep 2017
Reputation:
0
(08-10-2020, 08:50 PM)Şerban S. link Wrote: [quote author=Moltke link=topic=7591.msg53272#msg53272 date=1597092330]
[...] the problem it's not working as expected when superuser mode; See all previous posts. I explained there what happens.
As a matter of fact, if you read all the docs of rsync, you'll understand.
LuckyBackup is only a GUI for rsync.
Good luck! ![Smile Smile](https://www.freecinema2022.gq/forums/images/smilies/smile.png)
[/quote]
I saw your posts and they have nothing to do with the issue at hand, it's a known bug see here https://bugs.launchpad.net/ubuntu/+sourc...ug/1887279 and here https://github.com/linuxmint/linuxmint/issues/277
Yeah, I know what luckybackup is and also know what rsync is. You too.
Posts: 1,133
Threads: 87
Joined: Sep 2017
Reputation:
0
Quote:There is a difference between being a root user and trying to copy a common file and copying a system locked file. You need to issue a special command to unlock the file, which will then conflict with systemd, for one.
That's not what we're talking about here, that could be another topic for a different thread. Thing is, Luckybackup(supersuser) should lauch/start whenever you click on it on the menu but it doesn't, regardless of whether or not it is a good idea to backup the entire system while it's running, which it does just fine by the way, it's been designed with that purpose in mind.
Posts: 1,133
Threads: 87
Joined: Sep 2017
Reputation:
0
[member=9005]arky217[/member] have you seen this? https://sourceforge.net/p/luckybackup/di...it=25#6c31 Haven't tried it yet but LB developer OKes it.
Posts: 52
Threads: 25
Joined: Jan 2019
Reputation:
0
(08-10-2020, 09:16 PM)Moltke link Wrote: I think I've found a solution or at least a "better" workaround; open a terminal and type Code: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY luckybackup
a window should pop up for you to type in your password and LBSU should launch/start and if it does, open a terminal and type Code: sudo nano /usr/bin/luckybackup-pkexec
comment the lines in the file, copy/paste the pkexec command above, hit Ctrl + o to save changes and then Ctrl + x to close nano.
![[Image: ksnip-20200810-170955.png]](https://i.postimg.cc/tgRc5qmH/ksnip-20200810-170955.png)
Now, click on menu, search for luckybackup and click on LBSU, a window should pop up for you to type in your password, hit enter and LBSU should start without a problem, at least It did here. ![Smile Smile](https://www.freecinema2022.gq/forums/images/smilies/smile.png)
Moltke, the procedure I did in post #8 works fine for me, but I did start to do what you mentioned above.
But when I copied pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY luckybackup
and pasted it in the terminal, I got a Warning- Unsafe Paste with the options to quit or paste.
Wasn't sure if I was about to mess something up, so I chose quit.
Did you get any warning when you entered that in the terminal ?
Posts: 1,133
Threads: 87
Joined: Sep 2017
Reputation:
0
(08-10-2020, 09:47 PM)arky217 link Wrote: [quote author=Moltke link=topic=7591.msg53276#msg53276 date=1597094164]
I think I've found a solution or at least a "better" workaround; open a terminal and type Code: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY luckybackup
a window should pop up for you to type in your password and LBSU should launch/start and if it does, open a terminal and type Code: sudo nano /usr/bin/luckybackup-pkexec
comment the lines in the file, copy/paste the pkexec command above, hit Ctrl + o to save changes and then Ctrl + x to close nano.
![[Image: ksnip-20200810-170955.png]](https://i.postimg.cc/tgRc5qmH/ksnip-20200810-170955.png)
Now, click on menu, search for luckybackup and click on LBSU, a window should pop up for you to type in your password, hit enter and LBSU should start without a problem, at least It did here. ![Smile Smile](https://www.freecinema2022.gq/forums/images/smilies/smile.png)
Moltke, the procedure I did in post #8 works fine for me, but I did start to do what you mentioned above.
But when I copied pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY luckybackup
and pasted it in the terminal, I got a Warning- Unsafe Paste with the options to quit or paste.
Wasn't sure if I was about to mess something up, so I chose quit.
Did you get any warning when you entered that in the terminal ?
[/quote]
No, I didn't get any but I didn't use xfce4-terminal but konsole and I do know xfce4-terminal does that, so it's safe to paste the command, however, if it makes you feel a bit safer, copy/paste to a text editor first then copy from that one and paste it to the terminal, it shouldn't trigger any warnings now. It does that cause you're copying/pasting something from a web page.
Posts: 52
Threads: 25
Joined: Jan 2019
Reputation:
0
(08-10-2020, 09:53 PM)Moltke link Wrote: [quote author=arky217 link=topic=7591.msg53280#msg53280 date=1597096075]
[quote author=Moltke link=topic=7591.msg53276#msg53276 date=1597094164]
I think I've found a solution or at least a "better" workaround; open a terminal and type Code: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY luckybackup
a window should pop up for you to type in your password and LBSU should launch/start and if it does, open a terminal and type Code: sudo nano /usr/bin/luckybackup-pkexec
comment the lines in the file, copy/paste the pkexec command above, hit Ctrl + o to save changes and then Ctrl + x to close nano.
![[Image: ksnip-20200810-170955.png]](https://i.postimg.cc/tgRc5qmH/ksnip-20200810-170955.png)
Now, click on menu, search for luckybackup and click on LBSU, a window should pop up for you to type in your password, hit enter and LBSU should start without a problem, at least It did here. ![Smile Smile](https://www.freecinema2022.gq/forums/images/smilies/smile.png)
Moltke, the procedure I did in post #8 works fine for me, but I did start to do what you mentioned above.
But when I copied pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY luckybackup
and pasted it in the terminal, I got a Warning- Unsafe Paste with the options to quit or paste.
Wasn't sure if I was about to mess something up, so I chose quit.
Did you get any warning when you entered that in the terminal ?
[/quote]
No, I didn't get any but I didn't use xfce4-terminal but konsole and I do know xfce4-terminal does that, so it's safe to paste the command, however, if it makes you feel a bit safer, copy/paste to a text editor first then copy from that one and paste it to the terminal, it shouldn't trigger any warnings now. It does that cause you're copying/pasting something from a web page.
[/quote]
Ok, I did as you said above and put the original command (/usr/bin/luckybackup-pkexec) back in and
unchecked the 'Run in terminal' box and yes, it starts and runs ok now without having to use the terminal.
Thank you very much.
Posts: 1,849
Threads: 21
Joined: Sep 2015
Reputation:
0
(08-10-2020, 09:00 PM)arky217 link Wrote: Thank you firenice03 for that link.
I edited the command in Luckybackup (superuser) and put in sudo -H luckybackup
Then I checked the box 'Run in terminal'.
Now when I click on the Luckybackup (superuser) icon, the terminal opens,
I enter my sudo password and LuckyBackup starts.
I created a task and backed up my Documents folder to the external drive, works fine.
Of course, I have to mount the external drive first or Luckybackup won't see it.
Quote:Ok, I did as you said above and put the original command (/usr/bin/luckybackup-pkexec) back in and
unchecked the 'Run in terminal' box and yes, it starts and runs ok now without having to use the terminal.
Thank you very much.
[member=9005]arky217[/member]
Good to hear you have a couple workarounds and something suitable that works for you
[member=7109]Moltke[/member]
Thanks for some additional googling ![Wink Wink](https://www.freecinema2022.gq/forums/images/smilies/wink.png) .... gotta +1 ya 8)
I haven't used Lucky Backup, and didn't want to go too far down the rabbit hole this for that :o
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Posts: 472
Threads: 13
Joined: Jun 2020
Reputation:
2
(08-10-2020, 09:53 PM)Moltke link Wrote: [...] It does that cause you're copying/pasting something from a web page.
Moltke, thanks for the tip!
I always use text files for this kind of tasks, but who knows, this might prove invaluable info at some point! ![Smile Smile](https://www.freecinema2022.gq/forums/images/smilies/smile.png)
Some editors copy the code (HTML, XML) instead of the rendered output (I saw that many times) so it's important to be aware of that!
Regards!
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
|