X server already running on display wsl2. WSL2启动xfce4端口被占用解决方法 .
X server already running on display wsl2 i3 does complain if you set the server to multi-window netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0. I started tigervnc server with: You'd just need to run wsl --system Xwayland :1 in a cmd terminal, and then start your window manager targeting it with something like WAYLAND_DISPLAY= DISPLAY=:1 awesome. 0 Are you using WSL 1 or WSL 2? WSL 2 WSL 1 Kernel Version No response Distro 关于WSL2使用xfce4 遇到的那些坑及解决办法:一_startxfce4. This directory must exist and must be linked to /mnt/wslg/. X11-Unix. I have also installed all the drivers in the ubuntu 20. 6k 2 2 gold Server is x0vncserver is a TigerVNC Server which makes any X display remotely accessible via VNC, TigerVNC or compatible viewers. Using XLaunch instead of a Shortcut to VcXSrv. 沥青. as user The DISPLAY variable would usually have the form :0 rather than plain 0 - also you could check that the X server is running on display :0 (by pgrep -a Xorg for example) – steeldriver. I use this configuration: I don't know for Native OpenGL but it seems important to disable Windows 11 Pro / WSL2 I installed X server and manually specifying the IP when exporting DISPLAY does launch Terminator for me. 3448] WSL Version 1. Ask Question Asked 2 years, 8 months ago. 6k次,点赞3次,收藏3次。1. 28. 0. Since that X What is WSL 2. 0 port 8000 as WSL2 is running in its own VM and has its own network The ports were export DISPLAY=ipconfig. For example, you can use the Xming project to run a display server. 26. x in 'connectaddress' you must put your IP I use windows 10 and WSL2. For Linux GUI applications, I'm using the To run linux applications on the X server hosted by the windows machine, I use the second command: export WSL_HOST_IP=$( cmd. Actual WSL2 ubuntu18. xx:0 说 ComparingUpdateTracker: 0 pixels in / 0 pixels out ComparingUpdateTracker: (1:-nan ratio) /usr/bin/startxfce4: X server already running on display :1 xrdb: Connection refused 本帖最后由 Medivan 于 2022-2-17 16:55 编辑 上一帖说到用VcXsrv+xfce4实现在Windows下显示wsl的软件窗口 本贴是另外一种方法,使用官方的WSLg,在这里总结一些操 If you want to run graphical Linux applications in WSL2, you'll need an X (X11) Server running. When you select the Windowed Apps mode, X410 only shows a tray icon. Modified 2 years, DISPLAY will end up pointing to that server, and it won't For example, run the command ssh -X username@remote-server. 04; I am using XLaunch for XServer; The AHK file looks like:; Global hotkeys #+l::Run, C:\Users\conne\WSL\linuxmachine. bashrc take effect on next shell launch. Happiness throughout the kingdom. Expected Behavior. You need some sort of bridge or port forwarding for non-localhost requests to The main barrier is running a GUI from WSL. 329 and would like to run graphical apps at X server. 0 (using the built-in Windows X-server) Offline #3 2023-08-27 00:15:15. WSL2(Windows Subsystem for Linux(WSL)适用于 Linux 的 Windows 子系统) Xrdp是一个开源工具,允许用户通过Windows RDP访问Linux远程桌面。除了Windows RDP I'm trying to configure an Xming display on my WSL2, and after an amount of troubleshooting attempts, I'm quite clueless. 关于WSL2使用xfce4 出现 X server already running on display xx. WSL on Windows)? This is why I'm confused. vnc/passwd DESKTOP In order to do something like this, you need to download an X server for Windows, and then configure that. x in 'connectaddress' you must put your IP VcXsrv Windows X Serverのインストール 先程インストールしたXLaunchを起動し,適当にOne large windowか何かでDisplay numberを0(DISPLAYに設定したもの)に設 Once the installation is complete, you can start the X server by running the following command: sudo systemctl start xorg. Check "Disable access control" and click "Next". 04 (server/terminal) from the Windows 10 Apps store. Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free If you were to run startxfce4 from a console, it would attempt to start an X server. systemd1 このwslg、自分からxサーバーを用意せずともguiアプリが動くので、とってもいいです。 正直自分がvcXsrvを使おうとしたときは、ファイアウォール関連でどうしてもポート開放までしないと動かなくて、3回くらいイ Windows 11 Pro / WSL2 I installed X server and manually specifying the IP when exporting DISPLAY does launch Terminator for me. You can see this if you try to run just xfwm4:. and. OP . 17. 1:0 gpg-agent: a gpg-agent is already running - not starting a new one (xfwm4:9541): Gtk-WARNING **: When you start WSL2, it gets its own IP address. Modified 2 years, "Cannot load libcuda. 19045. The below guide documents how to install Windows Hi all, Has anybody had any sucess using WSL2 gui as an x-server for remote apps? ie, I want to run firefox on a different machine -display myWSLgIP:0 but no joy :( Short answer: Try running: export DISPLAY="$(hostname). You can also I am using WSL2; I am using Ubuntu 20. 30. meuh meuh. (If I kill the xfce4 sessions and repeat startxfce4 I get X servers create their socket under /tmp/. 32. bashrc: export DISPLAY=ipconfig. The application opens under Windows 10, but unfortunately the screen is blank. I was in a similar situation while running tests for Code2Pdf at travis. As administrator wsl --shutdown 2. 以直接使用Windows+R快捷键,在打开的「运行」窗口中直接执行optionalfeatures打开「Windows 功能」,或者在控制面板中打开 The X app displays on the host through the Xserver. You need to restart Termux app, that's the Cypress unable to open X Display in WSL2. Setting up an X11 Server on WSL2. 255. The server has the fonts, the client (WSL2) has the fonts (since running apps on it work just fine), and Windows netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0. In this case, it's telling you that an X server is already running. 1" when running ffmpeg with I have all the updates and latest video drivers. local:0" That should allow xmgrace and gnuplot (and any other X client) to utilize Xming. So start X with just a simple terminal ( xinit /usr/local/bin/xterm) and then, from I normally don't run X apps in WSL/WSL2, but when I do, I use tightvnc server (running in WSL/WSL2) and vncviewer (running in Win10), so I don't have to install X server for Win10. For details: System: WSL2 on Windows10Pro I would like to set up an X11 Server so that I can run graphical Linux applications using the Windows Subsystem for Linux I already have Cygwin/X X Server installed on my machine 前言. wslg will add native X11/Wayland support into Windows, but for now that's only #!/bin/bash # silencing matplotlib warning MPLCONFIGDIR="/tmp" export MPLCONFIGDIR # Virtual display export DISPLAY=:0 Xvfb :0 -screen 0 1024x768x24 # my X app continues to run until I kill the Xserver or the app. exe | dos2unix | grep IPv4 | cut -d: -f2 | head -1 | awk '{$1=$1};1 Background: Many of you may use an X-server running on Windows to see graphical outputs Marcus Greenwood Hatch, established in 2011 by Marcus Greenwood, has evolved significantly over the years. went away, but didn't do a close handshake (that the WSL side received anyway). 0 at Apr 22, 2021 · 文章浏览阅读9. Staffan Mattsson . The "normal" method of running an X server on WSL with Windows 10 is to install a third-party X server such as For WSL1, no firewall rule is necessary, and the "normal" DISPLAY=:0 should work, since it shares the same network interface as Windows (where the X Server is running). exe /C I've been successfully running WSL2 Ubuntu on my company-managed Windows 11 Pro 23H2 (OS build 22631. so. 1:0. 04] on WINDOWS 10 Pro cannot access a defined DISPLAY (no matter how I define it if via localhost:0, or the WSL2 vEthernet adapter IPv4 address) on X-Server (neither Xming nor VcxSrv with and without -ac None of the existing answers work for me, as WSL2 is running in its own VM and has its own network adapter. When 今天在打开 xfce4 的时候,发现报错了 “/usr/bin/startxfce4: X server already running on display 172. The Windows Subsystem for Linux lets developers run a GNU/Linux environment — including most command-line tools, utilities, and applications — The X Server runs on your computer and manages the display, handling input from the mouse, keyboard, and other peripherals. docker. internal:0. ssh will set up a remote tunnel Honestly if you don't mind the grey borders and running in windowed mode, without shortcuts locked to the X-server, WSLg may work. 1 Logs show /usr/bin/startxfce4: X server already running on display :21. The DISPLAY variable has the format <host>:<display>. X app continues to run until I kill the Xserver or the app. Did a install of Docker Desktop and did a test Your host already runs an X server. 71 X Windows broken on fast ring WSL2 (?) (#5106) , similarity score: 0. WSL2. 1:0 卡住不动然后显示connected time out Jul 4, 2022 · WSL2(Windows Subsystem for Linux(WSL)适用于 Linux 的 Windows 子系统) Xrdp是一个开源工具,允许用户通过Windows RDP访问Linux远程桌面。 除了Windows RDP之外,xrdp工具还接受来自其他RDP客户端的连 Dec 24, 2024 · 分析原因:出现X server already running on display 10. X410 will use the port Update 1. I have added export DISPLAY=:0. 1):0。1. , gpg-agent --daemon New Xtigervnc server 'DESKTOP-XXXX. 04 image i am running in wsl2. e. If I package the code as a Docker image & run it, the curl commands work from inside WSL2 and from the Windows command line, so this is a Quarkus-specific . wslg will add native X11/Wayland support into Windows, but for now that's only The first part of the DISPLAY variable is just the address of the display server machine. Analogy Describe the issue My wsl version is wsl2,and now i install xfce4,and exec 'startxfce4',it seems some problem with dbus. No idea why it worked once but never again. 用了两天发现xrdp协议+mstsc 远程桌面 流畅度只能算凑合,开个Chromium看网页还行,如果播放视频的话就卡成幻灯片了,而且 You are entitled to your opinion, but tens of thousands, if not hundreds of thousands of people use X11 apps with WSL. 1:0 [1] Let me describe shortly, what’s needed to run the XFCE Linux Desktop environment on top of your Ubuntu WSL. 0 connectport=3000 connectaddress=192. 打开cmd 输入ipconfig。 此时已经可以看到图形界面启动了。2. Also make sure to allow public access of X server running in Windows 10. 254:0 说明X服务器已经正常启动,但是明显连接的window主机IP不正确,在Windows的命令提示符中(键盘 Mar 20, 2024 · 本文介绍了如何解决在Ubuntu系统中启动xfce4时遇到的Xserver和DISPLAY相关报错,步骤包括查看IPv4地址、设置DISPLAY环境变量并使用sudo启动图形界面。 WSL2 Mar 20, 2024 · 3. XELB (X protocol Emacs Lisp Binding) is a pure Elisp implementation of X11 DISPLAY indicates where the X display server is running. So in this article, we will install an X-server and grant it permission to connect through Windows Defender firewall. That long command will evaluate to the IP that WSL2 set. so, is there any start google-chrome on terminal of the remote server; find the correct environment variable DISPLAY with the following command: username@hostname:$ env |grep DISPLAY; After Reboot: Due to the IP address changed, the X Server connections are refused. The display is set as an environment variable on the xclient side so it knows where to send the output at the xserver. xxx. . I've tried many X11 Forwarding and Windows Subsystem for Linux 2 Thomas Ward April 19, 2021 WSL2 X11 Forwarding Guide Summary. Follow answered Sep 29, 2015 at 17:46. This doesn’t seem to be related to the display id. Unlike Xvnc(1), it does not create a virtual display. I solved the problem using xvfb-run. 最新推荐文章于 WSL2. 208. That's what your docker command Windows Version Microsoft Windows [version 10. For VcXsrv, -ac option is most important because it allows public access. A set of instructions for setting up an X11 server for the Windows Subsystem for Linux VcXsrv on Windows 10 wsl2 does not show app. 144. Improve this answer. 80. 1:0 and then freezes what could be the reason for this? Any ideas how to go about running GUI on WSL2? I have tried several suggestion solutions elsewhere online, but nothing is working yet. 5k次。今天搞了好久,按照下面的教程配置界面Xfce4 Desktop Environment and X Server for Ubuntu on WSL 2但是,就一直不成功,后来发现原来是电脑的防火墙没有关闭,主机可以ping通wsl2,但反之失 Hello, After following the instructions in the FreeBSD Handbook I'm having trouble getting Xfce4 to start from XDM. xsession: #!/bin/sh I have installed Ubuntu 20. Ask Question Asked 3 years, 3 months ago. X410 has two running modes, 'Windowed Apps' and 'Floating Desktop'. 前两天用 xrdp 实现了WSL2跑xfce4图形界面的效果,原文:. Mar 17, 2024 · 根据您提供的信息,可能是因为您使用的是 WSL2,而 WSL2 不支持直接启动图形界面。 您可以尝试以下解决方法: 您需要在 Windows 上安装一个 X 服务器,例如 Xming 或 Aug 18, 2022 · wsl2使用命令startxfce4后,unable to contact setting server could not connect:No such file or directory,而终端上 ~ startxfce4 /usr/bin/startxfce4: X server already running on display:0,分析原因并告诉我 详细的解决方法 Apr 23, 2021 · 从WSL1升级到WSL2,最大的感觉就是速度变快了。 但是本来用得好好的Xserver却不能用了,于是又开始了折腾的旅程。 首先是Windows上Xserver的安装,作者这里选择的是 VcXsrv X Server,下载之后按照所有默 Jul 1, 2019 · Although WSL2 is intended as a command line tool for developers, a desktop environment can be run inside WSL2 and you can use an X Server for Windows such as Xming or VcXSrv to listen for X11 (graphical) programs in PS C:\Users\simon> systeminfo Host Name: QGHRP0C OS Name: Microsoft Windows 10 Enterprise Insider Preview OS Version: 10. WSL2需要启用windows功能中的虚拟机平台和适用于Linux的Windows子系统. <screen>. This is a requirement I won’t cover here. xrdb: Can't open display '172. localdomain:2 (kali)' on port 5902 for display :2. The challenge for me was to make a shortcut with an icon so I can just click on it and launch Terminator Running X-Server applications on Windows 10 with WSL2 and VcXSrv. Previously I was using a third party /usr/bin/startxfce4: X server already running on display 172. 04 使用xfce4时Xlaunch黑屏问题以及解决,X server already running on display 10. Unlike I have decided to upgrade to windows 11 because after reading up on it, I have seen that WSL2 on windows 11 has this X server dealt with already, so no need to mess Getting a GUI from an app inside docker was already solved, my question specifically dealt with an added ssh X11 forwarding step. exe /C netsh interface ip show WSL2 [Ubuntu 18. ToZ Administrator From: I believe the main problem is that WSLg is already running Weston, the Wayland reference server with its own window manager. Feb 13, 2018; Thread If you have the following in your . 4037) workstation. Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /home/kali/. It is possible to run windows executables from WSL 2 as per official documentation from Windows: link. For example, if I'm running the xserver on a Windows box at For WSL2 using Ubuntu Focal Fossa release, I downloaded and installed VcXsrv on Windows. x. Once connected, you can run any GUI application installed on the remote server, and it will be displayed on your Adding to above answers. The docker container can export its X display to the host and use host's X server to run GUI applications. Reactions: Staffan Mattsson. X11-Unix where WSLg built-in X server create it's socket. We will take Your host already runs an X server. If you're using X11 forwarding over # since environment variables are set already in the image, you can also start with: # If you use Docker Desktop, `DISPLAY=host. Share. 04 LTS at Windows 10 Professional build 19041. xx:0 说明X服务器已经正常启动,那么 I want to run my Electron Apps in version 16 on Ubuntu with WSL2 and x-server (VcXsrv). These include things such as RStudio, Spyder, and VS Hello, I think this problem is not for me, I google it, but I don't got good solution for mine problem. This list initially consists of the host WSL2 Windows 11 suddenly cannot open display (#7950), similarity score: 0. You can check the status of the X server by running the following With WSL2 you can run graphical programs without extra software. This is a problem because (a) you really don't want to run your desktop as root, and (b) If you cannot open your X-Window client apps via X410 even after configuring the DISPLAY environment variable, try checking the followings. exe | dos2unix | grep I have been having a rough time trying to fix a once working WSL2 system that could display the GUI of linux apps on windows. To run linux applications on the X server hosted by the windows machine, I use the second command: export WSL_HOST_IP=$( cmd. 找到本机IPv4 地址。 建筑猿 Jan 16, 2021 · Unable to init server: Could not connect: Connection refused xfce4-session: Cannot open display: . 53. From the console hit ALT-F9 to return to X. i google it,and try to modify dbus to tcp This is the Windows Subsystem for Linux (WSL, WSL2, WSLg) Subreddit where you can get help installing, running or using the Linux on Windows features in Windows 10. It follows the same rule as any other IP address; it can be a resolvable DNS name The server, or the client (e. For Xming, run through I followed instructions on setting up X11 forwarding from my WSL2 to the host on Windows 10 with VcXsrv based on this answer: How to set up working X11 forwarding on WSL2 export X410 has two server modes, Floating Desktop and Windowed Apps. The applications looked horrible though but this This question already has answers here: Can't open display: :0. As far as your logs go, it looks like D-Bus isn't After installing Ubuntu as WSL (Windows Subsystem for Linux), I've run (as root): cd ~ python3 -m http. What doesn't work in Windows 10 (and why): In Windows 10 with Ubuntu under WSL2, you had to use a third-party X server in order to run graphical apps. If I run glxgears I get an average of about 100 FPS and I the gnome-terminal or other X11 client and have it display securely on the VcXSrv X11 server running on the Windows host. Since that X WSL2 [Ubuntu 18. 70 Note: You can give me When you forward the Linux GUI apps running on your server to Windows via X410, you can use them just like on a Linux desktop, yet they are seamlessly integrated into Windows. At some random point later, the xterm window simply disppears, with no Unable to init server: Could not connect: Connection refused xfce4-session: Cannot open display: . 最新推荐文章于 2024-11-05 11:36:01 发布. Choose "Start no client" and click "Next". In this mode, when you Also, the X11 server may run under the name X instead of Xorg. less than 1 minute read. g. systemd1 exited with status 1 $ systemctl --user show-environment Failed to get environment: Process org. 5k次。今天搞了好久,按照下面的教程配置界面Xfce4 Desktop Environment and X Server for Ubuntu on WSL 2但是,就一直不成功,后来发现原来是电脑的 Mar 17, 2024 · 然后在 WSL2 中设置 DISPLAY 环境变量,让 WSL2 中的应用程序可以将图形界面显示到 Windows 上的 X 服务器上。 X server already running on display 172. GUI application support in WSL2 is provided by wslg. The changes made to ~/. 254:0 说明X服务器已经正常启动,但是明显连接的window主机IP不正确,在Windows的命令提示符中(键盘 Mar 20, 2024 · 本文介绍了如何解决在Ubuntu系统中启动xfce4时遇到的Xserver和DISPLAY相关报错,步骤包括查看IPv4地址、设置DISPLAY环境变量并使用sudo启动图形界面。 报错: Aug 5, 2020 · 前两天用 xrdp 实现了WSL2跑xfce4图形界面的效果,原文: 用了两天发现xrdp协议+mstsc 远程桌面 流畅度只能算凑合,开个Chromium看网页还行,如果播放视频的话就卡成幻灯片了,而且还不能将声音输出给本地声卡,于是乎就又 Jan 13, 2021 · There is a document Diagnosing "cannot open display" type issues with WSLg providing some possible solutions to the problem. Ubuntu下直接输入 export DISPLAY=IPv4 地址(比如:172. We already have a post for the Floating Desktop mode that shows how you can enable systemd in WSL2 tigervncserver: No matching VNC server running for this user! tigervncserver: No matching VNC server running for this user! tigervncserver: No matching VNC server running Xn. "WSL can run Windows tools directly from the WSL command line using The following portion of the log message indicates that Xming is already running on display 0. i google it,and try to modify dbus to tcp $ systemctl --user status Failed to read server status: Process org. 最近在做项目中,经常遇到JBoss报如下提示:Server already running on localhost。 这时Jboss显示已启动,但页面显示不出来。提示中给出了两种解决办法,运行新 I have decided to upgrade to windows 11 because after reading up on it, I have seen that WSL2 on windows 11 has this X server dealt with already, so no need to mess Describe the issue My wsl version is wsl2,and now i install xfce4,and exec 'startxfce4',it seems some problem with dbus. Type 'xfce4-session --help' for usage. 0` is standard: #docker run -it - Explanation: i3 does not have the ability to understand or manage Windows applications running under the Windows Desktop Window Manager (DWM), as i3 is actually I've been messing around with WSL2 for a while, and I wanted to make the most profit out of it by running an X server instead of running Ubuntu on demanding Virtual If you already have WSL installed on your machine, you can update to the latest version that includes Linux GUI support by running the update command from an elevated 1. Actual behavior. 然后才在WSL的终端输入startxfce4就解 Issuing 'xterm' works, both with DISPLAY set to ip-address:0. The scaling is an issue out of the box, but can be fixed by: 1. 0 (using the VCXServe X-server) and with DISPLAY set to :0. The X server launched, and the desktop showed. 168. Click /usr/bin/startxfce4: X server already running on display 172. Explanation: You should When you forward the Linux GUI apps running on your server to Windows via X410, you can use them just like on a Linux desktop, yet they are seamlessly integrated into Windows. bashrc and you use X-server: DISPLAY=<your windows IPv4 address> Add the following to your . server Output: Serving HTTP on 0. After launching the Ubuntu Terminal via WSL2 (Windows Subsystem for Linux), I installed Ubuntu It is possible that display :0 is locked by a previous failed\crashed vnc session. 2. Still getting just a grey screen with an X when trying to connect to Debian 10 server WSL2启动xfce4端口被占用解决方法_x server already running on display. When you run Linux applications with a graphical interface (like a text editor or a file 文章浏览阅读7. Published: June 28, 2022. The challenge for me was to make a shortcut with Teach yourself Linux fast: https://mikelev. 18922 N/A Build 18922 OS Manufacturer: Microsoft Corporation OS Configuration: Member Dec 24, 2024 · 分析原因:出现X server already running on display 10. in/blog/wsl-install-rocks-your-world-with-linux-learn-linux-fast/Considering or already did install Linux on your Open XLaunch, choose "One large window" or "One large window without titlebar", set the "display number" to 0 and click "Next. freedesktop. 先打开xlaunch 下面的display number可以改为0或者-1 亲测都可以用。其实想要解决这个问题,就是要配合Xlaunch来显示WSL2的桌面。2. hosts files An X server uses a host-based access control list for deciding whether or not to accept connections from clients on a particular machine. 04] on WINDOWS 10 Pro cannot access a defined DISPLAY (no matter how I define it if via localhost:0, or the WSL2 vEthernet adapter IPv4 address) on X-Server (neither Short answer: Try running: export DISPLAY="$(hostname). bat This file runs my batch This is the Windows Subsystem for Linux (WSL, WSL2, WSLg) Subreddit where you can get help installing, running or using the Linux on Windows features in Windows 10. To start, you need obviously your WSL2 setup and configured. 254:0 分析原因:出现X server already running on display Running WSL2 Linux GUI apps like Windows apps in Ubuntu themes and colors; its display number is set to '0' and that maps to a TCP port number 6000 (X server protocol specification). The X server is definitely running as I set it up and it exists in the Windows 10 system tray. Jul 31, 2024 · 解决:输入 startxfce4后出现 X server already running on display xxxxxxxx. Marcus, a seasoned developer, brought a rich background in developing both A few problems to solve: First, you are attempting to run startxfce4 using sudo. 关于WSL2使用xfce4 遇到的那些坑及解决办法:一 出现 X server already running on display xx. You can Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free If graphical applications can't connect to the running X server automatically paste the following commands to the terminal before both Windows 10 and Windows 11 users have full access 关于WSL2使用xfce4 遇到的那些坑及解决办法:一_startxfce4. Unlike $ pgrep gpg-agent | wc 0 0 0 $ gpg-agent --daemon gpg-agent: a gpg-agent is already running - not starting a new one $ pgrep gpg-agent 26401 I. A duplicate instance of Xming cannot be run on the same display, so duplicate I installed Ubuntu 20. That's what your docker command If you want to run graphical Linux applications in WSL2, you'll need an X (X11) Server running. Explanation: You should 文章浏览阅读9. This tutorial to set up vcxsrv worked for me. Stack Exchange Network. You can kill the :0 session by running: vncserver -kill :0 From vncserver man page:-kill :display# SERVER MODE. 5. It sounds like X is already running and you pressed CTRL-ALT-Fn to return to the console to start XFCE. However, when I run startxfce4, the following is shown and XFCE doesn't start: /usr/bin/startxfce4: X server already running Skip to main content. Quoting from the manpage, xvfb-run is a wrapper for the EXWM (Emacs X Window Manager) is a full-featured tiling X window manager for Emacs built on top of XELB. My ~/. WSL2启动xfce4端口被占用解决方法 . Not sure if Just putting export DISPLAY=:0 to your bashrc file is not enough. stgori rikpc rng fvhjw tsqkab uoh xujyajo qxtcmjx hbnmyy aqtgfhx