Page 1 of 1

[bug 6362] draktools not start graphical console only x86_64

PostPosted: Jun 4th, '12, 23:07
by tac
Hi,

I don't know if it is the good section for this post...

I've installed the mageia 2 on a x86_64 PC, with gnome only.
After the installation it's impossible to start drak-tools: "Cannot be run in console mode." For rpmdrak, mcc, drakconf, drakxconf,
but in fact every is OK: for example gedit works fine from a root console and the user's X server... $DISPLAY is good too.

Finally I've found the origin in this file : /usr/lib/libDrakX/common.pm
line 399:
Code: Select all
sub check_for_xserver() {
this function is based on xtest external tool, but xtest is not installed!

First I've search for a xtest's rpm for x86_64, I only found Xtest for i586, as expected mcc still failed...

So I forced:
Code: Select all
sub check_for_xserver() {
    return true;
...


mcc starts well now...

Who's the owner of /usr/lib/libDrakX/common.pm? Could somebody solve properly this problem?

Thanks

P.S. very good job for this release, thanks a lot!

Re: draktools not start graphical, console only x86_64, xtes

PostPosted: Jun 5th, '12, 19:48
by doktor5000
tac wrote:Who's the owner of /usr/lib/libDrakX/common.pm? Could somebody solve properly this problem?


You can query to which package this file belongs to via
Code: Select all
rpm -qf /usr/lib/libDrakX/common.pm
and then take a look from what src.rpm this comes from via
Code: Select all
rpm -qi $(rpm -qf /usr/lib/libDrakX/common.pm)
and then you can have a look at http://pkgsubmit.mageia.org/data/maintdb.txt who the maintainer for that one is.
But you can also just report it as a bug: https://wiki.mageia.org/en/How_to_report_a_bug_properly

Re: draktools not start graphical, console only x86_64, xtes

PostPosted: Jun 7th, '12, 00:01
by tac