Welcome to /fglt/ - Friendly GNU/Linux Thread. Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.
*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***
Before asking for help, please check our list of resources[*].
Previous thread: →
If you would like to try out GNU/Linux you can do one of the following: 0) Install a GNU/Linux distribution of your choice in a Virtual Machine. 1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything. 2) Dual boot the GNU/Linux distribution of your choice along with Windows or Mac. 3) Go balls deep and replace everything with GNU/Linux.
/t/'s GNU/Linux Games: /t/'s GNU/Linux Training Videos: * Resources: Your friendly neighborhood search engine (try to use a search engine that respects your privacy such as searx, ixquick or startpage) $ man $ info $ --help Don't know what to look for? $ apropos
It's a privilege escalation bug thanks to C's lack of security concept. In the current DCCP implementation an skb for a DCCP_PKT_REQUEST packet is forcibly freed via __kfree_skb in dccp_rcv_state_process if dccp_v6_conn_request successfully returns [3].
However, if IPV6_RECVPKTINFO is set on a socket, the address of the skb is saved to ireq->pktopts and the ref count for skb is incremented in dccp_v6_conn_request [4], so skb is still in use. Nevertheless, it still gets freed in dccp_rcv_state_process.
The fix is to call consume_skb, which accounts for skb->users, instead of doing goto discard and therefore calling __kfree_skb.
To exploit this double-free, it can be turned into a use-after-free:
// The first free: kfree(dccp_skb) // Another object allocated on the same place as dccp_skb: some_object = kmalloc() // The second free, effectively frees some_object kfree(dccp_skb)
As this point we have a use-after-free on some_object. An attacker can control what object that would be and overwrite it's content with arbitrary data by using some of the kernel heap spraying techniques. If the overwritten object has any triggerable function pointers, an attacker gets to execute arbitrary code within the kernel.
How many times has C proven to be an old relic unfit for modern secure computing. OpenSSL's heartbleed, Grub2's Password exploit (the 29 key bypass), Shellshock -- all originate from one root of problem: "C"
C is the reason why we still have shitty backdoors. C is the reason why we cannot utilize multiple cores efficiently. C is the reason why our programs continue to reveal security exploits after decades. C holds back technology advancement to the 80's .
Michael Davis
>he uses a kernel without a canaries >he has not configured security linux
Austin Young
what do you propose to replace c?
Jose Evans
who's the guy in the picture?
Ryder Cruz
I propose Rust. It has major security standards that C doesn't implement. Rust is the best mixture of safety, concurrency and speed.
I want GNU/Redox to be a real thing.
Jose Phillips
Haskell.
Jk rust.
Dylan Hernandez
on VLC for iOS you can share files locally. You start the "server" form the app and both devices should be on the same wifi network. Then you enter the address that VLC gives you (like 10.0.0.9 or something) and you enterr that on your computer, and then you can stream files from your ipad.
Is something like this possible on linux?
Bentley Rodriguez
Haskel is way more safer than C, C has tons of undefined behaviors, can't prevent data race or dangling pointers.
Problem with Haskell is it doesn't have the speed required for a systems language
James Carter
That's a pretty rare moot you've got there, OP. Care to tell where you got it?
Jose Campbell
yeah it's called ftp
Jeremiah Brown
A faggot boipucci.
Adam Jackson
how do I set it up?
Wyatt Cruz
I dicked around doing this some time ago. It involved ffmpeg and choking the heart out of my extremely old pc. I didn't save the config or how it worked because most files could be copied in a minute or two. It didn't work with VLC, I used something else. There are tutorials.
You shouldn't bother with this if you can do it any other way, or just host that shit on a local server and pull it rather than stream it. Try looking for a full solution, I did this to do it, not because I desperately needed to stream my terabytes worth of porn locally.
Jonathan Cox
This is why you use grsecurity & custom kernels. Last years Linux bugs didn't affect me. RAP will prevent exploitation of this bug.
Lucas Barnes
I installed Tails yesterday and noticed that when I tried to do shutdown now it wouldn't work. The same command works fine in CentOS minimal and Manjaro but why not Tails?
Sebastian Rogers
what's the best floating window manager? ps FUCK YOU GOOKMOOT, I HAD TO DO LITERALLY 7 OF THE SLOWEST CAPTCHA
Eli Turner
man shutdown
Christopher Long
none are the best just use what ever has a theme you like
Alexander Sanchez
That is literally my situation.
Thanks.
Noah James
Vim is retarded.
There, I said it. Why the fuck would the navigation be THIS counter-intuitive?
h -- move left, that's fine l -- move right, that's fine j -- move down ????????????? k -- move up ??????????????
j and k should be reversed. Moving up a line should be on j and moving down a line should be on k. This would objectively be more intuitive. You can NOT defend this retarded vim key mapping. All vim users are masochistic autists.
Kayden White
Grsecurity is a huge pain to manage unless you're on Debian Sid
Henry Phillips
use net cat and stream to a port and have your ipad listen to that port
Mason Hall
then remap it and stop bitching
Kevin Sullivan
>This would objectively be more intuitive. You can NOT defend this retarded vim key mapping is this what putting a patch before the injury looks like?. See the keyboard where vi was developed, that is why hjkl do what they do.
William Nguyen
what makes it easier to use on debian?
Easton James
>then remap it and stop bitching how? give me a link that doesn't involve reading an entire wiki on vim keymap commands
Julian James
You can just apt install it rather than manually compile it whenever there is an update
Luke Jackson
I'm trying to get this working github.com/gardaud/hack-exe pip installs it fine, but when i run it it says: Traceback (most recent call last): File "/usr/bin/hack.exe", line 5, in from hack_exe import main ImportError: cannot import name 'main'
John Clark
google nigger
Jayden Bell
j is where you rest your left-most finger which I dunno seems like where you'd put the most frequently used key. And moving down a line is probably the most important movement key. So it's probably a good choice.
Use it and get used to it and then you won't have a problem. Most people here have embraced this and got used to it.
Next you can go complain that i3's default is jkl; or something for directional moving (which I think most people rebind).
Brayden Ross
Are these good? I just found out about it and I really like the concept, but I was wondering if it's an overkill for just a workstation pc.
Dominic Bailey
It's easy on any distro unless you like binary kernels, I'd rather make my own kernel and have no obscure cruft in it.
Zachary Martin
Yesterday, I was moving some data to the phone connected as mass storage device from laptop running arch with XFCE.
While waiting, the screen went off. When turn it back on it seems the mass storage was unmounted and the moving files disappeared. it wasn't there at the source nor the destination.
1. Does moving files with mv command copy the files over then delete it? or does it copy and delete block by block?
2. In such cases, are the data lost?
3. Why did it unmount?
Matthew Davis
How do I install a gtk theme without sudo?
Lincoln Hill
I have a ubuntu 14.04 vps, I want to monitor usage, CPU, RAM... etc like pic related, how do I go about doing this?
Parker Cook
Aren't user-themes installed in $HOME/.themes or something like that? It's been quite a while since I've done that, so I might be wrong.
ALso, I hate KDE and have invested too much time in XFCE already.
Samuel Rogers
from the screenshot in the first page it looks it does.
Liam Cox
Recommend me a distro that: -is Debian-based; -installs completely from a flash drive; -has network drivers built in; -is relatively lightweight/minimal
Currently using Xubuntu, but I was wondering if there are better options.
Jacob Morris
BunsenLabs
Ryan Jackson
I want more, I have four graphs in my conky config already (CPU, internet I/O, RAM, Swap, Disk I/O)
Kevin Robinson
getting your server remoted is a huge pain to manage unless you're wasting your time on a server that does nothing
+1
Tyler Richardson
>I have four graphs in my conky config already (CPU, internet I/O, RAM, Swap, Disk I/O) What is the problem then? it looks like you have already a solution. If you don't like conky then google "linux system monitor" and pick up the one you like more.
Kayden Cooper
forgot to attach the first result on google, never tried but it looks neat (especially that per-process window)
Juan Jenkins
T-thanks
Jaxson Mitchell
The CIA thinks they can destroy me, linux will win. Microsoft will collapse because they cannot support themselves anymore.
Brandon Sanchez
When vi was developed, hjkl were the arrow keys. This wasn't changed later since rather switching to the arrow keys, your fingers stay on the home row. Everything else are shortcuts (s)ubstitute (c)change (w)word forward (y)ank (p)aste (i)nsert (v)isually select etc
Debian, in case you need a proprietary driver click "yes" when asked.
Nicholas Russell
Where the ufck is the profile folder of waterfox?
firefox has it under .mozilla.
Brayden Kelly
nevermind, it's sharing the .mozilla folder.
what. the. fuck.
Cameron Fisher
lazy fork
Kevin Hughes
It's faster than firefox, which is all I care about.
Still using pale meme as my main anyway.
Oliver Morgan
How do I search folders recursively, check file extensions and print unique extensions. I want it to print "mp3 ogg opus flac ape png jpg" from my music directory.
Angel Carter
Wait, do you want it to print unique extensions, or print all files with the mp3,ogg,etc.. extensions?
Luke Reyes
I want it only to print unique extensions, no file names. I've got almost 20k tracks.
One of these days I will learn to understand this bullshit
Gabriel King
can somebody tell me how to download puppy linux? i need it fast, have universal usb and a flashdrive but can't find the right iso, there's like 5 diferent distros and all of them have 20 versions in .img.xz or .sfs format and i just want latest puppy iso
Matthew Cruz
How hard/easy is it to fuck something important up in Linux? I just installed Ubuntu yesterday, trying Linux for the first time and I have already run into a problem: Steam doesn't start.
I googled it and apparently other people have the same issue and the solutions involve command lines and shit I am not familiar with at all.
Hudson Carter
If you're afraid of fucking up something linux is not for you. Instal debian stable, you'll have no problems unless you fuck up something yourself.
ALso, it'lll take you a month or two to ease up to the system and even longer to properly use it.
Better use windows, KID.
Lucas Young
Can my computer get infected with malware with wine?
Aiden Ramirez
Yeah, Steam is fucking shit. They bundle out-dated libraries ("Steam Runtime") that clash with system libraries with most distros nowadays.
Joseph Edwards
Yes. Wine doesn't sandbox anything and will happily run any malware, although they might not work as expected.
Michael Gutierrez
>How hard/easy is it to fuck something important up in Linux? little if you are not running as root, big if you are and don't know what are you doing
>I just installed Ubuntu yesterday, trying Linux for the first time and I have already run into a problem: Steam doesn't start. >I googled it and apparently other people have the same issue and the solutions involve command lines and shit I am not familiar with at all. I wonder how those morons can't even support decently the only officially supported distro. Post the error anyway, and the solution you want to apply too. Probably it's something fixable installing the correct lib and preloading it.
Joshua Foster
>Better use windows, KID.
B-but I thought this was the FRIENDLY Linux thread.
In any case, you're probably not wrong, maybe I'll be better off dual booting instead of keeping Ubuntu only.
That's disappointing, I thought they were serious about making Linux a more viable gaming platform every day.
James Sanders
Don't listen to this 1. Most of malware is written for windows. 2. You need to run the malware yourself for it to work. 3. if a malware does work, it will at most infect your wine prefix 4. malware designed to infect linux is rare, but if it it designed to do so then it will.
Running Steam on ubuntu 16.04 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0) libGL error: unable to load driver: nouveau_dri.so libGL error: driver pointer missing libGL error: failed to load driver: nouveau libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast
This is what I get.
>the solution you want to apply too Whatever is the simplest solution, I guess.
>I wonder how those morons can't even support decently the only officially supported distro.
This was pretty disappointing tbqh, I went with Ubuntu because I assumed that if Steam would run reliable on any distro, this was the one to get.
Oliver White
>1. Most of malware is written for windows. >4. malware designed to infect linux is rare, but if it it designed to do so then it will.
try running something that starts mailing bomb threats or tries to delete your home folder or network mounts before coming here to say b-but it's not designed for linux!
the damage may only be "limited" to the user account it's ran on (which implies network mounts or harddrive mounts aren't safe), and traditional viruses like trojans might not end up doing anything spectacular, that doesn't mean that running random executables under the assumption they're safe because it's linux! lol! isn't going to royally fuck your day up
Lucas Roberts
What's the pic suppose to convey?
of course running random executable is dangerous. The only safe way IMO is through using write protected media on a machine with disconnected HDD.
James Hernandez
I just switched from MPD to Mopidy, and god, what a difference.
Is it supposed to be such an unstable piece of shit? It claims to support ncmpcpp ,but half of the things I try to do fucks the mpd service, the soundcloud plugin is unmaintained along with nearly all the other plugins, and the web clients are featureless mockups made by some shitty webdev, Not to mention beets integration requires the fucking WEB service to run, which makes no fucking sense. Although I should mention there is a plugin for local beets, it is last updated around 2 years ago, and beets is in active development so I don't expect too much from it.
Is there any (simple) way to get a decent Soundcloud/Spotify/Internet Radio/Youtube integration alongside MPD (or an alternative for local files) for on a headless server? Or am I stuck with MPD for the rest of my life?
Josiah Rodriguez
Did you install steam from the official repos? if not you may be missing some required libraries. Also note that it looks like it is trying to load the nouveau driver, if you have an nvidia card you should install their official drivers or you will have shitty performances.
Finally, try to run steam with: LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam
Isaiah Martin
who is willingly to run some cryptolocker under wine to test it out? grc.com / malware / CryptoLocker_02-10-2014.zip
Caleb Garcia
>.pdf.exe preloader: Warning: failed to reserve range 00000000-60000000 preloader: Warning: failed to reserve range 00000000-60000000 err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report preloader: Warning: failed to reserve range 00000000-60000000 preloader: Warning: failed to reserve range 00000000-60000000 err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report preloader: Warning: failed to reserve range 00000000-60000000 err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem unavailable
Wine 32-bit prefix 1.7.54
Christian Ortiz
I'd just like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called "Linux", and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called "Linux" distributions are really distributions of GNU/Linux.
Anthony Hughes
sorry richard
Josiah Walker
kek, now add a Wine appDB report.
Oliver Myers
Whats a good place to learn regex for use with grep, awk, sed, etc?