# Linux desktop

Source: https://tiltas.openpanel.sh/docs/devices/linux-desktop

> Install Tiltas on a Linux laptop or workstation and sign it in as your own Personal device.

On a Linux laptop or workstation you sign in with your own account, like on a phone or a Mac, instead of a Join key.
The computer becomes your **Personal device**. For a machine that should belong to the Account and never expire, use
[Add a Linux server](/docs/devices/linux-server) instead.

**Needs:** a 64-bit Linux (x86_64 or arm64) with systemd, and `sudo`.

## Install

```bash
curl -fsSL https://tiltas.openpanel.sh/install.sh | sudo sh
```

It installs `tiltas` and the `tiltasd` service and ends with:

```text title="Output" noCopy
Run 'sudo tiltas up' to sign this Device in.
```

## Sign in

```bash
sudo tiltas up
```

It prints a link and a code, and the same link as a QR code you can scan with your phone:

```text title="Output" noCopy
To add this Device to your Network, open

	https://tiltas.openpanel.sh/connect

and enter the code

	WL8J-4QVW
```

Open the link in a browser where you are signed in to the console, type the code, check that the page names this
computer, and choose **Approve**. The code is never part of the link, so nobody can send you a link that adds their
computer. The code works for 10 minutes. `tiltas up` then connects and returns.

The computer asks you to sign in again after the number of days set in your Network's settings (180 by default): run
`sudo tiltas up` again when it does. See [Sign-in expiry](/docs/access/sign-in-expiry).

## Connect and disconnect

```bash
sudo tiltas down
sudo tiltas up
```

`tiltas down` disconnects and keeps the sign-in; `tiltas up` connects again without a new code. To change settings
on a signed-in Device, use `sudo tiltas set`.

## Incoming connections

On Linux, `tiltas up` leaves incoming connections on: other Devices reach this computer wherever an Access rule allows
(each Member's own Personal devices reach each other by default). To refuse every incoming connection, as the Mac,
Windows and phone apps do at first:

```bash
sudo tiltas set --shields-up
```

`sudo tiltas set --shields-up=false` allows them again. Connections this computer makes go out either way.

## Sign in with an OpenPanel account

If your Network is managed through OpenPanel:

```bash
sudo tiltas up --client openpanel
```

The link it prints then opens on OpenPanel. See [Sign in with OpenPanel](/docs/devices/openpanel).

## Update, sign out, uninstall

These are the same as on a server:

- **Update:** run `curl -fsSL https://tiltas.openpanel.sh/install.sh | sudo sh` again. The computer keeps its sign-in.
- **Sign out:** `sudo tiltas logout` removes this computer from your Network.
- **Uninstall:** `curl -fsSL https://tiltas.openpanel.sh/install.sh | sudo sh -s -- --uninstall` signs out and removes
  Tiltas with its settings and state.

Firewalls and every installer option are in [Add a Linux server](/docs/devices/linux-server).
