


Effectively proscribing these individuals as terrorists is completely and utterly absurd.
middleeasteye.net/news/four-pa…
Four pro-Palestine activists appeared before a London court on Thursday after counter-terrorism police charged them with breaking into Britain’s largest military airbase.Areeb Ullah (Middle East Eye)
cranston- likes this.
Author: @ExtremeDullard@lemmy.sdf.org
The state of remote working with Wayland is, well, lackluster to put it kindly. And with Sway, it's quite abysmal.Here is my solution to remote my Sway desktop at work and make it persistent so it survives network outages. This is not the perfect solution, probably, but it works for me.
A few prerequisites
- You need a dedicated remote account. It's generally a good idea regardless of whether you use Wayland or X11 to have a main account and a secondary remote account if you don't want to work with the same desktop locally and remotely.
The reason is, your local desktop settings can differ significantly from the remote desktop settings (for instance, if you work with 2 high-res monitors locally but on a small laptop screen remotely) so a unique set of settings may not work well in both cases.Also, unless you log out of the local and remote sessions religiously after you're done, you're likely to run both sessions at the same time at some point. If you do, you may run more than one instance of the same utilities, which tend to overwrite one another's temporary files, caches and such, and generally creating a mess.
So it's much cleaner to have a separate main account and remote account, with adequate permissions to access files in one from the other, and run two separate desktops.
- To remote a Sway desktop, you'll use VNC. It's not great but that's the only option at the moment.
- My solution below is reasonably secure if you're the only user on your machine, or if the other local users aren't adversarial.
If they are, you'll use a Unix socket or enable authentication in Wayvnc for extra security (see Final note below), which works fine, but is incompatible with Remmina. And I happen to like Remmina 🙂 So I didn't. I'm a low-risk target but do what works best for you.- If there are more than one user doing remote work on the machine, each one will need to be assigned their own VNC port. Again, it's not great, but Wayland makes doing anything else with the existing tools exceedingly painful.
Setup
The idea is to:
- SSH into the remote machine and create a tunnel from the remote machine's VNC port corresponding to the particular remote user (if you're the only one, 5900 most likely) to a local port on your local machine.
- Upon connection through SSH, start Sway headless in a persistent manner (meaning the Sway session doesn't get killed if the ssh connection dies).
- Make Sway start Wayvnc to expose the headless display through VNC.
- On the local machine, connect to the local end of the SSH tunnel to connect to the remote Wayvnc server.
Required software packages
On the remote machine
tmux
: this is ascreen
-like terminal multiplexer that allows sessions to remain open even if the terminal underneath disappears.sway
obviously...wayvnc
: that's the Wayland VNC server
On the local machine, install:
ssh
: the SSH client- Any VNC viewer
Configuration of the remote machine
- Add a user called
<your_main_username>-remote
for example.
In the remote user's account, configure:
sway
: Put the following lines in.config/sway/config
:# Start the VNC server: set the resolution you want (fixed) output HEADLESS-1 mode 1920x1080 # Start the VNC server exec cd $HOME/.config/wayvnc && /usr/bin/wayvnc -C $HOME/.config/wayvnc/config
wayvnc
: Put the following lines in.config/wayvnc/config
address=localhost port=5900
If you have more than one user, allocate a unique port per remote user- Create a
~/scripts
directory in your home directory (that's where I put my scripts. If you want to do something else, it's up to you, but the following assumes the relevant scripts are located in~/scripts
)- Create
~/scripts/sway_headless.sh
with the following content, to start Sway headless:#!/bin/sh export WLR_BACKENDS=headless export WLR_LIBINPUT_NO_DEVICES=1 /usr/bin/sway
- Create a
start_persistent_sway_headless.sh
script to start Sway and Wayvnc in a background tmux session if it doesn't exist already, and only exit when the Wayvnc server is ready to accept connections:#!/bin/sh # Pass the -w argument to this script to wait until the VNC server stops before exiting (for interactive SSH sessions, to keep the tunnel open) # If not already running, start Sway headless in a tmux session and immediately detach from it tmux has-session -t sway 2> /dev/null || tmux new-session -d -s sway $HOME/scripts/sway_headless.sh # Source the wayvnc config file to get the address and port it's listening on . $HOME/.config/wayvnc/config # Wait until the VNC server is up retry=5 while [ ${retry} -gt 0 ] && ! nc -z ${address} ${port} 2> /dev/null; do sleep 1 retry=$((retry-1)) done # Wait until the VNC server goes back down if requested if [ "$1" = "-w" ]; then while nc -z ${address} ${port} 2> /dev/null; do sleep 1 done fi
- Optionally, create a
stop_persistent_sway_headless.sh
script to stop the background tmux session running Sway and Wayvnc. It's not strictly needed but you might find it useful if you want to stop Sway manually:#!/bin/sh tmux kill-session -t sway 2> /dev/null
Connecting from the local machine
Manually:
- To start Sway and Wayvnc on the remote machine, and create the VNC tunnel manually with SSH, do this in one terminal (the local end of the tunnel is port 35900 here):
$ ssh -L35900:localhost:5900 <your_main_username>-remote@<remote_machine> "~/scripts/start_persistent_sway_headless.sh -w"
- Then to connect to the remote machine through the SSH tunnel manually, do this in another terminal:
$ vncviewer localhost:35900
With Remmina:
Final note
This setup is acceptable if you're the only user on the machine, or the other users are friendly folks, and your machine is secured!The reason for this is, when Wayvnc is running without authentication, malevolent local users can freely connect to your session and take over your remote desktop.
There are two ways around that, but neither is compatible with Remmina.
- Use a Unix socket instead of a TCP port to serve up VNC on the remote machine. To do this:
- Remove
~/.config/wayvnc
and replace the Wayvnc startup line in the remote user's Sway config file with:
exec /usr/bin/wayvnc -u $XDG_RUNTIME_DIR/wayvnc
- Replace the content of
~/scripts/start_persistent_sway_headless.sh
with:
#!/bin/sh # Pass the -w argument to this script to wait until the VNC server stops before exiting (for interactive SSH sessions, to keep the tunnel open) # If not already running, start Sway headless in a tmux session and immediately detach from it tmux has-session -t sway 2> /dev/null || tmux new-session -d -s sway $HOME/scripts/sway_headless.sh # Wait until the VNC server is up retry=5 while [ ${retry} -gt 0 ] && ! [ -S ${XDG_RUNTIME_DIR}/wayvnc ] 2> /dev/null; do sleep 1 retry=$((retry-1)) done # Wait until the VNC server goes back down if requested if [ "$1" = "-w" ]; then while [ -S ${XDG_RUNTIME_DIR}/wayvnc ] 2> /dev/null; do sleep 1 done fi
- Then to start the SSH tunnel manually to tunnel the remote Unix socket to the local TCP port, do this:
$ ssh -L35900:/run/user/<remote user ID>/wayvnc <your_main_username>-remote@reform "~/scripts/start_persistent_sway_headless.sh -w"
This is more secure because the socket file is only visible to your remote user on the remote machine, and not to other local users on the remote machine. Unfortunately Remmina doesn't know how to forward Unix sockets.- Enable TLS or AES authentication in
.config/wayvnc/config
as described here.
Unfortunately, when authentication is enabled in Wayvnc, it's not possible to use just a username and password (which would be secure enough in a local context) and Remmina can't work with either forms of authentication offered by Wayvnc. Other VNC viewers like Tigervnc have no problem however.Also, it means you have to enter your password again to log into VNC, so it's not great for automation.
A VNC server for wlroots based Wayland compositors - any1/wayvncGitHub
toomanypancakes doesn't like this.
rumschlumpel likes this.
On TikTok, there are hundreds of conversations about the phenomenon of internal monologues — and the lack thereof. Here's what experts say about inner speech.Carolyn Steber (Bustle)
We are not all #PalestineAction
But we fucking SHOULD BE.
:hoshino_zzz: likes this.
Los periodistas denuncian en una carta que la cadena pública británica está "paralizada por el miedo a ser percibido como crítico con el Gobierno israelí"Víctor Honorato (ElDiario.es)
European Commission President Ursula von der Leyen is facing a no-confidence vote next week over a controversial Covid-19 vaccine dealRT
MADISON, Wis. (AP) — The Wisconsin Supreme Court’s liberal majority struck down the state’s 176-year-old abortion ban on Wednesday, ruling 4-3 that it was superseded by newer state laws regulating the procedure, including statutes that criminalize abortions only after a fetus can survive outside the womb.The ruling came as no surprise given that liberal justices control the court. One of them went so far as to promise to uphold abortion rights during her campaign two years ago, and they blasted the ban during oral arguments in November.
https://apnews.com/article/wisconsin-abortion-ban-1849-01658358639a63db7df92aeec34c612d
The 15 ministers said that Israel's "strategic partnership, backing, and support of the U.S. and President Donald Trump" make this a "propitious time" to formally steal most of Palestine.brett-wilkins (Common Dreams)
: Minimalist glue code offers surprising lifeline for stubborn display setupsLiam Proven (The Register)
Palestinian journalists live through the same brutal conditions they cover — and describe a pattern of direct targeting by Israeli forces.Neha Madhira (The Intercept)
like this
ija chouf reshared this.
The American Minot nuclear base in North Dakota has been threatened by an invasion of squirrels known to local personnel as "dacrates." These rodents, which have long been a problem, cause serious damage to infrastructure, spread diseases, and threaten the safety of military personnel and their families.
At the same time, the base recently received an 850 million dollar upgrade aimed at strengthening the US nuclear potential. Squirrels reproduce without control — natural predators have disappeared, and effective means of control cannot be used because of the risk to people, including children.
Thus, instead of demonstrating strength and technological superiority, one of the key US nuclear bases looks vulnerable to a pack of small but extremely annoying animals.
A base that hosts 150 ICBMs has been overrun by the rodents, which have caused structural damage at the facility.Sophie Clark (Newsweek)
The story of Max, a real programmer
Link: incoherency.co.uk/blog/stories…
Discussion: news.ycombinator.com/item?id=4…
Putin and Trump to speak by phone in their 6th conversation this year
https://apnews.com/article/putin-trump-call-ukraine-iran-9b0054c655cbb3b54126bb3f2c32713c?utm_source=flipboard&utm_medium=activitypub
Posted into International News @international-news-AssociatedPress
#Ukraine : Latest News
Russian forces open new front in #Kharkiv region.
Stormy developments in the Kharkiv region, as Russian army units carried out a lightning operation, crossing the border and capturing the settlement of #Melovoe, thus opening a new front in the Kharkiv region.
This creates a huge problem for the Ukrainian army, which is already unable to fill the gaps that existed on other fronts.
China is ramping up its science and technology outreach to the Global South while its collaboration with the US on the same front is receding, analysts said on Tuesday at an event hosted by the Institute for China-America Studies, a Washington think tank.
scmp.com/news/china/science/ar…
#science #technology #geopolitics
Washington is said to be missing out on ‘big’ opportunities while Beijing reaches agreements with ‘dozens and dozens of countries’.Bochen Han (South China Morning Post)
The Russian player will now face unseeded French Adrian MannarinoTASS
Myanmar military fighter jet disappears as resistance group claims to have downed it
https://apnews.com/article/myanmar-military-fighter-shot-down-resistance-kndf-a8f523cc0540f486555c159d8667b618?utm_source=flipboard&utm_medium=activitypub
Posted into Asia @asia-AssociatedPress
China leads in embodied AI and robotics, developing diverse applications from industrial automation to humanoids. This boom is fueled by strong government support and significant investment, giving China 70% of the global market and boosting job growth. The sector is poised for a flood of new, competitively priced products, fundamentally reshaping industries and daily life.
youtube.com/watch?v=GCepN2IG97…
#china #technology #robotics #ai
China's advancements in artificial intelligence are poised to unleash a wave of innovation more than 100 DeepSeek-like breakthroughs within the next 18 month...YouTube
Ich hatte vorhin eine komplexe Diskussion mit meiner Oberstufen-Klasse.
TaxTheRich finden sie nicht fair. Vermögenssteuer und insbesondere Erbschaftsteuer benachteiligen die Leute, die viel dafür getan haben um sich ihr Vermögen aufzubauen (ja, auch Milliardäre sind da mitgemeint).
Puhhh … Es fiel mir schwer, ruhig zu bleiben!
Das Ergebnis der Gehirnwäsche, wenn Medien in der Hand der Besitzenden und der ÖRR der CDU unterworfen ist, die ja auch nur der politische Arm der Besitzenden ist.
Es kann sich auch kaum noch jemand was unter dem Begriff "Solidarsystem" vorstellen.
Ich finde das zutiefst deprimierend.
When the Ukrainian war turned into a standoff, it was said that the First World War was back with endless artillery bombardments: theins.ru/en/politics/267849
Putin compared Russia’s war in Ukraine with World War II and lambasted Germany for helping to arm Kyiv: aljazeera.com/news/2023/2/2/pu…
Drone warfare is a new technology on the battlefield and using AI to determine target coordinates is too: neuters.de/world/europe/ukrain…
#war #warfare #worldwar #history #ukraine #germany #russia #drone #ai #technology #news #science #artillery #military #politics #conflict #future #humanity #violence #bomb #kyiv #battlefield #question
Putin compared Russia’s war in Ukraine with World War II and lambasted Germany for helping to arm Kyiv.Al Jazeera
like this
Rulers were deposed (Zine El Abidine Ben Ali of Tunisia, Muammar Gaddafi of Libya, and Hosni Mubarak of Egypt all in 2011, and Ali Abdullah Saleh of Yemen in 2012) and major uprisings and social violence occurred, including riots, civil wars, or insurgencies.
Supreme Court rejects Montana's bid to revive parental consent law for minors' abortions
https://apnews.com/article/supreme-court-abortion-montana-minors-parental-consent-0f7b1198b0c8af2a9a17f38bccd8217c?utm_source=flipboard&utm_medium=activitypub
Posted into Politics @politics-AssociatedPress
Pars Today – In yet another extremist statement, the Israeli regime’s minister of internal security called the entry of humanitarian aid into the Gaza Stri...Pars Today
#HakeemJeffries has been holding the #House floor since 5AM to stall final vote on #Trump’s #OneBigBeautifulBill. He’s been talking for four hours so far. CSPAN is airing.
Provided to YouTube by Rhino/ElektraLookin' for Love · Johnny LeeLookin' For Love℗ 1980 Elektra Entertainment GroupVocals: Johnny LeeWriter: Bob MorrisonWrit...YouTube
Our socials: fediverse.blog/~/ActaPopuli/fo…
Guizhou PAP mobilization for disaster relief after flooding in Rongjiang, circa July 2025.
New report from Defense for Children International - Palestine on Israel's systematic starvation of Palestinian children in Gaza.Defense for Children Palestine
Iran Air Flight 655—a civilian Airbus A300—was shot down by the U.S. Navy cruiser USS Vincennes over the Persian Gulf. All 290 innocent people on board, including 66 children, were killed.
x.com/DD_Geopolitics/status/19…
#Gaza #Palestine #Syria #iran #lebanon #Genocide #geopolitics
@palestine @lebanon @yemen @irannachrichten #SettlerColonialism
#AntiImperialism #tiktok #cdnpoli #canada #usa #yemen
@blackmastodon #freePalestine #GazaGenocide #IsraelTerroristState #StopGenocide
like this
cranston- likes this.
Roland Häder🇩🇪 likes this.
Gmailtail – Command-line tool to monitor Gmail messages and output them as JSON
Link: github.com/c4pt0r/gmailtail
Discussion: news.ycombinator.com/item?id=4…
tail -f your gmail. Contribute to c4pt0r/gmailtail development by creating an account on GitHub.GitHub
Conversations with a hit man
Link: magazine.atavist.com/confessio…
Discussion: news.ycombinator.com/item?id=4…
A former FBI agent traveled to Louisiana to ask a hired killer about a murder that haunted him. Then Larry Thompson started talking about a different case altogether.David Howard (The Atavist Magazine)
Exclusive: Declassified is publishing the full list of British MPs who received funding from pro-Israel lobbyists.JOHN McEVOY (Declassified Media ltd)
like this
N. E. Felibata 👽 reshared this.
Neil E. Hodges likes this.
N. E. Felibata 👽 reshared this.
@scottdhansen not burning them. They’re the outside, lawn cutting, don’t give a shit if they get ruined shoes. I believe they were about $15 at WalMart 2 years ago.
Still spreading tar, about 2/3 done.
Full playlist: https://www.youtube.com/playlist?list=PLXhfRoiJBIivdV57K9KhD3bdJopnppZkrGROON(Live 1972)- - - - - - - - - - - - - - - - - - - - - - - - - - - ...YouTube
like this
like this
The United States government has given its approval for a $510 million weapons sale to the Israeli r...Al-Manar TV Lebanon
Your /e/OS smartphone wants to come along on holiday!
📸 But where to share your photos safely?
Murena Workspace includes the Gallery feature—a private space to store and organize your pictures in albums.
🔐 You decide who to share them with or whether you want to protect them with a password.
Our free plan offers 1GB storage for 500+ photos.
Have you tried it yet?
Murena Workspace is your complete, fully deGoogled, online ecosystem!Murena - deGoogled phones and services
curvadritta likes this.
The cryptography that protects our privacy and security online relies on the fact that even the strongest computers will take essentially forever to do certain tasks, like factoring prime numbers and finding discrete logarithms which are important fo…Electronic Frontier Foundation
Attached: 1 image Be like a crow! 🥰mastodon.wurzelmann.at
N. E. Felibata 👽 reshared this.
"A federal judge approved a class-action lawsuit from 500 J6ers seeking $350 million in damages from Nancy Pelosi.
"The lawsuit claims, "Pelosi orchestrated the entire event to frame Trump and his supporters labeling them violent insurrectionists."
She had help from the FBI too!"
If this is true, and it actually goes to trial, the "discovery" involved will destroy her.
And I'm here for it!!
#NED
National Endowment for Democracy
NOT Dismantled..
In case you thought #USΑ was going to abandon Regime Change Operations as the only other way, -besides bombing- they conduct foreign policy.
journal-neo.su/2025/06/11/us-p…
While many believe that under the Trump administration the controversial National Endowment for Democracy (NED*) was defunded, dismantled, or otherwiseБрайан Берлетик (New Eastern Outlook)
mishal
in reply to Günter • • •like this
Roland Häder🇩🇪 and cranston- like this.
Roland Häder🇩🇪
in reply to Günter • • •reshape.sport1.de/c/t/4266e3d9…
cranston- likes this.
mishal
in reply to Günter • • •Roland Häder🇩🇪 likes this.
cranston-
in reply to Günter • • •Roland Häder🇩🇪 likes this.
mishal
in reply to Günter • • •cranston- likes this.