RDP client for Haiku

It might be a lack of multimonitor support in the Haiku itself. When I boot my multimonitor system up, the Haiku boot screen icons are mirrored to both the 1080p HDMI output and the 900p DVI-D output; after the rocket icon lights up, both screens turn white; then the 1080p screen shows the Haiku screen while the 900p screen stays white.

What does this have to do with RDP?

It might have a common cause with the white screen.

1 Like

No; not at all. A white screen on real hardware is usually caused by the video driver failing to set up the hardware correctly. As a result, nothing is displayed, and this can end up either white or black depending on the display technology.

FreeRDP has nothing like that. Also we’re talking about a remote desktop client here, so it’s about showing the display from anoter system inside Haiku. Which does not involve any of Haiku drawing stack at all, except getting a bitmap from the network and putting it on a window.

The problem was actually with rfx/gfx, I accidentally forced bpp instead of allowing the client/server to handshake and the window is no longer white. I can see the video.

The problem is that without rfx/gfx is incredible slow, so Remmina works best even though it still has some minor bugs with keyboard layout

2 Likes

FYI, Remmina has stopped working for me on a clean Haiku nightly install. Once I try to connect to an RDP system it will just crash

Checking out latest KRDC (24.02.2) against an slightly updated freerdp (2.10.0) is working so far in terms of building showing the options, now checking on 32bit, and then I guess I need to figure out how to be able to connect both machines together :slight_smile:

3 Likes

Not sure if I’m the only one facing this, but Remmina is still crashing as soon as it connects to a RDP host for me.

The traceback seems to be

		0x7fd4558b4fa0	0xe3bafffe00	__assert_fail + 0x60 
		0x7fd4558b4fd0	0xe3bb0086ab	/boot/system/lib/libroot.so + 0x4f6ab 
		0x7fd4558b5020	0x1c0fac60f71	remmina_rdp_event_process_ui_queue + 0x51 
		0x7fd4558b5040	0x13719840fd7	gdk_threads_dispatch + 0x27 

Tried changing nearly every RDP option, nothing fixes it, as soon as it has to display the remote screen it crashes.

FreeRDP from command line works fine instead

What is the assertion failure message?

	thread 1495495: Remmina (main)
		state: Call (mutex->owner == -1)

		Frame		IP			Function Name
		-----------------------------------------------
		00000000	0xe3baff9147	_kern_debugger + 0x7 
			Disassembly:
				_kern_debugger:
				0x000000e3baff9140:   48c7c0eb000000  mov $0xeb, %rax
				0x000000e3baff9147:             0f05  syscall  <--

Looks like Reminna may have tried to use an uninitialized lock.