Having moved to a job where dual-boot is not allowed and having a pure Linux machine also is not allowed, and a VM is forbidden, but ironically using WSL with any distro you like is allowed.
I went to download a MX distro on the Microsoft store, without any luck, looking into the forum it seems nobody has tried jet.
So I decided to create one MX distro for WSL and see how it goes, and involve all who wanted to contribute....
Let's start:
I followed this Microsoft link:https://learn.microsoft.com/en-us/windo ... tom-distro
It state at first to "Obtain a tar file for the distribution"
I used Kali linux running in WSL to get the MX-Linux tar. (To install Kali I followed this https://www.kali.org/docs/wsl/wsl-prepa ... l-kali-wsl)
Create the folder and download the MX iso
Code: Select all
mkdir mxlinux; cd mxlinux;
wget -O MX-21.3_x64.iso https://sourceforge.net/projects/mx-linux/files/Final/Xfce/MX-21.3_x64.iso/download
Code: Select all
7z x MX-21.3_x64.iso
Code: Select all
mkdir mount
sudo mount -o loop antiX/linuxfs mount
Code: Select all
cd mxlinux/mount/
sudo tar -zcvf ../distro.tar.gz .
cp distro.tar.gz /mnt/c/Users/[your win user]/Downloads/
Code: Select all
PS C:\Users\[your win user]\Downloads>
PS C:\Users\[your win user]\Downloads> wsl.exe --import mxlinux \Users\[your win user]\Downloads\mxlinux distro.tar.gz
Import in progress, this may take a few minutes.
The operation completed successfully.
PS C:\Users\[your win user]\Downloads>
Code: Select all
PS C:\Users\[your win user]\Downloads> wsl --list -v
NAME STATE VERSION
* kali-linux Running 2
mxlinux Stopped 2
Code: Select all
PS C:\Users\[your win user]\Downloads> wsl.exe -d mxlinux
root@mx-linux:~# pwd
/root
root@mx-linux:~# uname -a
Linux mx-linux 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux
root@mx-linux:~# cat /etc/*release*
NAME="MX"
VERSION="21.3 (Wildflower)"
ID="mx"
VERSION_ID="21.3"
PRETTY_NAME="MX 21.3 (Wildflower)"
ANSI_COLOR="0;34"
HOME_URL="https://mxlinux.org"
BUG_REPORT_URL="https://mxlinux.org"
PRETTY_NAME="MX 21.3 Wildflower"
DISTRIB_ID=MX
DISTRIB_RELEASE=21.3
DISTRIB_CODENAME="Wildflower"
DISTRIB_DESCRIPTION="MX 21.3 Wildflower"
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Code: Select all
apt update -y; apt upgrade -y; apt dist-upgrade -y; apt full-upgrade; apt autoremove -y;

download/file.php?id=29684&mode=view
The First Win!!!!.....
I worked with basic stuff, and so far no problem, I launched several graphics apps with no issues....
Next objective, try to connect to the XFC desktop of our new MX distro using RDP
I followed the same steps of what I did for Kali, Still no luck (https://www.kali.org/docs/general-use/xfce-with-rdp/):
Change the root password
Code: Select all
passwd
New password:
Retype new password:
passwd: password updated successfully
Code: Select all
apt install xrdp dbus-x11 xfce4-goodies
Code: Select all
sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
/etc/init.d/xrdp start
/etc/init.d/xrdp status
xrdp-sesman is running.
xrdp is running.
Code: Select all
:~# netstat -an | grep 3390
tcp 0 0 127.0.0.1:3390 0.0.0.0:* LISTEN
Code: Select all
PS C:\> netstat -an | findstr.exe "3390"
TCP 127.0.0.1:3390 0.0.0.0:0 LISTENING
PS C:\>
Code: Select all
:~# useradd -m mxlinux-rocks
:~# grep mx /etc/passwd
mxlinux-rocks:x:1001:1001::/home/mxlinux-rocks:/bin/sh
Code: Select all
:~# vi /etc/passwd
:~# grep mx /etc/passwd
mxlinux-rocks:x:1001:1001::/home/mxlinux-rocks:/bin/bash
:~# passwd mxlinux-rocks
New password:
Retype new password:
passwd: password updated successfully

I get the login prompt, I write the credentials, but no environment yet

download/file.php?id=29686&mode=view
Anyway, I can do a lot of things so far... I will keep posting If a get the rdp to works...