MitseaBlog/content/post/ac60813238214ffca203b23af9672699/index.zh-cn.md
FlintyLemming b6f5b620fd Add slug
2022-09-23 16:52:31 +08:00

37 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

+++
author = "FlintyLemming"
title = "X410 使用方法"
slug = "ac60813238214ffca203b23af9672699"
date = "2021-03-25"
description = ""
categories = ["Linux", "Windows"]
tags = ["Windows", "Linux"]
image = "https://img.mitsea.com/blog/posts/2021/03/X410%20%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/title.jpg?x-oss-process=style/ImageCompress"
+++
之前对 Linux Xserver 不了解,所以买了 X410 一直不会用。今天从官网了解了下使用方法,下面记一下如何搭配 WSL 使用。
1. 安装并启动 WSL我这边使用的是 Ubuntu
2. 更新软件源列表(要换源的可以换源,我用 ustc 的没有问题)
```
sudo apt-get update
```
3. wsl 的系统默认是没有安装桌面的,我们要先安装一个桌面,这边安装的是 xfce
```
sudo apt install xfce4 xfce4-terminal gtk2-engines-pixbuf
```
4. 打开 X410 准备使用
5. 在 Ubuntu 里继续操作,设置变量并启动 xfce
```
export DISPLAY=127.0.0.1:0.0
xfce4-session
```
6. 启动成功
![](https://img.mitsea.com/blog/posts/2021/03/X410%20%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/1.png?x-oss-process=style/ImageCompress)