Now I can't open MCC & I'm not able to access other media

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Now I can't open MCC & I'm not able to access other media

Postby kuman » Sep 13th, '15, 05:56

"Now I can't open MCC & I'm not able to access other media as SD cards & usb sticks.
kuman
 
Posts: 39
Joined: Aug 31st, '15, 14:03

Re: Now I can't open MCC & I'm not able to access other medi

Postby doktor5000 » Sep 13th, '15, 09:58

Sorry, but you need to be a little more verbose then that and provide some actual details.

What happens if you run
Code: Select all
drakconf
as normal user from a terminal? Do you get a password prompt? Does it accept your password? If not, please provide the complete output in the terminal here.

Also as root please provide the output of the following commands:
Code: Select all
systemctl status polkit.service
ps -ef | grep -v grep | grep polkit
mount

When accessing SD cards and other removable media, is there any error message when mounting or accessing them? How do you try to access them? What filesystems are in use on those?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18060
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Now I can't open MCC & I'm not able to access other medi

Postby magfan » Sep 16th, '15, 14:17

Well, I have the same problem. I am user "mer":

Code: Select all
$ drakconf
Error executing command as another user: Not authorized

This incident has been reported.
$ systemctl status polkit.service
● polkit.service - Authorization Manager
   Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
   Active: active (running) since Mi 2015-09-16 12:08:59 CEST; 2h 0min ago
     Docs: man:polkit(8)
 Main PID: 5043 (polkitd)
   CGroup: /system.slice/polkit.service
           └─5043 /usr/lib/polkit-1/polkitd --no-debug
$ ps -ef | grep -v grep | grep polkit
polkitd   5043     1  0 12:08 ?        00:00:00 /usr/lib/polkit-1/polkitd --no-debug
mer       6091     1  0 12:09 ?        00:00:00 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
spm       6334     1  0 12:09 ?        00:00:00 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
mer       9950     1  0 13:49 ?        00:00:00 /usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1
$



Rebooting helps temporarily, but I cannot reboot the system (a medical workstation) several times per day...
magfan
 
Posts: 334
Joined: Apr 3rd, '12, 12:33

Re: Now I can't open MCC & I'm not able to access other medi

Postby doktor5000 » Sep 17th, '15, 20:58

There is already an existing thread for the polkit issue, please use that one or open a separate for your issue. This one was opened by the OP as he has several issues of unclear origin.
Original polkit thread: viewtopic.php?f=7&t=9994
Please also comment on the bug report that you are also affected: https://bugs.mageia.org/show_bug.cgi?id=16319
Seems to be caused by an upstream change, see https://bugs.mageia.org/show_bug.cgi?id=16396

Please provide the output of
Code: Select all
cat /run/systemd/users/$(id -u)
run as your normal user and check whether you did a logoff and login in your desktop in between - or maybe you use the switch user functionality?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18060
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Now I can't open MCC & I'm not able to access other medi

Postby kuman » Sep 20th, '15, 04:22

When I run drakconf I get
'error executing command as another user: not authorized
this incident has been reported'
Last edited by doktor5000 on Sep 20th, '15, 11:11, edited 1 time in total.
Reason: removed fullquote
kuman
 
Posts: 39
Joined: Aug 31st, '15, 14:03

Re: Now I can't open MCC & I'm not able to access other medi

Postby doktor5000 » Sep 20th, '15, 11:39

Seems you ignored the previous query for some diagnostic information:

doktor5000 wrote:Also as root please provide the output of the following commands:
Code: Select all
systemctl status polkit.service
ps -ef | grep -v grep | grep polkit
mount

When accessing SD cards and other removable media, is there any error message when mounting or accessing them? How do you try to access them? What filesystems are in use on those?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18060
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Now I can't open MCC & I'm not able to access other medi

Postby kuman » Sep 21st, '15, 08:40

I thought it's necessary only if the 1st is succesful. I'll do that. The problem is I couldn't c/p in a terminal in any of the ways u mentioned on the other thread .....
kuman
 
Posts: 39
Joined: Aug 31st, '15, 14:03

Re: Now I can't open MCC & I'm not able to access other medi

Postby kuman » Sep 24th, '15, 21:22

I started getting some output though I can't c/p here .... :?
kuman
 
Posts: 39
Joined: Aug 31st, '15, 14:03

Re: Now I can't open MCC & I'm not able to access other medi

Postby doktor5000 » Sep 25th, '15, 00:48

Understood that already, but it does not help if you crosspost that between multiple threads.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18060
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Now I can't open MCC & I'm not able to access other medi

Postby kuman » Sep 26th, '15, 05:05

The output in XTerm
Code: Select all
[root@localhost ~]# systemctl status polkit.service
● polkit.service - Authorization Manager
   Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
   Active: active (running) since Wed 2015-09-23 17:21:39 EDT; 2 days ago
     Docs: man:polkit(8)
Main PID: 1274 (polkitd)
   CGroup: /system.slice/polkit.service
           └─1274 /usr/lib/polkit-1/polkitd --no-debug

Sep 23 17:21:39 localhost polkitd[1274]: Started polkitd version 0.113
Sep 23 17:21:39 localhost polkitd[1274]: Loading rules from directory /etc/p...d
Sep 23 17:21:39 localhost polkitd[1274]: Loading rules from directory /usr/s...d
Sep 23 17:21:39 localhost polkitd[1274]: Finished loading, compiling and exe...s
Sep 23 17:21:39 localhost polkitd[1274]: Acquired the name org.freedesktop.P...s
Sep 23 13:22:45 localhost polkitd[1274]: Registered Authentication Agent for...)
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]# ps -ef | grep -v grep | grep polkit
polkitd   1274     1  0 Sep23 ?        00:00:02 /usr/lib/polkit-1/polkitd --no-debug
kuman     2499     1  0 Sep23 ?        00:00:00 /usr/libexec/polkit-mate-authentication-agent-1

Code: Select all
[root@localhost ~]# mount
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=241692k,nr_inodes=60423,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/sdb5 on / type ext4 (rw,noatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,mode=755)
tmpfs on /tmp type tmpfs (rw)
mqueue on /dev/mqueue type mqueue (rw,relatime)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=49652k,mode=700,uid=1000,gid=1000)
[root@localhost ~]



Btw how do u delete text in a terminal other than the last command?
kuman
 
Posts: 39
Joined: Aug 31st, '15, 14:03

Re: Now I can't open MCC & I'm not able to access other medi

Postby isadora » Sep 26th, '15, 10:02

Please place command-output between [CODE]-tags, to improve readability, thanks ahead!!! ;)
Demo: ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Now I can't open MCC & I'm not able to access other medi

Postby doktor5000 » Sep 26th, '15, 23:37

Looks all well, polkit is running and a polkit agent is running for your user. No removable media is currently mounted.

Please show the output as normal user of
Code: Select all
cat /run/systemd/users/$(id -u)
id
pkexec whoami
(you need to enter your root password when a dialog pops up asking for authorisation)


kuman wrote:Btw how do u delete text in a terminal other than the last command?

I don't understand your question. The text that has already been printed to the terminal which is not on your current prompt cannot be deleted.
You can run
Code: Select all
clear

to flush that text and get an empty terminal again. But if you scroll up again the older output is still there.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18060
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron