I'm using X11 forwarding to use GUI apps from my headless remote server. Everything was fine until I needed to use a program that needs system tray.

Program needs a system tray to work correctly otherwise GUI doesn't show up.

How can I run a GUI program that needs a system tray through X11 forwarding?

  • It's better -and faster- to use vnc. – Ipor Sircer Mar 28 '19 at 18:28
  • @IporSircer Is it possible to use VNC in a text mode only server, to run GUI programs installed in server side using local Xorg, via ssh remotely like we do in X11 forwarding? For example installer assistants, and others? – Luciano Andress Martini Mar 28 '19 at 18:36
  • It just works for me. What are you forwarding through? What do you have on the local end? I am forwarding with ssh -X, I am running kde plasma locally. – ctrl-alt-delor Mar 28 '19 at 19:41
  • @ctrl-alt-delor how it works? it just appears on your local system tray? I'm connecting from a Windows machine to a remote linux machine. – Josh Mar 28 '19 at 20:06
  • So you need to run a system tray, it won't go into the MS system tray. Are you running an X11 window-manager, and desktop system (tray, task-bar, etc.)? – ctrl-alt-delor Mar 28 '19 at 22:48

You can not put stuff in the tray, unless you have a tray.

The MS tray and the X11 tray are not the same: The MS tray can not hold X11 tray items.

Therefore you need to run an X11 tray.

On debian do apt-get install stalonetray. Then read the manual. It claims to be a stand-alone tray, so can be used if not running as system with a tray.

| improve this answer | |
  • I may add more, if I get more info from OP – ctrl-alt-delor Mar 29 '19 at 21:59
  • "Therefore you need to run an X11 tray." Yes, that's just what I'm trying to do. If you know how I can accomplish that, tell me please. – Josh Mar 29 '19 at 22:35
  • Well, installed stalonetray but can you tell me how will I use it please? – Josh Mar 30 '19 at 17:05
  • I have never used it. But assume that you have to run it. (it should then appear on your desktop) – ctrl-alt-delor Mar 30 '19 at 19:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.