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 improve your site experience. By using our websites you consent to this in accordance with the cookie section in our Privacy policy.
Accept

Connecting to a headless Linux

When you try to connect to a Linux computer that doesn’t have a monitor attached, there is no active window server ready to serve your app, so Remotix Agent may fail to start.
To make your remote Linux ready for connection, you need to launch Xvfb, a virtual X-Server, and a window manager. One of the most lightweight ones is fluxbox. Here is the how-to for using these two:

  1. Install Xvfb: sudo apt-get install xvfb
  2. Connect via ssh,

Run the following commands:
export DISPLAY=:1
Xvfb :1 -screen 0 1024x768x24 &
fluxbox &
remotixagent start --gui

Note that fluxbox is just an example of a window manager. You may run any other one or even start a full-fledged desktop environment (e.g., Gnome).