WinMx4u Linux Beer Edition

I’m opening this WinMx4u Linux Beer Edition Build 32 for public testing. This is still a very buggy beta, and it’s the most stable WinMx4u build I’ve had running so far. I’m pleased with the progress and want to keep it going. To do that I need people using it on different setups and telling me where it breaks.

Linux Beer Edition Build 32

What still needs testing

  • Connect as Primary, open List Channels and select Refresh List. Check that a delayed or empty reply leaves the previous list visible and that you can retry.
  • Remove a saved channel from Favourites and from Startup Rooms, then reopen Chat. Check that the channel list stays visible.
  • Move guests from a Windows-hosted room to a Linux-hosted room using Room admin → Redirect whole room. Check that guests arrive, then also try /redirectuser with one guest.
  • Find a shared file and start a transfer with every chat room closed. Try Whois, Browse and a private message from both the download and upload lists.
  • Repeat Whois and Browse after a Primary or public sharing connection drops. Test Secondary without inbound TCP or UDP and repeat transfers with classic WinMX.

See how to report a test result.

Both packages support x86-64 and ARM64 and use Python 3, PyGObject with Cairo support, and GTK 3. Install the .deb with your package manager and open WinMx4u from Applications. For the portable build, extract the archive and open winmx4u-linux-chat.desktop.

Go to the room-hosting tutorial

Linux Beer Edition screenshots

WinMx4u for Linux Networks screen showing Ready and Connected as Primary
Online on the WinMX Peer Network as a Primary connection.
WinMx4u for Linux chat channel list with room names, user counts and topics
Chat channel list
WinMx4u for Linux Internet Connection settings
Internet connection settings

Open the step-by-step guide

Step-by-step guide

  1. Install and open

    Download the .deb for Debian or Ubuntu, or extract the portable .tar.gz. Open WinMx4u from Applications or launch winmx4u-linux-chat.desktop from the extracted folder.

  2. Connect to WinMX

    Open Networks, choose a screen name and select Primary connection or Secondary connection. Changing the selection starts a connection in the selected mode. Use Connect to retry. If Primary fails, WinMx4u stays offline until you retry or select Secondary.

  3. Find and join a room

    Open Chat and continue past the public-chat warning if you want to enter public chat. Open List Channels, pick a room and choose Join Selected Channel.

  4. Choose what to share

    Open Shared Files → Add Folder. Choose the folder, then the file types to include and share. Only add files you have permission to share. Use Browse My Files to check your published list.

  5. Browse and download

    In a room, right-click a user and choose Browse files. Select a file and click Download. The same room menu has Whois and Send private message.

  6. Check the transfer

    Open Transfers to see the result. If a transfer stalls or fails, send me the status, your connection mode and the steps you took using the bug-report link below.

  7. Watch the meters and run diagnostics

    Open Bandwidth during a transfer. Open Networks → Connection Diagnostics → Run checks to test your local TCP and UDP listeners. Use Copy diagnostic report when reporting a problem.

Using Windows? See the WinMx4u 1.0 tutorial and progress checklist.

Compatibility with legacy WinMX names

This update supports decorated room names and screen names. WinMx4u preserves the original name from the channel list when joining. You can also use a decorated room name when hosting with the built-in server. Plain names still work.

For Japanese or Chinese names, use the matching system locale or set WINMX_LEGACY_CODE_PAGE before starting the app. Use 932 for Japanese, 936 for Simplified Chinese, or 950 for Traditional Chinese.

Host a room in WinMx4u Linux Beta

This uses the built-in host in WinMx4u Linux Beta.

  1. Go to Networks, connect as Primary, then open Chat → List Channels → Host.
  2. Enter a room name, topic, welcome message and maximum number of users. To let other people join, tick List the room on the WinMX Peer Network before starting.
  3. Choose Start Hosting. Your room opens in its own tab. Hosted Room shows the address and offers Copy Address and Stop Hosting.
  4. In the room, open Commands → Room command help or type /help. Use the Redirect menu to prepare a whole-room or single-user redirect. Add the full destination room address before sending.

Line breaks in the welcome message

As the host, type one /setmotd command in the room chat. Use #NEWLINE# for a new line and two #NEWLINE# markers in a row for a blank line. Type /motd on its own to preview the saved message.

Two lines

Type this

/setmotd Welcome to the room!#NEWLINE#Enjoy your stay!

Guests see

Welcome to the room!
Enjoy your stay!

A blank line between two lines

Type this

/setmotd Welcome to the room!#NEWLINE##NEWLINE#Please read the room rules.

Guests see

Welcome to the room!

Please read the room rules.

How guests join your WinMx4u room

Redirect guests in a hosted room

Tested with guests in the room. Before updating Linux Beer Edition, I started a room in WinMx4u 1.0 on Windows. Both hosts were on the same local network. I used the public address of the Windows room as the redirect destination, and every guest arrived.

On a build with host redirect support, type /redirect English Help_7B0200C01A2B to move the room's guests, or /redirectuser "Example User" English Help_7B0200C01A2B to move one guest. Replace the example with the real destination address. Use the username shown in chat. If two guests share it, use the full username with its numeric ID from the user list. You can also use the full username at any time.

Build 12 supports both commands in rooms you host as Primary. Whole-room redirect is sent to guests, and room staff stay in the room. Read the room redirect command guide.

Examples for the built-in room commands

Type a command in your room. Replace the example usernames, addresses and passwords with your own. Moderation commands require staff or host access.

/help
List the available room commands. Example /help.
/me, /action or /emote
Send an action to the room. Example /me waves hello.
/msg
Send a private message to a guest. Example /msg "Example User" Hello.
/channelname
Show the name of the room. Example /channelname.
/login
Enter a protected room when prompted. Example /login ExampleRoomPassword.
/topic
Change the room topic. Example /topic Music requests are open.
/motd
Show the current welcome message. Example /motd.
/setmotd
Set the welcome message. Example /setmotd Welcome to the room!.
/limit or /setlimit
Set the maximum number of guests. Use /limit alone to see the current limit. Example /setlimit 40.
/op
Give a guest temporary operator access. Example /op "Example User".
/deop
Remove a guest's temporary operator access. Example /deop "Example User".
/opmsg
Send a message to staff. Example /opmsg Please check the queue.
/kick
Remove a guest from this room. Example /kick "Example User".
/ban
Remove a guest and add an IP ban. Example /ban "Example User".
/unban
Remove an IP ban. Example /unban 192.0.2.10.
/listbans
List saved room bans. Example /listbans.
/clearbans
Remove all the room's IP bans. Example /clearbans.
/setpassword
Set a password for entry. Example /setpassword ExampleRoomPassword.
/rempassword
Remove the room's entry password. Example /rempassword.
/redirect
Move the room's guests to the destination. Example /redirect English Help_7B0200C01A2B.
/redirectuser
Move one guest. The visible name or full name with ID works. Example /redirectuser "Example User" English Help_7B0200C01A2B.

What works and what I’ve tested

I need people to test this beta

Bugs are still likely. Please email me what happened. Include your Linux distribution and version, x86-64 or ARM64, the package you installed, your connection mode, and the steps to reproduce it. An exact error, screenshot or copied diagnostic report helps. Please tell me what worked, too.

Download checksums

SHA-256 for .deb 78A34CF1EC57EE184E5D9EA859B15239A727B109F83011A991305F29C82BAAAA

SHA-256 for .tar.gz 8B058397651CC667874BFE186166F13EB54297E0775EA489083EA5954EFEB9ED

How I built it

I wrote the Linux interface in Python with GTK 3 through PyGObject. A separate C#/.NET program handles WinMX networking, transfers and room hosting. The two programs exchange messages. GTK gives the app a Linux desktop interface while the separate engine lets me reuse the WinMX protocol code from the Windows client.

Earlier builds

Linux Beer Edition Build 31

Channel list refresh

An empty directory reply could clear the list while the Primary request was still pending. A stalled Primary request could also prevent another refresh. The client now keeps the last usable list, waits for the request to finish, and enables another refresh if it times out.

The refresh check was run locally.

Linux Beer Edition Build 30

Why the chat pane could turn black

I found that removing a saved channel from Favourites could rebuild its menu while it was still open. Leaving an active room could also leave the view without a visible page during the switch. I changed the client to wait until the menu closes before updating it and to show the channel list before removing the active room. Removing a startup room also keeps focus on the list.

Local tests confirmed the page changes. The regression checks also passed for Whois, Browse, private messages, transfers and room redirects.

Linux Beer Edition Build 29

What I fixed

Whois and Browse could fail while private messages still arrived. Linux now uses its public sharing connection for those requests when available. New private messages use the Hotlist envelope, with a docked Hotlist and a compact message reader.

Both clients use the transfer peer’s network address for user actions in Transfers. /channelname posts the full room address. During a redirect, the guest’s original room stays open until the destination accepts the join.

Confirmed on the live network

I confirmed Whois, Browse, downloads, and sending and receiving private messages in both directions between Windows and Linux while both were connected as Primary.

Build 22 — Transfer compatibility

While testing a download in classic WinMX from my Windows WinMx4u client, the transfer stopped near the end with a connection reset. I found the source again and finished the file from the saved partial download.

I updated both WinMx4u uploaders to close the TCP connection gracefully after the receiving client signals that it has finished requesting ranges. In controlled tests, both uploaders delivered the requested bytes and closed cleanly with trailing control data present. The original WinMX test on the live network still needs repeating.

In Transfers, right-click the file or its source row to find sources. A normal download starts by requesting the selected source. The source may queue the request or take time to respond.

Build 19 — Secondary reconnect and room lookups

Beer reported that an earlier Linux beta went offline after losing its upstream Primary. I added automatic reconnection that tries up to three recently cached Primary addresses before falling back to peer discovery. In Beer’s later Build 16 log, the client recovered in about two seconds and recorded no further drops overnight.

That test turned up a second issue. After the client switched Primaries, Whois and Browse from the existing Windows room entry timed out. The Linux client had a new network ID, but the room update still used the old suffix. Build 19 sends the new ID and Primary address together. The nickname stays the same, and WinMx4u Windows can update the existing entry quietly.

This build also includes the five-minute automatic Shared Files refresh, detection of new MP3s in shared folders, a manual Refresh All button, expanded search and transfer controls, and updates to Settings and connection diagnostics. The configurable download queue limit applies to Primary connections. Secondary uses one slot.

I’ve checked that the reconnect update carries both routing values. I still need a live check of Whois, Browse and private messaging after a Primary switch, especially on a Secondary connection with no reachable incoming TCP or UDP ports. If you can help, stay in a room during a reconnect and have someone try all three actions from your existing room entry. Send me the time, results and session log from Networks → Connection Diagnostics.

Build 15 — Startup, hosting and Browse

Build 15 keeps each Browse list available from its own button while you use Chat, Search or Transfers. Starting a download keeps the list open. The save prompt shows the peer and file size, and Transfers shows a progress bar.

  • Startup and chat hosting. An earlier test package could fail to open. I fixed the startup regression and checked the Build 15 portable launch on Debian x86-64. I also fixed problems updating the user list in Linux-hosted rooms and added hosting diagnostics. An outside tester was able to join my Linux-hosted room.
  • Large file lists. Browse used to open a modal dialog, which blocked the rest of the client. Closing it meant requesting the list again. Now you can switch to Chat, Search or Transfers and return to the same list from its Browse button. The save prompt shows the source and file size, and Transfers shows a progress bar with bytes received.

What still needed testing at the time

  • Secondary transfers. A Secondary uses its upstream Primary to route the download request. In one test, the offer only arrived on a retry and the download completed. In another, an offer arrived but the direct TCP connection closed at zero bytes. These are two distinct stages to watch. A different Primary may affect whether an offer reaches you. The cause of the zero-byte disconnect is still open. Please try uploads and downloads with more than one peer, including a Windows client if available.
  • Room joins and Browse across clients. One tester could join other channels but had trouble joining mine. A Secondary tester without forwarded ports could browse one user but could not browse my Windows client. Try the affected room and a known-working room on the same connection, and try browsing two peers from the same session. Report which combinations work and which fail.

Build 12 — Room settings and limitations at the time

Build 12 remembers the last room settings. Managing multiple saved room profiles is still unfinished, along with UPnP and display-language selection in the Linux interface. I’m still working out what else is missing and which problems show up only on particular systems or connections.

What I added in Build 11

I’ve added a diagnostic log that starts automatically. In one test, a user connected as Secondary without incoming TCP or UDP ports mapped. They couldn’t browse my Windows client, but they could browse another user. A download from that user retried and failed before receiving any data. I’m asking testers to try the same Browse → Download steps so the log can help me see where the requests stop.

After reproducing the issue, go to Networks → Connection Diagnostics for the log file location. The default folder is ~/.local/state/winmx4u/diagnostics/. If you set XDG_STATE_HOME, look under $XDG_STATE_HOME/winmx4u/diagnostics/. Please review the log and send it with the time of the failure and the status shown in Transfers. You can turn logging off under Settings → Miscellaneous → Diagnostic logging.

The channel list now shows the full channel address. Chat also remembers whether timestamps include seconds and whether the 2,000-line buffer limit is enabled.

A massive thank you to WinMX World

I used WinMX World as a reference throughout much of the development of the applications I share here on RapsMX. A massive thank you to everyone who put those guides, technical notes and archives together and kept them available. Without those resources, building these applications would have been much harder. I might never have managed it at all.

I also want to thank Bender and the MXControl contributors for RoboMX and BendMX, KingMacro (KM) for WCS, the developers behind FXServer, Ouka for the Ouka Chat Server, and every developer who built WinMX clients, servers, bots and tools before me. I studied the source code they shared and tested how their applications behaved on the WinMX Peer Network. Both helped me understand how the network works and build the applications I share here.

Thank you to the MXPie and WinMX World teams, the peer-cache operators, room hosts, testers and everyone in the WinMX community who has helped keep the network connected over the years. I appreciate the work that kept WinMX running and kept its knowledge available for people like me to learn from.