@DESKTOP-G8IPC93:~$ xfce4-session xfce4-session: Cannot open display: . Type 'xfce4-session --help' for usage.
how to fix this error!!!
@DESKTOP-G8IPC93:~$ xfce4-session xfce4-session: Cannot open display: . Type 'xfce4-session --help' for usage.
how to fix this error!!!
Windows Subsystem for Linux is not designed for running Linux Desktop Environments like XFCE. It is possible to export the display of applications to an X server running on Windows, such as VCXSRV. However, there is no guarantee it will work properly.
If you need a functional Linux desktop inside of Windows, you need to run a virtual machine inside of Hyper-V or VirtualBox.