#811461 libqtgui4: Blank windows with "non-default" users

#811461#5
Date:
2016-01-19 08:09:56 UTC
From:
To:
Dear Maintainer,

I'm currently having some issues with running Qt4 based applications:
I get a blank window when "su-ing" into another user and trying to
run various Qt based applications from there. This happens for
mumble, keepassx or electurm for me, for instance.

GTK based applications like eog, libreoffice, iceweasel or gedit run
fine from this alternative user.

Usually I grant display access rights to the alternative user via
"xhost +local:linus". However "sudo gksu -u linus mumble", too, just
gives me blank windows.


The X server runs within a VNC session, started by Xtightvnc. The
window manager within that X server is Xmonad.

Running Qt4 based applications via ssh X forwarding instead of VNC
works fine though. At least after granting the user "linus" read/write
access to ~/.Xauthority of the user that started
lightdm/Xtightvnc/Xmonad/... and setting a symlink from
/home/linus/.Xauthority to /home/$x-server-owner/.Xauthority.

Cheers, Linus

#811461#10
Date:
2016-01-19 15:23:25 UTC
From:
To:
Do you see any strange messages in ~/.xsession-errors ?

I also don't fully understand what you do. For what I read I think you start
an X session by running Xtightvnc with user A and then you want to run some
Qt4 tool with user B, right?

Anyways Qt4 is in security fixes only mode, so I won't get help from upstream
to solve this.

If you can also try to see what happens with Qt5 apps.

Kinds regards, Lisandro.

#811461#15
Date:
2016-01-19 15:23:25 UTC
From:
To:
Do you see any strange messages in ~/.xsession-errors ?

I also don't fully understand what you do. For what I read I think you start
an X session by running Xtightvnc with user A and then you want to run some
Qt4 tool with user B, right?

Anyways Qt4 is in security fixes only mode, so I won't get help from upstream
to solve this.

If you can also try to see what happens with Qt5 apps.

Kinds regards, Lisandro.

#811461#20
Date:
2016-01-21 16:56:17 UTC
From:
To:
Hm, no errors in there.

Correct :).

Qt5 apps seem to run fine too. Just tested dolphin, musescore and
ktimer. So seems to be just Qt4 related.

Cheers, Linus

#811461#25
Date:
2016-01-21 16:56:17 UTC
From:
To:
Hm, no errors in there.

Correct :).

Qt5 apps seem to run fine too. Just tested dolphin, musescore and
ktimer. So seems to be just Qt4 related.

Cheers, Linus

#811461#28
Date:
2016-01-21 16:56:17 UTC
From:
To:
Hm, no errors in there.

Correct :).

Qt5 apps seem to run fine too. Just tested dolphin, musescore and
ktimer. So seems to be just Qt4 related.

Cheers, Linus

#811461#33
Date:
2016-01-22 01:29:27 UTC
From:
To:
Meyer wrote:

¿something about no permissions? Have you checked user B's .xsession-errors?

ACK.

Then I'm afraid chances to get this solved are quite low except someone starts
digging the code. And even if we find the problem (and turns out to be Qt4
itself) we would need to keep the patch as a delta as upstream has closed any
kind of development in qt4, even bugfixes.

Your best hope here is to ping your Qt4 apps' developers and maintainers to
port their apps to Qt5 :-(

Kinds regards, Lisandro.

#811461#38
Date:
2024-08-04 17:02:39 UTC
From:
To:
-- 
Greeting,

I have access to very vital information that can be used to
move huge amounts of money.

If it was possible for me to do it alone I would not
have bothered contacting you. Ultimately I need you to play an
important role in the completion of this business transaction.

Regards,
Mr Alexander Bulyanda