Linux - Reddit – Telegram
Linux - Reddit
761 subscribers
4.18K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Tech Tip: Setting up remote X11 over TCP to Xephyr

**Warning!** The instructions given here may decrease your systems' security and may make it more vulnerable. Use at your own risk.

I recently wanted to set up a remote [X.org / X11](https://en.wikipedia.org/wiki/X.Org_Server) connection to a Xephyr server, which is an X server that runs inside a window. I only found partial information in web searches, so I wanted to provide a top-to-bottom guide for accomplishing this task.

The [Xephyr man page](https://linux.die.net/man/1/xephyr) omits the info in [Xnest's man page](https://linux.die.net/man/1/xnest) and that in [the "Xserver" man page](https://linux.die.net/man/1/xserver). Xephyr supports most of the flags in all of them.

To facilitate customisation, we will declare and use the following shell constants:

xephyr_port="1"
remote_xephyr_ip_host="192.168.1.100"

You may need to stop the firewalls on both client and server using something like:

sudo systemctl stop firewalld.service

Or the [stop-iptables noscript](https://github.com/shlomif/shlomif-computer-settings/blob/e9de56aa212706f5c1fc3906c2f0b92065851965/shlomif-settings/home-bin-executables/bin/stop-iptables).

Now start Xephyr on the local desktop:

Xephyr -listen tcp -listen unix -listen local -screen 1024x768 :"$xephyr_port"

Then connect to it and use `xhost`:

# On the X server
export DISPLAY=":$xephyr_port"
xterm &
xhost +

Now you should be able to connect to the Xephyr X server from the remote box:

# On the remote machine
export DISPLAY="$remote_xephyr_ip_host":"$xephyr_port"
xterm &
# Or a different window manager.
starticewm

## Licence

Copyright by Shlomi Fish, 2020.

You can reuse this entry under [the Creative Commons Attribution 4.0 Unported](https://creativecommons.org/licenses/by/4.0/) licence, or at your option any later version of it. See the [instructions](http://www.shlomifish.org/meta/copyrights/#cc_by_intr) on how to comply with it.

Whatever code given here is provided under the [MIT / Expat licence](https://tldrlegal.com/license/mit-license).

https://redd.it/f7e41t
@r_linux
Should I switch to Ubuntu?

I've been a fedora user for quite awhile and I liked the distro but I've seen the amount of community support that Ubuntu has and wanted to ask.

Should I switch?

I mean I've been perfectly fine with fedora but the amount I had to go on my own to fix issues/configure stuff had made me quite a bit annoyed because the fact there wasn't an article/tutorial for those while Ubuntu had plenty of 'em
Just wanted to ask because I don't wanna deal with distro hopping.

https://redd.it/f7juig
@r_linux
Group high_five

I don't care what software you run.


I don't care the version of the software you run.


I don't care what DE you use. Heck, I don't even care what hardware you run!


All I care is that you, yes, you run Linux!



Let's all have fun with/tweak/work/develop Linux, and stop fighting about what's better, KDE or GNOME, GTK+ or Qt, etc etc :)



Group high five!

https://redd.it/f4o3t7
@r_linux
should i consider installing linux ? and what advantages would it have over W10 ?

im not too into tech, i do some light gaming so mostly emulation or old games and im going to college in a few months so im going to be doing a lot of work on my laptop.

does linux offer benefits to a guy like me or should i stick with windows ?

https://redd.it/f7mr9c
@r_linux
The name of that command

Hello, I am fairly new to Linux but after installing Fedora, I am starting get the hang of the syntax. Although one question, when you execute certain commands, what is the characters you would type after a particular command to determine it's status. For example

sudo mv filex.txt home/xxx/Desktop

Normally, the action just happens and you would use "ls" to check but what can you type on the same line to see the action that has taken place

https://redd.it/f7nblu
@r_linux
Centos 7 - “systemctl restart nginx” return error

If i run **systemctl restart nginx** i am getting following error, how to solve this?

​

>Error: No space left on device Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

https://redd.it/f7ofl1
@r_linux
MindForger Markdown editor just got Live Preview

​

https://i.redd.it/i4396r3vbfi41.gif

New [MindForger](https://www.mindforger.com) [1.51.0](https://github.com/dvorka/mindforger/releases/tag/1.51.0) \- thinking editor and Markdown editor - brings live HTML preview.

https://redd.it/f7p56j
@r_linux
Why does Gnome/GTK mainly use C while KDE/QT uses C++ instead?

I do realize that there is no "correct" language to be used, however I'm just wondering why the people behind gnome decided to go with C while KDE went with C++. Is it to do with performance? Ease of development? Or is there something much deeper to this?

My assumption is that the Gnome community chose C and just went along with it, while the KDE community were inclined to stick with C++ as the project is based on QT, which came out first.

If you were one of the founders of each, which language would you choose and why?

https://redd.it/f7qc99
@r_linux
Could somebody explain when I try to boot to a bootable Linux drive this happens then it loops the same text?
https://redd.it/f7p6pj
@r_linux
[THREAD] Is it okay to pay or a distro?

Do you think it's okay for [zorin os ultimate](https://zorinos.com/download/), to charge money for their ultimate version?

I tought, that all distros should be free.

I guess you somehow have to support them, but i really liked what elementaryOS did, 'pay the amount you want'

What's your opinion?

https://redd.it/f5co0l
@r_linux
My girlfriend made me a crochet Tux!
https://redd.it/f7t0jc
@r_linux
Old Mac mini 2009 -> Linux music machine

I’d love to hear some decent solutions to turn an old Mac mini 2009 into a Linux flac ripper / music server for my house. It’s a decent machine without much use but the latest it can go is El Capitan. Surely some form of Linux could make better use of this box of crashes.

https://redd.it/f7tx7u
@r_linux