Bug 6362 - Unable to start drak tools in graphical mode with x86_64 because xtest is not available
Summary: Unable to start drak tools in graphical mode with x86_64 because xtest is not...
Status: RESOLVED DUPLICATE of bug 10425
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 23:59 CEST by TaC
Modified: 2013-06-04 12:14 CEST (History)
2 users (show)

See Also:
Source RPM: drakxtools-backend-14.21-1.mga3
CVE:
Status comment:


Attachments

Description TaC 2012-06-06 23:59:20 CEST
-- Description of problem:
When I call a draktool from console in X session, I get the console version or the error "Couldn't run in console mode"...

xtest is not available on my system but it used by /usr/sbin/drakconf

It's a x86_64 PC with a fresh mageia 2 installation from scratch and GNOME only.

I can't find an rpm with xtest.

-- Work around:
edit /usr/lib/libDrakX/common.pm
line 399 :
sub check_for_xserver() {
    return true; 
# ==> force true 

P.S. previously explained here https://forums.mageia.org/en/viewtopic.php?f=15&t=2696

-- Version-Release number of selected component (if applicable):
Name        : drakxtools-backend
Version     : 14.21

-- How reproducible:
Install on x86_64 version of mageia 2 with GNOME only, keep all defaults settings of install

-- Steps to Reproduce:
1. after installation try drakrpm
2. after installation try mcc, drakconf

---------------------
# rpm -qf /usr/lib/libDrakX/common.pm
drakxtools-backend-14.21-1.mga3
# rpm -qi $(rpm -qf /usr/lib/libDrakX/common.pm)
Name        : drakxtools-backend
Version     : 14.21
Release     : 1.mga3
Architecture: x86_64
Install Date: ven. 01 juin 2012 01:51:39 CEST
Group       : System/Configuration/Other
Size        : 1031757
License     : GPLv2+
Signature   : RSA/SHA1, jeu. 31 mai 2012 16:59:24 CEST, Key ID b742fa8b80420f66
Source RPM  : drakxtools-14.21-1.mga3.src.rpm
Build Date  : mar. 29 mai 2012 23:36:13 CEST
Build Host  : jonund.mageia.org
Relocations : (not relocatable)
Packager    : Iurt the rebuild bot <mageia-sysadm@mageia.org>
Vendor      : Mageia.Org
URL         : http://mageia.org/
Summary     : Drakxtools libraries and background tools
Description :
See package drakxtools
---------------------
Comment 1 Manuel Hiebel 2012-06-25 04:54:38 CEST
are you using networkmanager ? (the default one of gnome)

if yes I think it's the bug 3782
Comment 2 TaC 2012-06-26 22:21:54 CEST
I suppose: it's strictly the first boot after default install for gnome...
Comment 3 TaC 2012-06-26 22:26:54 CEST
Oooups, I should read the 3782 firstly...

I've search in this bug tracker an see the 3782. But I've check my hostname it's ok.
And when I change the /usr/lib/libDrakX/common.pm as explained it works !
Comment 4 Manuel Hiebel 2012-06-26 22:46:42 CEST
ok cool

*** This bug has been marked as a duplicate of bug 3782 ***

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

Comment 5 TaC 2012-06-26 23:05:50 CEST
Euuh I don't see how the absence of 'xtest' should be corrected by a good hostname? 

And I've tried with the workaround of 3782 it's failed:
# history
  245  xauth list 
  246  export DISPLAY=localhost.localdomain/unix:0
  247  mcc
  248  rpmdrake 
  249  xauth list 
  250  xauth add ":0" MIT-MAGIC-COOKIE-1  629cceb23dc94a08817e8f0c5b262fe4
  251  xauth list 
  252  xauth add "127.0.0.1:0" MIT-MAGIC-COOKIE-1  629cceb23dc94a08817e8f0c5b262fe4
  253  xauth list 
  254  rpmdrake 
  255  drakxconf
  256  /etc/init.d/network status


I hope the 3782 solution solved this problem too...
TaC 2012-06-26 23:50:51 CEST

Resolution: DUPLICATE => (none)
Status: RESOLVED => REOPENED

Comment 6 andré blais 2013-04-18 22:29:41 CEST
Now mga2 has drakxtools and drakxtools-backend 14.22.3
It works for me, at least with current version.

I had never noticed any problem, but if I use these tools from console, it is normally a root console.  However invoking from menu should be equivalent to invoking from non-root console.

Note that optional drakxtools is probably required for graphic mode.
It is normally installed with gnome.

Closing as fixed

Status: REOPENED => RESOLVED
CC: (none) => andre999mga
Resolution: (none) => FIXED

Comment 7 Pablo Saratxaga 2013-06-04 12:14:55 CEST
this was wrongly diagnosticed as same as bug #3782 but in fact it is bug #10425 (wrong version of libdrakx-kbd-mouse-x11 )

*** This bug has been marked as a duplicate of bug 10425 ***

CC: (none) => pablo
Resolution: FIXED => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.