Closed saladuit closed 1 year ago
@saladuit This is working on my machine. All it does it launch an appimage, so I think maybe xdg-open + appimages aren't working on your system.
If you run xdg-open https://runelite.net
, does it open a browser window?
@nmlynch94 seems to work!
~ ❯ xdg-open https://runelite.net
~ ❯ Opening in existing browser session.
The following are the logs of lutris when starting the jagex launcher:
Started initial process 5293 from gamemoderun /home/saladuit/.local/share/lutris/runners/wine/lutris-GE-Proton8-13-x86_64/bin/wine /home/saladuit/Games/jagex-launcher/drive_c/Program Files (x86)/Jagex Launcher/JagexLauncher.exe
Start monitoring process.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
fsync: up and running.
wine: Using setpriority to control niceness in the [-10,10] range
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
gamemodeauto:
gamemodeauto:
gamemodeauto:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.runelite.client.util.ReflectUtil (file:/home/saladuit/.runelite/repository2/client-1.10.11.1.jar) to field java.lang.reflect.Executable.declaredAnnotations
WARNING: Please consider reporting this to the maintainers of net.runelite.client.util.ReflectUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
i got the following from the logs, and clicking the green 'sign in to Runelite' butten doesn't add any entries. Also lookup wiki doesn't work.
Could you try downloading and opening the AppImage file for runelite directly and seeing if browser links are working? I suspect this is unrelated to the jagex launcher, but that will confirm for sure.
This kinda works for me at the moment as the settings are most important, but still curious why it doesn't work. @nmlynch94
I'm just really unsure how to debug this
Could you specifically launch the .AppImage file as opposed to the package manager version?
You can cd to /home/games/<you>/jagex-launcher/drive_c/Program FIles (x86)/Jagex Launcher/Games/RuneLite/
and there should be an appimage you can try to run with ./RuneLite.AppImage --appimage-extract-and-run
. This will isolate if it's a RuneLite appimage + distro issue or if it's something with how we launch it from the Jagex Launcher.
If that also doesn't work, then I'm honestly not sure how to debug it either unfortunately. There have been issues in the past with Appimages not allowing links to work on some distros https://github.com/keepassxreboot/keepassxc/issues/8721, but I don't know if a similar issue is at play here.
@nmlynch94 Works!
So it is probably not the distro
It could be that I'm using brave? Is there somewhere specified which browser should be used?
Note: @nmlynch94 I'm already very happy that I'm able to login, (quite yanky, but still). So many thanks for that!
Yeah thanks for confirming. Looks like my theory was incorrect. Glad you found a workaround. I unfortunately cannot reproduce on my system, but maybe something like this https://askubuntu.com/questions/516307/how-do-i-change-default-wine-browser-to-native-ubuntu-browser-instead-of-ie could be a fix?
@nmlynch94 Sorry I hadn't seen your response yet. I'll check it!
I think I did it correctly but it didn't seem to work?
Small note, I was already wondering why this was popping up each time I opened the jagex launcher. Does this perhaps ring any bells? @nmlynch94
Oke I didn't follow the instructions correctly. So here is my revised settings:
At the moment the jagex launcher becomes totally black when trying to launch it.
One thing that was unclear from that guide, you will need to edit the registry of the game in lutris instead of the step 1 of wine regedit
. You can click the up arrow next to the wine glass and select it from there if you haven't. If you did, then unfortunately I'm not sure what to try next.
Also, are you on Wayland? This black screen thing is an issue we've seen on wayland, especially gnome wayland. Try disabling dxvk. If that doesn't work, then also swap your wine to system wine (wine-staging) and enable virtual desktop.
The small icon you are seeing happens in gnome. I think that's how Wine handles when an application tries to add it's icon to the task bar but it can't find one.
Oke the blackness was probably due to turning on prime render overload. the launcher luckily works again after restarting. Still curious to find out more about the browser settings though
I'm on X11. I did use the arrow next to the wine glass this time. But it still doesn't use the correct browser. At this point I'm also unsure how to tackle this problem any further. Still if you know a fix I'm all ears!
One small note, the explore.exe opens and the launcher opens in a separate window. Like this:
I have the same issue, and I tried the registry tweaks, but they don't solve the problem. Clicking the wiki button in RuneLite doesn't do anything and logging in only works when opening the AppImage directly.
FWIW, clicking a link inside the Jagex Launcher does open the webbrowser to the clicked link, it's just links in RuneLite that don't open.
@rompetomp that is interesting. Because the links in my launcher also don't work...
You could give this a shot and see if the links open in the flatpak version of runelite: https://github.com/TormStorm/jagex-launcher-linux/issues/49#issuecomment-1643221975. Downside is, even if it works, I'll have no idea why and we'll be no closer to finding the reason lol.
Do you have the RuneLite flatpak installed ?
flatpak install flathub net.runelite.RuneLite
I had the same problem before I installed it onto my system like that.
Try installing it with the latest installation script and see if that resolves the issue
Installed it with the latest script but still have the issue with the .jar and AppImage. Flatpak version is working fine.
Maybe it's an issue related to specific DEs? I only have this issue when using Cinnamon. When I switch over to KDE plasma everything is working.
@Stoepsel3000 Seems likely. I'm on KDE as well so it would explain why I can't reproduce. I'll get cinnamon one of these days to see if I can get it working.
Closed as stale. If you have any more information feel free to reopen the issue.
Describe the bug Opening runelite via the jagex launcher works perfectly. However, I'm not able to login to runelite. Is there another way to do so?
To Reproduce Steps to reproduce the behavior:
Expected behavior login popup menu
Screenshots Not applicable
Please complete the following information: