Skip to content

not injecting to lunar client. #1

@athinaslime

Description

@athinaslime

lunar client adds the flag "-XX:+DisableAttachMechanism", this completely blocks the client from injecting to it, here is the app.log

15:43:53 [DEBUG] (1) eframe: Using the glow renderer
15:43:53 [DEBUG] (1) sctk: Bound new global [58] wl_output v4
15:43:53 [DEBUG] (1) sctk: Bound new global [9] zxdg_output_manager_v1 v3
15:43:53 [DEBUG] (1) sctk: Bound new global [1] wl_seat v7
15:43:53 [DEBUG] (1) sctk: Bound new global [10] wp_cursor_shape_manager_v1 v1
15:43:53 [DEBUG] (1) sctk: supported wl_shm format Argb8888
15:43:53 [DEBUG] (1) sctk: supported wl_shm format Xrgb8888
15:43:53 [DEBUG] (1) sctk: supported wl_shm format Xbgr8888
15:43:53 [DEBUG] (1) sctk: supported wl_shm format Abgr8888
15:43:53 [DEBUG] (1) sctk: supported wl_shm format Xrgb2101010
15:43:53 [DEBUG] (1) sctk: supported wl_shm format Argb2101010
15:43:53 [DEBUG] (1) sctk: supported wl_shm format Xbgr2101010
15:43:53 [DEBUG] (1) sctk: supported wl_shm format Abgr2101010
15:43:53 [DEBUG] (1) eframe::native::glow_integration: Event::Resumed
15:43:53 [DEBUG] (1) eframe::native::file_storage: Loading app state from "/home/athinaslime/.local/share/darkclientinjector/app.ron"…
15:43:53 [DEBUG] (1) eframe::native::glow_integration: trying to create glutin Display with config: ConfigTemplateBuilder { template: ConfigTemplate { color_buffer_type: Rgb { r_size: 8, g_size: 8, b_size: 8 }, alpha_size: 8, depth_size: 0, stencil_size: 0, num_samples: None, min_swap_interval: None, max_swap_interval: None, config_surface_types: ConfigSurfaceTypes(WINDOW), api: None, transparency: false, single_buffering: false, stereoscopy: None, float_pixels: false, max_pbuffer_width: None, hardware_accelerated: None, max_pbuffer_height: None, native_window: None } }
15:43:53 [DEBUG] (1) eframe::native::glow_integration: using the first config from config picker closure. config: Egl(Config { inner: Config { raw: EglConfig(0x56467c2d84b0), display: Khr(0x56467c29f010) } })
15:43:53 [DEBUG] (1) egui_winit: Failed to set window size
15:43:53 [DEBUG] (1) eframe::native::glow_integration: successfully created GL Display with version: EGL 1.5 and supported features: DisplayFeatures(CONTEXT_ROBUSTNESS | CONTEXT_NO_ERROR | FLOAT_PIXEL_FORMAT | SWAP_CONTROL | CREATE_ES_CONTEXT | MULTISAMPLING_PIXEL_FORMATS | SRGB_FRAMEBUFFERS)
15:43:53 [DEBUG] (1) eframe::native::glow_integration: creating gl context using raw window handle: Some(Wayland(WaylandWindowHandle { surface: 0x56467c2e2150 }))
15:43:53 [DEBUG] (1) eframe::native::glow_integration: Initializing egui_winit for viewport "FFFF"
15:43:53 [DEBUG] (1) eframe::native::glow_integration: Creating a gl_surface for viewport "FFFF"
15:43:53 [DEBUG] (3) sctk: Bound new global [1] wl_seat v7
15:43:53 [DEBUG] (1) egui_glow::painter:
opengl version: 4.6 (Core Profile) Mesa 25.1.3-arch1.3
opengl renderer: Mesa Intel(R) Arc(tm) A380 Graphics (DG2)
opengl vendor: Intel
15:43:53 [DEBUG] (1) egui_glow::shader_version: Shader version: Gl140 ("4.60").
15:43:53 [DEBUG] (1) egui_glow::painter: Shader header: "#version 140\n".
15:43:53 [DEBUG] (1) egui_glow::painter: SRGB texture Support: true
15:43:53 [DEBUG] (1) egui_glow::painter: SRGB framebuffer Support: true
15:43:53 [DEBUG] (1) egui_glow::vao: GL version: "4.6 (Core Profile) Mesa 25.1.3-arch1.3".
15:44:27 [INFO] Loading Agent Loader
15:44:27 [ERROR] jcmd failed (stderr): com.sun.tools.attach.AttachNotSupportedException: The VM does not support the attach mechanism
at jdk.attach/sun.tools.attach.HotSpotAttachProvider.testAttachable(HotSpotAttachProvider.java:145)
at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:56)
at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
at jdk.jcmd/sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:113)
at jdk.jcmd/sun.tools.jcmd.JCmd.main(JCmd.java:97)

15:44:28 [ERROR] Unable to connect to server: Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }

any workarounds/fixes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions