https://bugs.winehq.org/show_bug.cgi?id=47942
Bug ID: 47942 Summary: Make sure that your X server is running and that $DISPLAY is set correctly. Product: Wine Version: 4.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dev@intro.ch Distribution: ---
wine fails when i try to start an application on a remote xrdp desktop:
wine WinSCP-5.15.4-Setup.exe Invalid MIT-MAGIC-COOKIE-1 key0009:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0009:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. 002a:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 002a:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
System:
- Debian Stretch most current version on 2019-10-14 - GNOME installed - Kernel 4.19.x from stretch-backports - xrdp installed with that config: https://www.hiroom2.com/2017/06/19/debian-9-install-xrdp/ (it's "buggy by default", or something like that, because of that we need apply that config first..)
https://bugs.winehq.org/show_bug.cgi?id=47942
--- Comment #1 from dev@intro.ch --- - Maybe that problem is already fixed on newer versions?
- If you have any questions, don't hesitate to ask me!
https://bugs.winehq.org/show_bug.cgi?id=47942
--- Comment #2 from dev@intro.ch --- ...and defining the "DISPLAY" variable does not seem to help, why??
https://bugs.winehq.org/show_bug.cgi?id=47942
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- I'm pretty sure the issue is not with wine, but your setup. You need to make sure, that where wine is running, there's also an x-server and DISPLAY is set properly.
https://bugs.winehq.org/show_bug.cgi?id=47942
--- Comment #4 from dev@intro.ch --- The problem seems to be when i run it as "root", the DISPLAY is not correctly configured.
So i saw not, other applications (e.g. gedit) have the same behavior. So it's not an wine issue - so it may be closed...
Best regards, Jan
https://bugs.winehq.org/show_bug.cgi?id=47942
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Fabian Maurer dark.shadow4@web.de ---
So i saw not, other applications (e.g. gedit) have the same behavior. So it's not an wine issue - so it may be closed...
Marking INVALID then. Feel free to ask for help in the forums though.
The problem seems to be when i run it as "root", the DISPLAY is not correctly configured.
Why do you run it as root? You should never run wine as root. If you really need that, which usually you don't, see https://wiki.archlinux.org/index.php/Running_GUI_applications_as_root That should help.
https://bugs.winehq.org/show_bug.cgi?id=47942
--- Comment #6 from dev@intro.ch --- Ok thx!!
https://bugs.winehq.org/show_bug.cgi?id=47942
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Ken Sharp imwellcushtymelike@gmail.com --- Closing bugs marked as invalid.