Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nextcloud windows client 2.5.3 and 2.6.0 when start as in remote desktop session will CANNOT start #1448

Closed
ericohao opened this issue Sep 26, 2019 · 16 comments
Assignees

Comments

@ericohao
Copy link

Expected behaviour

Normal Start

Actual behaviour

with a MessageBox say :"Error: LoadLibrary failed with error 87:The parameter is incorrect."

Steps to reproduce

1.Normal Success Install nextcloud windows client 2.5.3(2.5.2).
2.Restart the computer without login.
3.On another computer remote desktop connect the computer and login,and click to start nextcloud windows client.

Client configuration

Client version:2.5.3

Operating system:
Windows 10
OS language:
English
Qt version used by client package (Linux only, see also Settings dialog):

Client package (From Nextcloud or distro) (Linux only):

Installation path of client:
C:\Program Files (x86)\Nextcloud

Server configuration

Nextcloud version:

Storage backend (external storage):

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

  1. Client logfile: Output of nextcloud --logwindow or nextcloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the Nextcloud directory)
    (See also https://docs.nextcloud.com/desktop/2.3/troubleshooting.html#log-files)

  2. Web server error log:

  3. Server logfile: nextcloud log (data/nextcloud.log):

@misch7
Copy link
Member

misch7 commented Sep 29, 2019

There is a new release 2.6.0, just published on Friday:
https://download.nextcloud.com/desktop/releases/Windows/Nextcloud-2.6.0-setup.exe

Downloads for all platforms:
https://github.com/nextcloud/desktop/releases/tag/v2.6.0

Could you give it a try and get back here with the results? ;-)

@misch7 misch7 self-assigned this Sep 29, 2019
@ericohao
Copy link
Author

ericohao commented Oct 4, 2019

Thank you every much.I tested.But , still the same. Thanks a lot .

@ericohao ericohao changed the title nextcloud windows client 2.5.3 when start as in remote desktop session will CANNOT start nextcloud windows client 2.5.3 and 2.6.0 when start as in remote desktop session will CANNOT start Oct 5, 2019
@delumerlino
Copy link

Same here. Follow discussion

@t-b-x
Copy link

t-b-x commented Oct 27, 2019

Subscribe for 2.6.0 when using Remote Desktop, than error occurs. When using e.g. Teamviewer, Client starts normally.

@nanaya
Copy link

nanaya commented Dec 25, 2019

Same error on fresh-ish windows 10 install (1809, 1909) using remote desktop. Nextcloud client version 2.6.2.

Now I think about it this probably is not a new problem? Or at least something else also had similar problem before and the solution is to disable the app's gpu acceleration. But I don't remember how to do that.

Apparently it's common problem on systems running certain radeon driver? Renaming certain dll file seems to fix it.

@uwedisch
Copy link

Filename is: atig6pxx.dll

It's located in Windows directory.

@m4t7e0
Copy link

m4t7e0 commented Feb 3, 2020

Same issue:
2.6.2stable-Win64 (build 20191224) running on Windows 10 1909, if i open nextcloud via Microsoft RDP i get "Error: LoadLibrary failed with error 87:The parameter is incorrect.". if i'm running on desktop i can run it and than without close the session i can use the rdp.
Looks like a rdp compatibility bug

@Volker-K
Copy link

Same here. Client works when started from local session, then you can even connect via RDP and it's ok. Startet from an RDP it crashes.

@Plattenthaler
Copy link

Same here. Exact the same as Volker-K described.

@thehijacker
Copy link

Same issue for me. I work from home and need RDP connection over VPN to my work computer. From time to time I need to reboot it. When I login over RDP the Nextcloud client will not start with that exact name. If I reboot and login from behind computer the client will start. Any solution for this?

@ericohao
Copy link
Author

ericohao commented Apr 6, 2020

On Windows 10: If running this app over a remote desktop and you have an AMD/ATI card, simply disable the real graphics card in Device Manager and restart the application (not the computer). https://github.com/alacritty/alacritty/issues/1976

@ericohao ericohao closed this as completed Apr 6, 2020
@Volker-K
Copy link

On Windows 10: If running this app over a remote desktop and you have an AMD/ATI card, simply disable the real graphics card in Device Manager and restart the application (not the computer). https://github.com/alacritty/alacritty/issues/1976

That's one way.
I've tried setting
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]
"bEnumerateHWBeforeSW"=dword:00000001

It worked.

@ericohao
Copy link
Author

Thanks. I think it is a problem of QT , several other application with QT in remote desktop session report the same message and cannot load , for example OpenSCAD. @Volker-K

@Volker-K
Copy link

@ericohao It's a problem of QT caused by a misspelled dll-name insinde the registry. So lots of Nividia drivers for AMD/ATI systems will cause this error. QT tries something that should normally work and obviously does with other graphics cards.

@tkafka
Copy link

tkafka commented Apr 18, 2021

@peeter123
Copy link

I found a workaround by placing opengl32.dll from the MESA windows builds (https://github.com/pal1000/mesa-dist-win/releases/) in the Nextcloud installation directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests