We use cookies to improve your site experience. By using our websites you consent to this in accordance with the cookie section in our Privacy policy.
Accept
We use cookies to remember your language choice. By using our website you accept this in accordance with the Cookie section in our Privacy Statement.
Accept

Connecting to a headless Linux

When your remote computer running Linux OS doesn't have a monitor connected, there is no active window server ready to serve your app. In this case, remote connections with Cyber Protect Connect may fail.

The workaround is to use a virtual window server, e.g. Xvfb, on your Linux computer:

  1. Install Xvfb:
    sudo apt install xvfb
  2. Form an appropriate environment:
    export DISPLAY=:0
    export XDG_CURRENT_DESKTOP=Xvfb
  3. Start Xvfb:
    Xvfb :0 -screen 0 1024x768x24 &
  4. Start a desktop environment:
    fluxbox &
    Fluxbox here is just an example of a window manager. You may also run any other one or even start a full-fledged desktop environment (e.g. Gnome).
  5. Now the Agent should be ready to accept incoming connections to your headless Linux.