Linux - Reddit – Telegram
Linux - Reddit
751 subscribers
4.17K 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
Announcing Monado 21.0.0, an officially conformant OpenXR implementation!

Monado, the OpenXR runtime for Linux, is now officially conformant! In recognition of this milestone, a first major release version of the OpenXR runtime for Linux is now available, bringing with it a SteamVR driver!

https://www.collabora.com/news-and-blog/news-and-events/monado-2100-officially-conformant-openxr-implementation.html

https://redd.it/lklkca
@r_linux
Im sick of windows

The first time i had a personal computer for me was only 7 months ago, i used computers before that just in my childhood and was using android phone for all that time and it really made me love technology and i wanted to know how to build such apps and os so i decided to learn programming, i bought a midrange laptop and i was struggling with windows from the start and i thought this happened just for being new to it but now? I just hate it, i can't study i can't browse i can't do any damn thing without facing a problem that require a long search to find a solution, i know this does not happen for most of people but i love to expolre and know the os i use very much and i spend more than 6 hours in front of my pc, please till me these things does not happen in linux and i will find it useful?

https://redd.it/lkr3yy
@r_linux
Businesses that solely use Linux ?

What are common companies that use Linux for business? I am seeking a discussion and a beta test of security software that will prevent Stuxnet or SolarWinds et cetera attack vectors. We're a pure InfoSec small business with powerful software.

We Speak IT®

https://redd.it/lkt9i1
@r_linux
Having trouble getting linux to boot on older Mac

I have this old 2007 a1181 macbook that is no longer supported but otherwise works fine and I was trying to put Mint or something on it but I can't get the boot USB to be recognized, it works fine on my other mac. I tried different versions but no dice, it just doesn't show up. It's running OSX 10.7 and I tried Mint 32bit and Ubuntu MATE 32. You're supposed to hold the option key and boot but only the HD shows up no matter what I do.

https://redd.it/lkuhk8
@r_linux
Linux guidance

Howdy,

Been doing some research on RHCSA certification. What would you suggest is the best approach to studying effectively? Dedicating 6 months to studying before taking exam. Should be ready in 4 but really want to learn this. What distro/books/online resources do you recommend for this journey?

https://redd.it/lkuv5z
@r_linux
I have a NOOB question.

I have a old dusty laptop left to me by my dad, from when he sadly he passed away.

The laptop runs pretty slow.

I was interested in becoming a web developer in future. And i need a laptop for that.

So if i could run linux on this windows, it would help a bunch.

So, in short how do i get Linux on my windows 7 32bit laptop?

Thanks in advance for any replies, love you all. :)

https://redd.it/lkxml6
@r_linux
What are the implications of deprecating the k10temp?

I'm a bit worried about using Arch without the k10temp kernel module/extension, related to temperature measurement and similar stuff.

Could someone with a bit of expertise explain it to us?

Thank you very much beforehand!

https://redd.it/lky3di
@r_linux
linux mint 20.1 mate live usb login loop. It's not timeshift related, I just want to login with live usb but I can't even do that.

and yes I've googled it, and all I got was a bunch of timeshift stuff about drives filling up. I haven't even installed the thing and I can't login or do the ixte xxxxxxx whatever command so I can give you guys the wall of text you need to decipher my problem.

https://redd.it/lkzay3
@r_linux
Restrict shell so u can only use some commands

Hey guys. I am pretty new to Linux so I am sorry if this is a starter question. Is it possible to restrict a shell to some commands? I am looking for a way to have ssh but only being able to use some commands.

For example. A shell where I only can use commands like

Ls, cat, grep, cd, find

So only commands where I can lookup some stuff and not being in danger of changing or deleting something.

https://redd.it/ll0a3v
@r_linux
Absolut Beginner: How to use CONFIGHZ1000 for a gameserver?

Good morning everybody. I am hosting a gameserver from home and Windows isnt cutting it despite very powerful hardware. After a lot of research it appears the way to go is Linux/ubuntu with a CONFIGHZ1000 Kernel.

While it appears straight forward to install Ubuntu, every documentation about how to use CONFIGHZ1000 seems to require some form of advanced knowledge that is way over my head to comprehend. Like compiling a kernel. Any advice or pointing fingers the right way would be appreciated. Thank you very much!

https://redd.it/ll0rud
@r_linux
Is it me, or is Libre Writer and Mendeley integration terrible?

Am I doing it wrong?

In my experience the Mendeley reference plugin for Libre Writer is absolutely terrible. In-text citations aren't too bad (but God help you if you want to save as .docx to collaborate with colleagues), but building a reference list is completely broken.

Is there a better way or better software for academic writing? At this point I would happily install Word for an easy life. Mendeley referencing not available for Word365, as far as I know.

I have used Latex in the past, and whilst it works for me, collaborating on documents is not really feasible.

Help me /r/linux.

https://redd.it/ll17ak
@r_linux
Any linux newbies in here?

Hey any linux newbies in here. I have had people teach me a long the way and I figured now would be a good time to pay it back with people stuck inside from the pandemic. I do not claim to be an expert or anything just someone who has time on there hands that would like to share what I have learned.

https://redd.it/ll2dpo
@r_linux
Tauon Music Box v6.5.0 released

This is my pet project Tauon Music Box. It's a modern style music player for Linux.

While this isn't a major release, its been a while since Ive shared this project on Reddit. Cumulatively there's been quite a few improvements since! The notable changes:

* Added tracker file playback support (mod, xm etc)
* Remote control Android app now available (In fact there's two)
* Added support for the self hosted scrobble server Maloja
* Added radio station search browser
* Added ability to play tracks from a Jellyfin server (Its kind of experimental, no promises)
* Entirely rewritten audio backend
* Enabled Flatpak builds for ARM/RPi

You can check it out the main website [tauonmusicbox.rocks](https://tauonmusicbox.rocks/) or see the [Github](https://github.com/Taiko2k/TauonMusicBox) page.

https://redd.it/ll3pcr
@r_linux
[ Fmstrat / winapps ] Can't pass 'bin/winapps check'



Hello,
I can't successfully run the command 'bin/winapps check'. It doesn't run without sudo rights...
Here's the full output (both without and with sudo rights) :

​

`mc2@MERCURE:~/winapps$ bin/winapps check`

`RDPWindows is not running, run:`

`virsh start RDPWindows`

`mc2@MERCURE:~/winapps$ sudo bin/winapps check`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail`

`[14:54:59:234] [7729:7730] [INFO][com.freerdp.client.common.cmdline] - loading channelEx drdynvc`

`[14:54:59:553] [7729:7730] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32`

`[14:54:59:553] [7729:7730] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16`

`[14:54:59:559] [7729:7730] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem`

`[14:54:59:560] [7729:7739] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)`

`[14:54:59:560] [7729:7740] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd`

`[14:54:59:560] [7729:7730] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp`

`[14:55:02:762] [7729:7730] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [LOGON_MSG_SESSION_CONTINUE]`

`[14:55:05:718] [7729:7739] [INFO][com.freerdp.channels.rdpdr.client] - registered device` [`#1`](https://github.com/Fmstrat/winapps/pull/1)`: home (type=8 id=1)`

`[14:55:31:384] [7729:7743] [ERROR][com.freerdp.client.x11] - RAIL exec error: execResult=RAIL_EXEC_E_FAIL NtError=0x2`

`[14:55:31:384] [7729:7730] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0`

`[14:55:31:384] [7729:7730] [INFO][com.freerdp.client.common] - Network disconnect!`

`[14:55:31:384] [7729:7730] [INFO][com.freerdp.client.common] - Attempting reconnect (1 of 20)`

`[14:55:31:928] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_DISCONNECTED_BY_OTHER_CONNECTION (0x00000005):Another user connected to the server, forcing the disconnection of the current connection.`

`[14:55:31:928] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_DISCONNECTED_BY_OTHER_CONNECTION (0x00000005):Another user connected to the server, forcing the disconnection of the current connection.`

`[14:55:36:937] [7729:7730] [INFO][com.freerdp.client.common] - Attempting reconnect (2 of 20)`

`[14:55:36:217] [7729:7783] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)`

`[14:55:36:217] [7729:7784] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd`

`[14:55:36:217] [7729:7730] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp`

`[14:55:37:140] [7729:7783] [INFO][com.freerdp.channels.rdpdr.client] - registered device` [`#1`](https://github.com/Fmstrat/winapps/pull/1)`: home (type=8 id=1)`

`[14:55:45:525] [7729:7786] [ERROR][com.freerdp.client.x11] - RAIL exec error: execResult=RAIL_EXEC_E_FAIL NtError=0x2`

`[14:55:45:525] [7729:7730] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0`

`[14:55:45:525] [7729:7730] [INFO][com.freerdp.client.common] - Network disconnect!`

`[14:55:45:525] [7729:7730] [INFO][com.freerdp.client.common] - Attempting reconnect (1 of 20)`

`[14:55:45:062] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_DISCONNECTED_BY_OTHER_CONNECTION (0x00000005):Another user connected to the server, forcing the disconnection of the current connection.`

`[14:55:45:062] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_DISCONNECTED_BY_OTHER_CONNECTION (0x00000005):Another user connected to the server, forcing the disconnection of the current connection.`

`[14:55:50:070] [7729:7730] [INFO][com.freerdp.client.common] - Attempting
reconnect (2 of 20)`

`[14:55:51:289] [7729:7805] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)`

`[14:55:51:289] [7729:7806] [INFO][com.freerdp.channels.rdpsnd.client] - Loaded fake backend for rdpsnd`

`[14:55:51:289] [7729:7730] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp`

`[14:55:51:193] [7729:7805] [INFO][com.freerdp.channels.rdpdr.client] - registered device` [`#1`](https://github.com/Fmstrat/winapps/pull/1)`: home (type=8 id=1)`

`[14:55:57:608] [7729:7730] [INFO][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off their session on the server.`

`mc2@MERCURE:~/winapps$`

https://redd.it/ll4gaq
@r_linux
Max number of open files

Recently I have been reading up on maximum number of websockets a server can support. Naively, I would expect 65,536 (i.e., the max number of file denoscriptors). Posts like [1\][2\] claim they can achieve 600k and >1M concurrent connections. The "trick" they both rely on is increasing the limits on the number of files to very large values.

My question: I cannot find a syscall of open that returns anything larger than an int. How does the OS track open files beyond 65,536? Are these blog posts really creating more than 65,536 fds?

[2\] mentions the limit of 65,536, saying the practical limit is closer to 20k. However, they say this is per IP address. They then go on to discuss that they listen on multiple IP addresses to open up over 1M connections. My intuition is that file denoscriptors are unique across the OS and I am guessing this is the missing link in my understanding. Is it possible to open up more than 65,536 fds? If so, how does the OS resolve collisions that refer to different files? Or is the "trick" that we don't need the files to be different, we just need a lot of handles to the files (i.e., multiple writers to the same buffer)?

Any recommendations to books, blogs, or documentation that can help me wrap my mind around this are greatly appreciated!

Update: int on Linux is guaranteed to be at least 32 bits, which gives on the order of 2B fds. Thanks for all the great responses!

[1\] https://blog.jayway.com/2015/04/13/600k-concurrent-websocket-connections-on-aws-using-node-js/

[2\] https://alexhultman.medium.com/millions-of-active-websockets-with-node-js-7dc575746a01

https://redd.it/ll5etn
@r_linux