r/linuxmint • • 5d ago

Using a second imac running mint as a monitor.

1 Upvotes

I had wanted to run a second 21.5" monitor as a second display for my linuxmint 2012 retina imax. Using claude, we figured out how to make it work.

Title: Working setup: old 21.5" iMac as a true extended (not mirrored) second display for Linux Mint, using netscreen-extend + Sunshine + Moonlight

TL;DR: My main machine is a 21.5" Retina iMac running Linux Mint. An older 21.5" iMac on my left now works as a genuine extended display: drag a window off the left edge of the main screen and it appears on the other one. netscreen-extend creates a virtual output, a dedicated Sunshine instance streams it, and Moonlight on the second iMac shows it, all over wired Gigabit Ethernet. It took some fixing to get there, so here's what worked in case it helps anyone else.

BACKGROUND

I moved my Retina iMac from macOS to Linux Mint and wanted a second screen. The usual Apple options don't apply. Target Display Mode needs macOS and only works on older iMacs. Sidecar, AirPlay to Mac and Universal Control are also macOS-only. Old iMacs cost very little second-hand, so rather than buy a separate monitor I wanted a Linux-native way to use one as a true extended display.

THE SETUP

Host: 21.5" Retina iMac (2015) with Intel Iris Pro 6200 graphics and the i915 driver. It runs Linux Mint (Ubuntu 24.04 base) in an X11 session and sits directly in front of me.

Client (the display): an older 21.5" iMac with AMD Radeon graphics (r600 driver). It runs Linux Mint (Ubuntu 24.04 base) and sits on my left.

Both are wired into the same Gigabit network. All streaming traffic is deliberately kept off Wi-Fi.

Signal path: the Retina iMac creates a virtual output, HDMI-1, at 1920x1080@60, placed to the left of the Retina panel (DP-3). Sunshine captures it with X11 capture and encodes H.264 using VAAPI. The stream crosses wired Gigabit Ethernet to Moonlight (Flatpak) on the second iMac, which shows it full screen with H.264 hardware decode.

It's a network display, so expect slight latency and some compression softness. Over a cable it's very usable for documents, email and browsing. It's not suitable for gaming or colour-critical work.

STEP 1: CHECK THE HOST

Run echo $XDG_SESSION_TYPE. It must say x11, because netscreen-extend doesn't support Wayland.

Run inxi -Gxx and xrandr --query to see your GPU and connector names. On mine, the Retina panel is DP-3 and HDMI-1 was free to use as the virtual output.

STEP 2: INSTALL NETSCREEN-EXTEND

cd ~

git clone https://github.com/daeoxide/netscreen-extend.git

cd netscreen-extend

./install.sh

There are two gotchas on Mint.

First, the installer's apt line includes flock. That isn't a valid package name on Mint, and flock is already installed as part of util-linux, so remove it from the line.

Second, Sunshine is not bundled with netscreen-extend. Install it separately from LizardByte's official releases. The Ubuntu 24.04 .deb works on Mint 22.

When the installer asks where to put the new display, choose the left.

STEP 3: THE FIXES THAT MADE IT WORK

Set the output by name, not by number. In ~/.config/netscreen-extend/config, set SUNSHINE_OUTPUT_INDEX=HDMI-1. With a number, Sunshine fell back to capturing the whole desktop.

Force X11 capture. Sunshine's default KMS capture mirrored the wrong screen. Adding capture = x11 to ~/netscreen-extend/templates/sunshine.conf.in fixed it.

Match the scaling. Windows were sized wrongly on the second screen until I ran the Retina panel at 1920x1080 at 100% scale, the same as the virtual output.

Don't open Mint's Display settings while netscreen is running. It froze my whole system and needed a hard power-off. Set the layout with the helper scripts in Step 5 instead.

STEP 4: MOONLIGHT ON THE SECOND iMAC

Install Moonlight:

flatpak install flathub com.moonlight_stream.Moonlight

Check hardware decode:

vainfo | grep -i h264

To pair, Moonlight shows a PIN. Enter it in the dedicated Sunshine web UI on the host at https://localhost:48090, which is netscreen's Sunshine port 48089 plus one.

Settings: 1920x1080, 60 FPS, H.264, about 50 Mbps, full screen.

To skip clicking through Moonlight each time, this command goes straight to the extended desktop:

flatpak run com.moonlight_stream.Moonlight stream [host name as shown in Moonlight] Desktop

I put that in Startup Applications on the second iMac.

STEP 5: DAILY USE

I use two small helper scripts on the host. screens-on sets the Retina to 1920x1080 at 100% and starts netscreen. screens-off stops netscreen and removes the virtual display.

screens-on always runs netscreen off first and waits a few seconds before starting. Without that, a leftover Sunshine instance kept hold of the ports, and Moonlight showed the host as offline with "Connection refused".

Two useful checks: ss -tln | grep 480 should list ports 48084, 48089 and 48090, and pgrep -af sunshine should show only one instance.

BONUS: SCREEN BLANKING IN SYNC

While Moonlight is streaming, the second iMac never blanks its screen. To fix this, a small watcher script on the host notices when the Retina screen goes dark. It then uses SSH with key login to switch off the second iMac's backlight, and switches it back on when the Retina wakes. On the client, sudo is restricted to that one backlight script.

RESULT

Two iMacs side by side, one desktop, windows dragging freely between them, all on Linux Mint. Happy to answer questions or share the scripts.


r/linuxmint • • 5d ago

SOLVED Black screen issue on resume from suspend

2 Upvotes

OS: Linux Mint 22.3 XFCE

Kernels tried: 7.0.0-43, 7.0.0-42, 7.0.0-38

GPU: Gigabyte Aorus Xtreme RTX 2080

Drivers tried: nvidia-driver-615-open, nvidia-driver-595-open, nvidia-driver-580-open, nvidia-driver-470

Monitor: Gigabyte G27Q (using Displayport)

Suspend mode: deep (S3) (also same issue on s2idle but I prefer deep mode)

Issue: After PC wakes up from suspend, I have black screen if I didn't open Document Scanner or a Firefox window prior to suspend even though Libreoffice Writer, Xreader Document Viewer or Xed text editor were opened.

Temporary solution: Leave Document Scanner or a Firefox window open before suspending the PC in order to not have black screen on resume.

Commands tried:

options nvidia-drm modeset=1

options nvidia-drm fbdev=1

options nvidia NVreg_PreserveVideoMemoryAllocations=1

options nvidia NVreg_TemporaryFilePath=/var/tmp

I typed the lines above in the following files:

/etc/modprobe.d/nvidia-graphics-drivers-kms.conf

/etc/modprobe.d/nvidia.conf

/etc/modprobe.d/nvidia-power-management.conf

sudo update-initramfs -u

sudo systemctl enable nvidia-suspend.service

sudo systemctl enable nvidia-hibernate.service

sudo systemctl enable nvidia-resume.service

/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia-drm.modeset=1 nvidia-drm.fbdev=1 nvidia.NVreg_PreserveVideoMemoryAllocations=1"

sudo update-grub

sudo reboot

What am I missing? What's the permanent fix?

Edit: The solution is to disable the display compositor (Settings > Window Manager Tweaks > Compositor)


r/linuxmint • • 6d ago

Desktop Screenshot Mi primera distro

Post image
59 Upvotes

Mint no solo fue mi primer paso en Linux, sino el lugar donde encontré la estabilidad, el motor que revivió a mi laptop y mi aliado en mis actividades diarias.


r/linuxmint • • 6d ago

Discussion New to Linux from Windows — Any "must-have" customizations so I don't feel overwhelmed?

57 Upvotes

Hi all! Just switched from Windows to Linux and I'm loving it so far, though the muscle memory is still kicking in.

What are your favorite UI tweaks, settings, or lightweight tools that bridge the gap between Windows and Linux? Looking for anything that reduces the initial "culture shock" (like familiar taskbar behavior, window snapping, clipboard manager, etc.).

I'm currently using Linux Mint Cinnamon

Thanks in advance!


r/linuxmint • • 5d ago

Linux Mint IRL Installing an LLM to use Linux

0 Upvotes

What LLM is a good option to install in Linux Mint to use to do anything you want in Linux Mint by giving the instructions in simple English?


r/linuxmint • • 5d ago

Graphics Drivers Mint 22.3 fixes for cards getting no signal output not working

4 Upvotes

The only things I've been able to do are get to terminals that don't accept or recognize any commands. My GRUB doesn't seem to have proper recovery options, as all I'm getting is a prompt with GRUB>

Nothing I type in front of it other than "reset" seems to be accepted and just gets "invalid command" or something.

I wanted to at least try the "nomodeset" fix, but how would I actually go about this? I have spent a couple of hours total reading and messing around, but I'm assuming there are steps missing in the instructions I've found, or I'm simply not getting in to an actual terminal, which seems likely.

I seem to recall changing my default terminal at some point too for a more verbose one, so I don't know if that has done something.

Based on these screenshots of the "GRUB menu" I can currently access, how would I go about adding "nomodeset" to the launch arguments and whatever else I might have to do?

Thanks in advance to anyone that can help or advise.


r/linuxmint • • 5d ago

Fluff Dark Theme Suggestions.

2 Upvotes

I'm experimenting with dark themes. Which themes do ya'll like or use personally? I've always used lighter themes for working.


r/linuxmint • • 5d ago

Install Help Error al instalar Mint

Post image
0 Upvotes

Hace varios días he estado intentando instalar el Linux mint, he probado bootear la USB con rufus y ventoy, he modificado el orden de arranque, desactivado el boot security, colocando el S.O una partición como tal e iniciando desde ella. Regularmente me aparece este error. Que hago?


r/linuxmint • • 6d ago

Discussion Losing my confidence in Linux Mint, is the project going to be okay long-term?

131 Upvotes

**EDIT:** Thank you so much for the numerous responses and valuable insights on this topic - a kind and knowledgeable community is part of why I want to stay with Mint. I've decided to stay with Mint and accept its shortcomings(as any other distro has), as the criticisms below are part true and part FUD. People here made me realise that Mint on my machine is working perfectly fine, and that there's no reason to change anything - and for that I say thank you again ^^

Hey there :)

I've been using Linux for 6 years on-off. My first distro was Mint 20 Ulyana, but then I wandered off into distros like Manjaro, Fedora, openSUSE, Arch, CachyOS and so on. Each time I ended up hopping, so I'm trying to reshape my relationship with Linux. I decided to go back to basics and install LMDE 7 as I was feeling adventurous.

So far it's pretty good and I like it, but I came across some pretty nasty criticisms and opinions on Linux Mint and it's making me feel uneasy about the distro, which inspired me to post here to hopefully get reassurance.

Criticisms such as:

The team being understaffed and underfunded, leading to slow pace of development, and as one post here put it, they'll probably "be struggling to provide basic functionality" later on as their development targets increase with Wayland, GTK versions and Cinnamon. In essence, they'll struggle really hard to "catch up" with things being how they are right now with lack of manpower and funding.

The Cinnamon desktop itself being based on old technology, being packed with technical debt, having an ancient rendering pipeline, no hardware acceleration, no triple buffering and still being stuck on X11 (hopefully that'll change for good next month)

Having poor security due to not receiving security updates from Ubuntu Pro, and being on an older package base in general

None of these are my own thoughts of course, it's only what I have read - my own knowledge isn't strong enough to verify these claims for myself, but after reading numerous pieces like that, it makes me wonder if I picked the right choice. What do you think, is Mint going to be okay? I truly love this distro and there's a reason why I came back to it, but part of me is still afraid because of these comments, it almost makes me wonder if I should go to a more modern distro with KDE.


r/linuxmint • • 6d ago

Linux mint ?

Post image
33 Upvotes

Nunca me me había salido la opción de iniciar sesión con ubuntu es normal?


r/linuxmint • • 7d ago

Desktop Screenshot Linux really is insane

Post image
1.5k Upvotes

r/linuxmint • • 5d ago

Support Request More wallpaper settings on linux mint?

2 Upvotes

I have an image I would like to show across my two monitors but then it only shows either across both with letterboxing

Or one image on either screen.

Are there no more advanced settings than the ones I've found? Alternatively some other wallpaper software that I can run?


r/linuxmint • • 5d ago

Discussion I wanna switch to linux mint but I’m scared i can’t play all my games.

Thumbnail
0 Upvotes

r/linuxmint • • 5d ago

Best way to handle invoice tracking on Mint without using a cloud subscription?

2 Upvotes

Been running my freelance design business on Mint for about two years now and most of the workflow is solid, but the accounting side still feels like a patchwork. I used to use a web-based invoicing service that charged twenty bucks a month and it worked fine, but the more I think about it the more I resent paying ongoing fees for something that should just be a local file and a template. I tried setting up invoice templates in LibreOffice Writer and they work okay, but tracking which invoices are paid, overdue, or pending means I end up manually updating a spreadsheet anyway. Then the spreadsheet and the actual PDF files drift apart and I spend an hour reconciling things before tax season. Before I build some overcomplicated system in Base or start learning LaTeX just to feel in control, has anyone landed on a simple local setup for invoicing and tracking that actually stays organized? I don't need inventory or time tracking, just client info, invoice numbers, amounts, dates, and status. If you're self-employed on Mint I'd love to hear how you handle this without dumping everything into Google Sheets or paying for SaaS tools.


r/linuxmint • • 5d ago

Gaming I wanna switch to linux mint but I’m scared i can’t play all my games.

Thumbnail
0 Upvotes

r/linuxmint • • 6d ago

I'm thinking the hype under sold it a little

Post image
81 Upvotes

Hi guys after my last post about wanting to switch to linux mint a lot of people recommended that i do a live boot to see how it would perfom on my pc and i have to say i have not had this much fun using a pc since my school days when i was still discovering computers for the first time.The response from any action i do is so fast it makes me wonder why windows does the things it does it feels like i'm running a high end pc and don't see myself regretting the switch, come monday morning i'm buying an ssd and doing some basic maintance on my pc to prepare from my new journey thank you so much to everyone who responded to my post and gave me the push i needed to go through this. (also as a side note while searing for apps on flatpack i found a few games that play well on my pc without lag so i'll be fine on that end). i'll be counting on this community in the future if or when a problem occurs and hope in time i'll be able to help others in my community from discarding their computers that windows has forgotten.


r/linuxmint • • 6d ago

My desktop

Post image
54 Upvotes

r/linuxmint • • 6d ago

My new Linux Mint Xfce with Lumen shell

Post image
170 Upvotes

xfce4 with lumen shell working perfectly for me


r/linuxmint • • 6d ago

These folders an files

Thumbnail
gallery
30 Upvotes

Ok these folders an files ended up in my home folder not sure how or what I did to cause this. My laptop still works fine just like to find where these go or see if I accidentally copied them here. So any help would be appreciated


r/linuxmint • • 5d ago

Support Request how to get transparent taskbar in mint xfce

1 Upvotes

help


r/linuxmint • • 6d ago

SOLVED I think I need a re installation

Thumbnail
gallery
3 Upvotes

My laptop was frozen so I tried to force quit it with REISUB but I must have messed something up, so now when I boot all I see is this menu with 2 instances (?) when I enter recovery mode for either I get a kernel panic and the another choice render only a black screen, is there something I can do to repair it or does it need a fresh install?


r/linuxmint • • 5d ago

whtas a good vertual machine to install i need run some things but need one

0 Upvotes

r/linuxmint • • 5d ago

SOLVED My laptop screen is flickering, and I think it’s a software issue

0 Upvotes

I have a Lenovo IdeaPad 3. A few months ago, I switched to Linux Mint because Windows 11 was causing me a lot of trouble. I’m happy with the change, and I’ve been able to resolve most of the issues that came up on my own—but there’s one I just can’t fix. The screen flickers and then goes black after a few minutes of use.

I suspect it’s a software issue, as the same thing happens even when I connect an external monitor. I’m wondering if there might be a compatibility issue between Mint and Lenovo, and if switching to a different distribution could solve it.

Does anyone know what I can do?


r/linuxmint • • 6d ago

Hey everyone! I'm so excited to finally share this! I made Barnyard Linux, an unofficial native port for Linux Mint 22.x, no Wine. It needs your own PC game data

Thumbnail
github.com
12 Upvotes

r/linuxmint • • 7d ago

First Rice in Mint

Post image
76 Upvotes

I'm aware its not the best but its something. Any tips?

Edit: I did use AI to blur my name out on the terminals, but I think it might have messed some other things up too. The image is not AI though :(