Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: SOLVED: premission problem  (Read 139 times)

Offline klein5366

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
SOLVED: premission problem
« on: April 02, 2021, 05:12:56 am »
i tried installing multisystem on nibiru 5.14 x86_64
i added the ppa's key
i added the ppa
it installed fine with no errors
but when i trying to run it:
    from menu > accessories > multisystem i get error:USER:klein is not admin
    from terminal sudo /usr/local/bin/multisystem, type in my password and i get error:not root!, nohup:appending output to 'nohup.out'
    from terminal cd /usr/local/bin
                    sudo ./multisystem, error: not root! and never asks for password, nohup:appending output to 'nohup.out'

when i have used multisystem in ubuntu, it starts without user being root, it only asks for user password when adding or deleting an iso

is there any way to make this work in sparky ?

nohup.out file
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /root/.gvfs
      Output information may be incomplete.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
« Last Edit: April 04, 2021, 02:42:13 am by klein5366 »

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 288
  • Karma: 0
  • Problem solver ;)
Re: premission problem
« Reply #1 on: April 02, 2021, 11:12:29 am »
Hi.

Sudo, after successfully validating your password, won't be asking for it for a few minutes, that's why you sometimes get the password prompt and sometimes not. Basically it shows after first usage since boot or after a few minutes of the command not being used. What needs to be answered is what version of this package were you using on Ubuntu and what version are you using now.

I've looked at the scripts (version 1.0454) for this and the first thing it checks is actually if you're root. That's the funny thing: it bails out with "Error: not root" when you actually are root (user id equal to 0, which means root - reversed logic). Try running it the terminal without sudo and see if it works for you.
« Last Edit: April 02, 2021, 11:15:52 am by MoroS »
There's no such thing as "impossible". :)

Offline klein5366

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: premission problem
« Reply #2 on: April 02, 2021, 07:26:07 pm »
ok
i ran:
 cd /usr/local/bin <enter>
./multisystem <enter>

Gtkdialog version: 0.8.3
LANG:en_US.UTF-8
LANGUAGE:en_US.UTF-8
LANGSEL:English|en|en_US.UTF-8|Ryan J Nicholson|rjn256@gmail.com

(gtkdialog:5064): Gtk-WARNING **: 11:56:33.800: Unable to locate theme engine in module_path: "murrine",

dialog box pops up (error: USER:klein is not admin!)

nohup: appending output to '/home/klein/nohup.out'
EXIT="abort"

sudo apt-get install murrine
E: Unable to locate package murrine


for something else i went through installing murrine package but i don't remember how i did it .






Offline lami07

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 305
  • Karma: 6
    • Sparky Community Repos
Re: premission problem
« Reply #3 on: April 02, 2021, 09:16:38 pm »
Code: [Select]
sudo apt update
sudo apt install gtk2-engines-murrine
Quote from: forum rules
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at irc.freenode.net

Offline MoroS

  • Sr. Member
  • ****
  • Posts: 288
  • Karma: 0
  • Problem solver ;)
Re: premission problem
« Reply #4 on: April 02, 2021, 09:22:34 pm »
"Murrine" refers to the GTK engine of the same name. In Debian it's the "gtk2-engines-murrine" package: https://packages.debian.org/search?keywords=gtk2-engines-murrine
That's not an issue though, as GTK will fall back to another engine.

The issue here (after some more script analysis) seems to be that your user is not a part of the "adm" group. The message on this could be a bit clearer. Anyways, add yourself to the "adm' group:
Code: [Select]
sudo gpasswd -a klein adm
I assume your user name is "klein" as per the error message you pasted earlier (if it's not, replace it with your user name). After this you'll need to logout and log back in for the changes to take effect. Try running the app once again (without sudo of course).
There's no such thing as "impossible". :)

Offline klein5366

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
SOLVED: premission problem
« Reply #5 on: April 04, 2021, 02:41:14 am »
thank you MoroS and lami07
both solutions worked great