unable to launch RDM terminal (arch & wayland)

unable to launch RDM terminal (arch & wayland)

avatar

I believe it is a font issue, but looking at the other posts I was unable to follow the steps that they were able to follow to fix/bypass the issue. Perhaps font is a red-herring here and I have a different issue.

first this is the error I am getting

   at Devolutions.Protocols.Xterm.SetTerminalFont()
   at Devolutions.Protocols.Xterm.GraphicsInit()
   at Devolutions.Protocols.XtermSsh..ctor()
   at Devolutions.Protocols.XtermSshContainer.CreateTerminal()
   at Devolutions.Protocols.XtermContainer..ctor()
   at Client.Views.Embedded.EmbeddedNativeSSHTunnelView.CreateTerminal()
   at Client.Views.Embedded.EmbeddedNativeSSHTunnelView..ctor(EmbeddedConnectionResult result, Builder builder)
   at Devolutions.RemoteDesktopManager.Business.Connectors.EmbeddedNativeSshTunnelConnector.CreateFrame(ConnectionEngine engine, EmbeddedConnectionResult result)
   at Devolutions.RemoteDesktopManager.Business.Connectors.EmbeddedConnector.Connect(Connection connection, OpenConnectionMode openConnectionMode, IForm undockedWindow)
   at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnection(ConnectionEngine engine, Connection connection, OpenConnectionParameter parameter, IForm undockedWindow)
   at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.OpenConnections(ConnectionEngine engine, Connection[] connectionList, OpenConnectionParameter parameter, Boolean isPlaylist)
   at Devolutions.RemoteDesktopManager.Managers.ActionManager.DoOpenConnection(ConnectionEngine engine, IConnectionSource source, Connection[] currentConnections, OpenConnectionParameter openConnectionParameter)
   at Devolutions.RemoteDesktopManager.Managers.ActionManager.OpenConnections(ConnectionEngine engine, OpenConnectionMode openConnectionMode, IConnectionSource source, Boolean checkOpenedConnection, Boolean noJump)
   at Devolutions.RemoteDesktopManager.Managers.ActionStateManager.<>c.<get_OpenSessionState>b__368_2(ConnectionEngine engine, IConnectionSource source)
   at Client.Views.Controls.ConnectionTreeView.OnButtonPressed(Object sender, ButtonPressEventArgs arg)
   at InvokeStub_ButtonPressEventHandler.Invoke(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)


Steps to reproduce:

  • initiate any connection that opens a terminal. In my case all connections.


My setup:

  • Arch Linux, using the AUR package. https://aur.archlinux.org/packages/remote-desktop-manager
  • Wayland, specifically Hyprland (I have seen other users seem to not have a issue with wayland.. could be wrong? I have also tried running in xwayland mode, I don't think its a wayland issue tbh)
  • I have gateways that I use as tunnels to access my servers in a enterprise environment. So on windows, I typically just launch a RDP connection which prompts the gateway and the tunnel to activate, which briefly activates a terminal. I believe this launching of a terminal is the problem.
  • this is the first time I am trying to get RDM working on linux, and overall I am fairly new to RDM. That said I was able too verify all of my connections outside of RDM. I am not 100% sure RDM is configured properly, as I have simply loaded a backup of my windows version on to linux. But I do not believe RDM server configuration to be a issue, as at the very least the backup file works perfect on windows.
  • I have gone into file>preferences>session type>terminal>terminal font and set it as various fonts. Hack font, hack nerd font, and a few others. Font size sitting between 10-14.
  • RDM Version 2025.1.1.3
  • I am leaning toward it being a font issue. But like I said earlier, the steps I tried to follow in some other posts don't seem to be working and or lining up for me.


Edit: Some more things I have tried.

  • changed GTK default font to various fonts. Monospace regular, Hack regular, Hack Nerd monospace, all default size as 10...
  • I open RDM, change the default font inside of the settings for terminal, to match whatever I have for GTK default. restart RDM. same result.
  • Maybe there is another font source for RDM? Perhaps its pulling a setting from somewhere else on my system, which is why its failing to render.


Edit2: SOLVED!!!!!

Problem: RDM doesn't seem to play well with Hack Nerd Font Mono as the primary system monospace font. On setups like mine (Arch Linux with Hyprland and a minimal config), fonts are often managed manually using a custom fonts.conf.
The fix is to add fallback fonts in your fonts.conf file. This way, if an app like RDM or xterm fails to load your primary font, it can gracefully fall back to a second or third choice without crashing or showing blank text. Just make sure to run fc-cache -fv to reload the cache.
For more details check the wiki. https://wiki.archlinux.org/title/Font_configuration

What really threw me off was the terminal font setting in RDM. I saw something about an override option, but I couldn’t find it, maybe I misunderstood. Either way, setting the terminal font in RDM didn’t seem to make a difference. The issue was with the system not being able to load the font at all, so even if RDM tried to use it, it failed. Once I set up proper fallback fonts in Fontconfig, everything worked fine.

avatar

Recommended Answer

I solved it. Check the last edit.

The issue wasn't that the fonts were not installed, it was that I did not have a backup font enabled in font.conf. I simply had to add a few backups to font.conf and reload the cache. Than all worked well.

All Comments (3)

avatar

Hello,

Thank you for contacting Devolutions Support.

It appears that the issue is indeed related to a font that is not rendering correctly. Could you please try running the following command to install several fonts that are supported by RDM and see if the issue persists?

sudo pacman -S ttf-dejavu ttf-liberation ttf-droid ttf-freefont

Best regards,

Carl Marien

avatar

I solved it. Check the last edit.

The issue wasn't that the fonts were not installed, it was that I did not have a backup font enabled in font.conf. I simply had to add a few backups to font.conf and reload the cache. Than all worked well.

avatar

Hello,

Perfect, glad to hear the issue has been resolved. I will go ahead and close the forum thread.

Best regards,

Carl Marien