Skip to content

LM Studio in headless mode on a Linux server without graphics #218

@Tamila-2017

Description

@Tamila-2017

Hello all,

I have two computers:

  1. Linux desktop with graphics
  2. Linux server without graphics

I want to install LM Studio on a Linux server without graphics, and then use it from the desktop.
To do this, I need to run LM Studio on a server without graphics.

The official website has instructions for installing headless mode.
However, I can't use it because there is no graphics on the server.

I try differnet variants start on server.
For example -

./LM_Studio-0.3.5.AppImage server start
or 
./LM_Studio-0.3.5.AppImage --no-sandbox  server start
or
xvfb-run ./LM_Studio-0.3.5.AppImage --no-sandbox  server start

and also created a service /etc/systemd/system/lmstudio.service -

[Unit]
Description=LM Studio Service
After=network.target

[Service]
ExecStart='/home/ai/.appimage/xvfb-run LM_Studio-0.3.5.AppImage'  --no-sandbox  server start
WorkingDirectory=/home/ai/
Restart=always

[Install]
WantedBy=multi-user.target

but apart from many errors when starting the LM_Studio, I didn't get anything else.

This is a disadvantage manual of LM Studio 👎

Please tell me how to eliminate it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-availableThere exists a stable build with this fix or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions