Developed with CentOS8.1 + Emacs26.1 + WSL2 with Ubuntu20.04 + VcXsrv

I want to share a common development environment with multiple terminals

--There is a Windows desktop + laptop, MacBookPro, Linux, etc. at home ――It is troublesome that the detailed settings are different. ――You should create a development environment for an external VPS service

WSL2 setup

――Since various people are doing it, I will omit it --Windows Firewall is turned off. --Entered $ DISPLAY settings. ↓ Quoted from Microsoft website


 export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0

VcXsrv setup

--As shown in the reference site, -ac is added to the startup parameter.

CentOS 8 setup

--Enter xorg-x11-xauth.x86_64 --Enter ʻEmacs --Enter Japanese environment (ibus-mozc)`

$ sudo dnf install xorg-x11-xauth.x86_64 emacs 

--Other things you need, such as git, screen, zsh, etc.

Something is wrong when Emacs starts!

--Here Dohamari. In conclusion, add the following to ʻinit.el`

(modify-frame-parameters nil '((inhibit-double-buffering . t)))

Reference site

https://qiita.com/ryoi084/items/0dff11134592d0bb895c

Recommended Posts

Developed with CentOS8.1 + Emacs26.1 + WSL2 with Ubuntu20.04 + VcXsrv
Use cljstyle with Spacemacs on Ubuntu on WSL2
Comfortable Docker environment created with WSL2 CentOS7 and Docker Desktop
Explode Docker with WSL2
Use CentOS with LXD
Install Gradle with ubuntu16.04
Build Growai with Centos7
ubuntu on wsl part 10