Bug 16422

Summary: draktools cannot start in graphical mode after having suspended and resumed
Product: Mageia Reporter: Nikita Krupenko <krnekit>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: klaye_parker, marja11, thierry.vignaud
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: drakconf-12.60-2.mga6.src.rpm CVE:
Status comment:

Description Nikita Krupenko 2015-07-20 14:30:42 CEST
Description of problem:
I have network controlled by NetworkManager.
When I enable connection either by wi-fi or ethernet, I cannot start any of the draktools. I only see this error:

No protocol specified
Cannot be run in console mode.

If program has console version, it is launched instead of graphical one.

When I disconnect network, all starts fine.

Version-Release number of selected component (if applicable):


How reproducible:
Always.

Steps to Reproduce:
1. Enable some network connection.
2. Run any of draktools, for example drakrpm.


Reproducible: 

Steps to Reproduce:
Comment 1 Thierry Vignaud 2015-07-31 09:36:03 CEST
Are you sure the name of your box doesn't change when you do so?

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud
Source RPM: drakconf-12.60-2.mga6.src.rpm, rpmdrake-6.20-1.mga5.src.rpm => drakconf-12.60-2.mga6.src.rpm

Comment 2 Nikita Krupenko 2015-07-31 13:57:42 CEST
No, the name not changed, it's localhost.

I also found this error not always happens when network is up.

When I boot my system with network is up, I can start drakxtools. When I set network up, drakxtools still can start. But when I disconnect from my network, they won't start either with network connected or not.
This happens when ethernet cable is not connected and wi-fi only in use.
Comment 3 Nikita Krupenko 2015-07-31 15:31:25 CEST
I checked with ethernet instead of wi-fi - same behavior. After boot (either with network connected or not) drakxtools starts, after network disconnect not starts.
Comment 4 Klaye p 2015-10-12 02:51:24 CEST
Hey Nikita, i am experiencing a similar issue which i've brought down to kdesu. If you don't mind, after a failed attempt of accessing the Mageia tools, could you run "/usr/lib64/kde4/libexec/kdesu dolphin" to see if that works at all?
If it doesn't, then it shows that the problem is with the authentication, and not isolated to drakconf.

CC: (none) => klaye_parker

Comment 5 Nikita Krupenko 2015-10-14 12:18:33 CEST
(In reply to Klaye p from comment #4)

It does not. But I see different authentication window, than with draktools. After I enter password, nothing happens too.

Output:

Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kdesu(32457)/kdesu (kdelibs) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display ":0" 
kdesu(32457)/kdesu (kdelibs) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display ":0" 
kdesu(32457)/kdesu (kdelibs) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display ":0"
Comment 6 Marja Van Waes 2016-04-24 19:03:03 CEST
Is this bug still valid?

CC: (none) => marja11

Comment 7 Nikita Krupenko 2016-04-24 19:14:09 CEST
Yes. After I suspend my laptop and resume, I usually cannot run draktools until reboot.
Comment 8 Marja Van Waes 2016-04-24 19:43:30 CEST
(In reply to Nikita Krupenko from comment #7)
> Yes. After I suspend my laptop and resume, I usually cannot run draktools
> until reboot.

That sounds as if you can before suspending. Can you?
Comment 9 Nikita Krupenko 2016-04-24 20:47:55 CEST
Yes, it works right after boot.
Comment 10 Marja Van Waes 2016-04-25 11:06:54 CEST
(In reply to Nikita Krupenko from comment #9)
> Yes, it works right after boot.


And you can still start mcc in graphical mode after suspending and resuming, if you stop the network?

Summary: draktools cannot start in graphical mode if network connection is available => draktools cannot start in graphical mode after having suspended and resumed

Comment 11 Nikita Krupenko 2016-04-25 11:18:55 CEST
Right now disabling network doesn't help :(
Comment 12 Marja Van Waes 2016-07-03 06:25:59 CEST
@ Nikita

Do you mind trying again with current cauldron / Mga 6sta1 ?

Assignee: bugsquad => thierry.vignaud

Comment 13 Marja Van Waes 2016-07-03 06:27:27 CEST
I should be more clear: Is this bug still valid and is the summary of this bug correct?
Comment 14 Nikita Krupenko 2016-07-03 15:06:32 CEST
Yes, it's still valid. The only thing I should note: disconnecting network doesn't help. Once I suspend my laptop, only reboot helps.
Comment 15 Nikita Krupenko 2016-10-13 19:30:25 CEST
It's about several months that I don't see this bug any more.
Comment 16 Samuel Verschelde 2016-10-13 21:09:53 CEST
(In reply to Nikita Krupenko from comment #15)
> It's about several months that I don't see this bug any more.

Good news, closing. Please reopen if it comes back.

Status: NEW => RESOLVED
Resolution: (none) => FIXED