seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2020/02/28, 08:29:30


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: App as root doesn't starts  (Read 1311 times)

0 Members and 1 Guest are viewing this topic.

Offline dacorsa

  • User
  • Posts: 66
App as root doesn't starts
« on: 2018/02/22, 11:00:30 »
Hi guys


i have 2 computer with siduction, on my portable app as root doesn't starts, doesn't appear the box to insert the root password, can you help me solve it? Can be some files needs special permission?


Thanks

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.395
Re: App as root doesn't starts
« Reply #1 on: 2018/02/22, 11:31:27 »
If you would put any information at all into your post, maybe we can. Right now it says exactly nothing and just wastes my time.

Offline dacorsa

  • User
  • Posts: 66
Re: App as root doesn't starts
« Reply #2 on: 2018/02/22, 11:52:13 »
Dear Devil,


the box to insert the root password appear and desappear immediatly, i don't know what can be i don't have other info to give you.


Can you tell me some command to try?


Thanks

Offline ayla

  • User
  • Posts: 1.700
Re: App as root doesn't starts
« Reply #3 on: 2018/02/22, 12:07:54 »
Maybe you can tell us which programm you want to start as root and how you are trying this and what "portable app" ?? you are trying to use as a start. Details please.
Kernel: 4.18.11-towo.1-siduction-amd64 x86_64
Desktop: KDE Plasma 5.13.5
(mostly) kept current siduction "18.3.0 Patience"
HP EliteBook 8570p; MoBo: HP model: 17A7 v: KBC Version 42.35
Dual core  i5-3320M (-MT-MCP-)
Intel 3. Gen Graphics (Ivybridge) Driver:i915/ intel
 Wifi Intel Centrino N6205

Offline dacorsa

  • User
  • Posts: 66
Re: App as root doesn't starts
« Reply #4 on: 2018/02/22, 12:19:15 »
ad example GSmartControl:



dacorsa@NanoSID:~$ gsmartcontrol
Command 'gsmartcontrol' is available in '/usr/local/sbin/gsmartcontrol'
The command could not be located because '/usr/local/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative priviledges associated with your user account.
gsmartcontrol: command not found
dacorsa@NanoSID:~$ gsmartcontrol-root
Error executing command as another user: Not authorized


This incident has been reported.
dacorsa@NanoSID:~$

Offline dacorsa

  • User
  • Posts: 66
Re: App as root doesn't starts
« Reply #5 on: 2018/02/22, 12:30:09 »

dacorsa@NanoSID:~$ gsmartcontrol
<error> [hz] Error: gspawn: Esecuzione del processo figlio «smartctl» non riuscita (File o directory non esistente)
<error> [app] bool CmdexSync::execute(): cmdex_.execute() failed.


Offline dacorsa

  • User
  • Posts: 66
Re: App as root doesn't starts
« Reply #6 on: 2018/02/22, 12:34:57 »

dacorsa@NanoSID:~$ synaptic-pkexec
Error executing command as another user: Not authorized


This incident has been reported.
dacorsa@NanoSID:~$


Offline ayla

  • User
  • Posts: 1.700
Re: App as root doesn't starts
« Reply #7 on: 2018/02/22, 12:48:04 »
Quote
root@siduce:/home/cal# apt install gsmartcontrol
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  libgltf-0.1-1 liblivemedia61 liborcus-0.12-0 libplacebo2 libtinyxml2-5 libvisio-0.1-1 linux-headers-4.14.11-towo.3-siduction-amd64
  linux-headers-4.14.9-towo.2-siduction-amd64 linux-image-4.14.11-towo.3-siduction-amd64 linux-image-4.14.9-towo.2-siduction-amd64 python3-olefile
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
  libpcrecpp0v5
Die folgenden NEUEN Pakete werden installiert:
  gsmartcontrol libpcrecpp0v5
0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 725 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 2.320 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n]
Holen:1 http://deb.debian.org/debian unstable/main amd64 libpcrecpp0v5 amd64 2:8.39-9 [152 kB]
Holen:2 http://deb.debian.org/debian unstable/main amd64 gsmartcontrol amd64 1.1.3-1 [573 kB]
Es wurden 725 kB in 0 s geholt (1.511 kB/s).
Vormals nicht ausgewähltes Paket libpcrecpp0v5:amd64 wird gewählt.
(Lese Datenbank ... 313381 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libpcrecpp0v5_2%3a8.39-9_amd64.deb ...
Entpacken von libpcrecpp0v5:amd64 (2:8.39-9) ...
Vormals nicht ausgewähltes Paket gsmartcontrol wird gewählt.
Vorbereitung zum Entpacken von .../gsmartcontrol_1.1.3-1_amd64.deb ...
Entpacken von gsmartcontrol (1.1.3-1) ...
Trigger für mime-support (3.60) werden verarbeitet ...
Trigger für desktop-file-utils (0.23-2) werden verarbeitet ...
Trigger für libc-bin (2.26-6) werden verarbeitet ...
Trigger für man-db (2.8.1-1) werden verarbeitet ...
libpcrecpp0v5:amd64 (2:8.39-9) wird eingerichtet ...
Trigger für hicolor-icon-theme (0.17-1) werden verarbeitet ...
gsmartcontrol (1.1.3-1) wird eingerichtet ...
Trigger für libc-bin (2.26-6) werden verarbeitet ...
root@siduce:/home/cal# gsmartcontrol
<warn>  [hz] Warning: exit: Device open failed, or device did not return an IDENTIFY DEVICE structure.
<warn>  [app] SmartctlParser::parse_section_info(): Unknown Info line encountered.
<warn>  [hz] FS warning: Error while opening file "/proc/scsi/scsi": Datei oder Verzeichnis nicht gefunden.
<warn>  [app] {anonymous}::read_proc_scsi_scsi_file(): SCSI file doesn't exist.
<warn>  [hz] FS warning: Error while opening file "/proc/scsi/scsi": Datei oder Verzeichnis nicht gefunden.
<warn>  [app] {anonymous}::read_proc_scsi_scsi_file(): SCSI file doesn't exist.
<warn>  [hz] FS warning: Unable to check if a path "/root/.config/gsmartcontrol/gsmartcontrol.conf" points to directory: Datei oder Verzeichnis nicht gefunden.
root@siduce:/home/cal# exit
exit
cal@siduce:~$ gsmartcontrol
Could not find the database of available applications, run update-command-not-found as root to fix this
Command 'gsmartcontrol' is available in '/usr/sbin/gsmartcontrol'
The command could not be located because '/usr/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative priviledges associated with your user account.
gsmartcontrol: command not found

gsmartcontroll is here running when opened from a root-terminal.

So it seems you have installed it not using apt.

As you can see, if using apt to install it it is located in the /usr/sbin directory not in /usr/locale/sbin

So, my way to solve this would be: remove the installation of gsmartcontrol and install it with apt.
Kernel: 4.18.11-towo.1-siduction-amd64 x86_64
Desktop: KDE Plasma 5.13.5
(mostly) kept current siduction "18.3.0 Patience"
HP EliteBook 8570p; MoBo: HP model: 17A7 v: KBC Version 42.35
Dual core  i5-3320M (-MT-MCP-)
Intel 3. Gen Graphics (Ivybridge) Driver:i915/ intel
 Wifi Intel Centrino N6205

Offline dacorsa

  • User
  • Posts: 66
Re: App as root doesn't starts
« Reply #8 on: 2018/02/22, 12:50:48 »

dacorsa@NanoSID:~$ gufw
Error executing command as another user: Not authorized


This incident has been reported.
dacorsa@NanoSID:~$

Offline dacorsa

  • User
  • Posts: 66
Re: App as root doesn't starts
« Reply #9 on: 2018/02/22, 12:52:31 »
Yes ayla,

it's only 1 of many example, see the other...

Thank you

Offline ayla

  • User
  • Posts: 1.700
Re: App as root doesn't starts
« Reply #10 on: 2018/02/22, 12:57:40 »
synaptic is here starting when opened from menu with my user password, or as root from a terminal

no problems
Kernel: 4.18.11-towo.1-siduction-amd64 x86_64
Desktop: KDE Plasma 5.13.5
(mostly) kept current siduction "18.3.0 Patience"
HP EliteBook 8570p; MoBo: HP model: 17A7 v: KBC Version 42.35
Dual core  i5-3320M (-MT-MCP-)
Intel 3. Gen Graphics (Ivybridge) Driver:i915/ intel
 Wifi Intel Centrino N6205

Offline dacorsa

  • User
  • Posts: 66
Re: App as root doesn't starts
« Reply #11 on: 2018/02/22, 13:01:07 »
yes but it's only a problem on my pc, not on yours...


how can i solve?


Thanks

Offline ayla

  • User
  • Posts: 1.700
Re: App as root doesn't starts
« Reply #12 on: 2018/02/22, 13:03:52 »
open a terminal as root

Code: [Select]
su
type your root-passwd
synaptic
show us the output

Watch! dont type the command passwd, i meaned type your root-password, sorry
« Last Edit: 2018/02/22, 13:15:25 by ayla »
Kernel: 4.18.11-towo.1-siduction-amd64 x86_64
Desktop: KDE Plasma 5.13.5
(mostly) kept current siduction "18.3.0 Patience"
HP EliteBook 8570p; MoBo: HP model: 17A7 v: KBC Version 42.35
Dual core  i5-3320M (-MT-MCP-)
Intel 3. Gen Graphics (Ivybridge) Driver:i915/ intel
 Wifi Intel Centrino N6205

Offline dacorsa

  • User
  • Posts: 66
Re: App as root doesn't starts
« Reply #13 on: 2018/02/22, 13:21:12 »
as root works well,



root@NanoSID:/home/dacorsa# synaptic
root@NanoSID:/home/dacorsa#




but if i double click on icon on desktop appears root password prompt and desappears


How can i solve it?




Offline ayla

  • User
  • Posts: 1.700
Re: App as root doesn't starts
« Reply #14 on: 2018/02/22, 13:24:26 »
what desktop you are using?
Code: [Select]
inxi -S
Kernel: 4.18.11-towo.1-siduction-amd64 x86_64
Desktop: KDE Plasma 5.13.5
(mostly) kept current siduction "18.3.0 Patience"
HP EliteBook 8570p; MoBo: HP model: 17A7 v: KBC Version 42.35
Dual core  i5-3320M (-MT-MCP-)
Intel 3. Gen Graphics (Ivybridge) Driver:i915/ intel
 Wifi Intel Centrino N6205