Forum
« salineos-backup, from menu? [RESOLVED] »

Welcome Guest. Please Login or Register.
Jun 18, 2013, 1:32am



Return to or visit the SalineOS webpage

Forum :: General :: Software and Applications :: salineos-backup, from menu? [RESOLVED]
Page 1 of 2 » Jump to page   Go    [Search This Thread] [Share Topic] [Print]
 AuthorTopic: salineos-backup, from menu? [RESOLVED] (Read 483 times)
Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 607
Location: Venezuela
 salineos-backup, from menu? [RESOLVED]
« Thread Started on May 19, 2012, 11:12pm »

gives the following message:

"Can't execute /usr/bin/salineos-backup as root user.
Not possible to copy user Xauthorization file."

"git pull" says it's up to date.

I think I put something in the wrong place, but no idea which.
Any suggestions?
« Last Edit: Jun 9, 2012, 9:29pm by Richard »Link to Post - Back to Top  IP: Logged

SalineOS-2.0dev2..Xfce4.8
SolydX.................Xfce4.10
Crunchbang-11.....Xfce4.8
petrek
Senior Member
****
member is offline

[avatar]



Joined: Aug 2011
Gender: Male
Posts: 386
Location: Poland
 Re: salineos-backup won't exec from menu
« Reply #1 on May 20, 2012, 12:57am »

Could you provide menu entry for this? How your permissions to these files look like?
Link to Post - Back to Top  IP: Logged

Skallagrigg
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,343
 Re: salineos-backup won't exec from menu
« Reply #2 on May 20, 2012, 5:29am »

Check that there is enough hard disk space?
« Last Edit: May 20, 2012, 5:31am by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 607
Location: Venezuela
 Re: salineos-backup won't exec from menu
« Reply #3 on May 20, 2012, 9:42am »

Wow, could be. There's only about 8 GiB. :(
The last time I ran it it took only 1.8 GiB, but maybe it needs room for working.

I copied the files from the git pull into /usr/bin, /pixmaps, etc., but still get the same response.

Is there a way to install/update these utilities other than copy them over as root?
Link to Post - Back to Top  IP: Logged

SalineOS-2.0dev2..Xfce4.8
SolydX.................Xfce4.10
Crunchbang-11.....Xfce4.8
petrek
Senior Member
****
member is offline

[avatar]



Joined: Aug 2011
Gender: Male
Posts: 386
Location: Poland
 Re: salineos-backup won't exec from menu
« Reply #4 on May 20, 2012, 10:06am »

Check your /var/log directory, if you have some problems with your config it can became quite huge. Also check .xsession-errors in your home directory, it can be very big also.

If you installed Saline on USB key, it could also just reach the end of life.
« Last Edit: May 20, 2012, 10:09am by petrek »Link to Post - Back to Top  IP: Logged

Skallagrigg
Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 607
Location: Venezuela
 Re: salineos-backup won't exec from menu
« Reply #5 on May 20, 2012, 10:29am »

@petrek,
Thanks, I'll dig into the logs.

No, this is on my desktop where the salineos-backup is failing to start.
It used to. :( But probably something I've done is stopping it now.
Link to Post - Back to Top  IP: Logged

SalineOS-2.0dev2..Xfce4.8
SolydX.................Xfce4.10
Crunchbang-11.....Xfce4.8
Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 607
Location: Venezuela
 Re: salineos-backup won't exec from menu
« Reply #6 on May 20, 2012, 10:40am »

OK, more info.

Running from a console, says you must be root to run salineos-backup.
Running from a root console, works as expected with no problem.

Running from the menu entry in System gives the error and this log readout:


kbuildsycoca4 running...
kbuildsycoca4(6793) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/salineos-backup.desktop" is not compliant with XDG standard (missing trailing semicolon).
. . .
kbuildsycoca4(6794) KConfigGroup::readXdgListEntry: List entry x-scheme-handler/http in "/usr/share/applications/mimeapps.list" is not compliant with XDG standard (missing trailing semicolon).


So, maybe that will help Anthony look for the culprit.
Link to Post - Back to Top  IP: Logged

SalineOS-2.0dev2..Xfce4.8
SolydX.................Xfce4.10
Crunchbang-11.....Xfce4.8
petrek
Senior Member
****
member is offline

[avatar]



Joined: Aug 2011
Gender: Male
Posts: 386
Location: Poland
 Re: salineos-backup won't exec from menu
« Reply #7 on May 20, 2012, 10:50am »

In salineos-backup.desktop try to replace gksudo with gksu
« Last Edit: May 20, 2012, 10:52am by petrek »Link to Post - Back to Top  IP: Logged

Skallagrigg
Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 607
Location: Venezuela
 Re: salineos-backup won't exec from menu
« Reply #8 on May 20, 2012, 11:57am »

Didn't change anything.
And since I am in the sudoers, gksudo works in this installation.
Must be something else, since <salineos-backup> runs fine from the console but not from the menu.
Thanks for the reply.
Link to Post - Back to Top  IP: Logged

SalineOS-2.0dev2..Xfce4.8
SolydX.................Xfce4.10
Crunchbang-11.....Xfce4.8
petrek
Senior Member
****
member is offline

[avatar]



Joined: Aug 2011
Gender: Male
Posts: 386
Location: Poland
 Re: salineos-backup won't exec from menu
« Reply #9 on May 20, 2012, 12:21pm »

Could you cat /usr/share/applications/mimeapps.list and /usr/share/applications/salineos-backup.desktop? For me version with gksu works ok.

Try to place ; at the end of this line

Categories=SystemBackup;Applications;GTK;System

so it'll look like this:

Categories=SystemBackup;Applications;GTK;System;

One more thing, this file mimeapps.list should go to your homedirectory/.local/share/applications
« Last Edit: May 20, 2012, 1:34pm by petrek »Link to Post - Back to Top  IP: Logged

Skallagrigg
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: salineos-backup won't exec from menu
« Reply #10 on May 20, 2012, 1:37pm »

Seems to ring a bell.
I think I added the ; on the end once but ended up typing it as the first entry for it to work.
Link to Post - Back to Top  IP: Logged
Richard
Elder Member
*****
member is offline

[avatar]



Joined: Jan 2011
Gender: Male
Posts: 607
Location: Venezuela
 Re: salineos-backup won't exec from menu
« Reply #11 on May 20, 2012, 3:39pm »

@petrek,

richard@core2sos:~$ cat /usr/share/applications/mimeapps.list
[Added Associations]
x-scheme-handler/mailto=exo-mail-reader.desktop
x-scheme-handler/http=exo-web-browser.desktop
x-scheme-handler/https=exo-web-browser.desktop
x-scheme-handler/file=exo-file-manager.desktop
x-scheme-handler/trash=exo-file-manager.desktop
x-scheme-handler/pkgkit=packagekit-url.desktop
x-scheme-handler/apt=packagekit-url.desktop
image/png=ristretto.desktop;inkscape.desktop;gimp.desktop;
audio/mpeg=exaile.desktop;

[Default Applications]
image/png=ristretto.desktop
audio/mpeg=exaile.desktop
image/jpeg=ristretto.desktop
text/plain=mousepad.desktop
application/pdf=epdfview.desktop
richard@core2sos:~$



richard@core2sos:~$ cat /usr/share/applications/salineos-backup.desktop
[Desktop Entry]richard@core2sos:~$ cat /usr/share/applications/mimeapps.list

[Added Associations]
x-scheme-handler/mailto=exo-mail-reader.desktop
x-scheme-handler/http=exo-web-browser.desktop
x-scheme-handler/https=exo-web-browser.desktop
x-scheme-handler/file=exo-file-manager.desktop
x-scheme-handler/trash=exo-file-manager.desktop
x-scheme-handler/pkgkit=packagekit-url.desktop
x-scheme-handler/apt=packagekit-url.desktop
image/png=ristretto.desktop;inkscape.desktop;gimp.desktop;
audio/mpeg=exaile.desktop;

[Default Applications]
image/png=ristretto.desktop
audio/mpeg=exaile.desktop
image/jpeg=ristretto.desktop
text/plain=mousepad.desktop
application/pdf=epdfview.desktop
richard@core2sos:~$
richard@core2sos:~$ cat /usr/share/applications/salineos-backup.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=SalineOS Backup
GenericName=Backup System
Comment=Backup your system
Exec=gksu /usr/bin/salineos-backup
Icon=disks
Terminal=false
MultipleArgs=false
Type=Application
Categories=SystemBackup;Applications;GTK;System
NotShowIn=KDE
X-KDE-SubstituteUID=true
GenericName[en_US]=Backup System
richard@core2sos:~$

Version=1.0
Encoding=UTF-8
Name=SalineOS Backup
GenericName=Backup System
Comment=Backup your system
Exec=gksu /usr/bin/salineos-backup
Icon=disks
Terminal=false
MultipleArgs=false
Type=Application
Categories=SystemBackup;Applications;GTK;System
NotShowIn=KDE
X-KDE-SubstituteUID=true
GenericName[en_US]=Backup System
richard@core2sos:~$


and in
/home/richard/.local/share/applications are only these:
[Added Associations]
application/x-shockwave-flash=parole.desktop;
image/jpeg=geeqie-standard.desktop;
image/png=geeqie-standard.desktop;



@ukbrian / petrek,
I was missing the semicolon so added one, but still the same result.
Maybe a reboot will help?

At least the backup will run from a console, so it's not a real problem, just a bug somewhere.
Probably self-inflicted. :)

Link to Post - Back to Top  IP: Logged

SalineOS-2.0dev2..Xfce4.8
SolydX.................Xfce4.10
Crunchbang-11.....Xfce4.8
petrek
Senior Member
****
member is offline

[avatar]



Joined: Aug 2011
Gender: Male
Posts: 386
Location: Poland
 Re: salineos-backup won't exec from menu
« Reply #12 on May 21, 2012, 12:43am »

So I would check permissions, ownership of these files. Then, if still without success, do a fresh install of SalineOS, and tried to install everything once again. First salineos-backup to see if it works, then the rest. Then we will know if problem lies within git, or somewhere else.
Link to Post - Back to Top  IP: Logged

Skallagrigg
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: salineos-backup won't exec from menu
« Reply #13 on May 21, 2012, 1:15am »


Quote:
First salineos-backup to see if it works
I've just done a fresh install and just completed the git updates so I'll do a salineos-backup and then try to install it to another partition.
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 288
 Re: salineos-backup won't exec from menu
« Reply #14 on May 21, 2012, 3:04am »

My backup installed no problem but I'll go back to before I did the updates and do them again I think, I really want this rescue ISO to be at it's best, I need the credibility. ::)
Link to Post - Back to Top  IP: Logged
Page 1 of 2 » Jump to page   Go    [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile