Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us $3,400 per month for bandwidth bills alone, and since we don't believe in shoving popup ads to our registered users, we try to make the money back through forum registrations.
  • Post
  • Reply
SoftNum
Mar 31, 2011



At the risk of starting a holy war.... What WM do people like these days?

I haven't used linux desktop in like 6 years. I liked enlightenment back then, but the most current version is crashing a fair amount on me so I'm looking for elsething. I like transparency and stupid WM tricks (shading, etc.). I like a minimal amount of actual chrome on the windows. I've been using X forever so I like cursor follow and don't really desire a window-like experience. I've looked at awesome, but I figured I would poll and see.

Adbot
ADBOT LOVES YOU

SoftNum
Mar 31, 2011



An Enormous Boner posted:

Does the sending side generate checksums for every single file, and then the receiving side only generates checksums for files with matching file sizes? I might be reading that wrong.

this is how rsync works, so while it's faster int he case that you are forcing checksums on data you know it will not have changed (or singe, large files that change contents but not size or modify date); it saves work in the general case of "we're only going to check files where the size is the same" which is probably why it doesn't do that.

SoftNum
Mar 31, 2011



Horse Clocks posted:

I'm looking at building a new machine, and want to get on the GPU passthrough bandwagon for gaming.

Is there any hardware to avoid, and anything to actively go for?

Ryzen still has problems with Passthrough if you are using KVM. (You can't enable NPT correctly). It works on Xen, but then you have to work around the nVidia "bug" https://github.com/sk1080/nvidia-kvm-patcher

Passthrough is significantly easier if you have two different GPU chipsets (like two of nvidia, amd, intel).

SoftNum
Mar 31, 2011



Horse Clocks posted:

I assumed this was the case, and I have a AMD R7, and Geforce 720 kicking around, just for the occasion.


This is my fear. I'm pretty much building this machine because I have an excuse to use CUDA for work. Which kinda limits me to Nvidia GPUs.

Might just bite the bullet, skip the cool factor, and dual-boot. I'm guessing I'd need to do a full power cycle anyway if I want to switch between work on a linux VM, and gaming on a windows VM.

nvidias aren't really that much worse than AMD. I think KVM hides the virt identifier by default so with an intel processor you should be fine.

If you have 2 monitors (or a KVM switch) and 2 graphics cards, there's no need to reboot or anything. Passthrough is really fine these days.

SoftNum
Mar 31, 2011



there's instructions for this for practically any distro. Ubuntu here: https://help.ubuntu.com/community/LiveCDCustomization

In general you:
* Extract the iso FS
* chroot to the ISO
* Install packages, gently caress with settings, etc.
* unchroot
* prepare / burn / make ISO

SoftNum
Mar 31, 2011



Martytoof posted:

I should put the time in to learn Python properly

But in this case it was five lines in Python so that was probably the right tool

but but my GIL

SoftNum
Mar 31, 2011



Boris Galerkin posted:

I helped someone trouble shoot some problems today she found compiling some programs and one of the problems was that her (Ubuntu) system could not locate memset. We googled and apparently it's provided by the "manpages-dev" package.

http://manpages.ubuntu.com/manpages...3/memset.3.html

So my question is why? Maybe I'm not understanding something but memset should be in the standard C library. Why does libgcc not provide this?

e: Wait, maybe I am misunderstanding. The source code for that looks like it's literally just man pages. Does that mean the program we were trying to compile was checking if memset was available by checking if it had a man page? That seems really dumb.

e2: To be clear the error occurred in the configuration stage, not actual compilation. I'm not familiar with autotools (i think that's what it was), but in the configure.ac file it said memset was a "vital function" (among others) and exits the configuration if it's not found.

She probably doesn't have the libc6-dev package. Installing 'build-essential' should install everything at a base level needed to compile things.

SoftNum
Mar 31, 2011



BoyBlunder posted:

Trying to stream from twitch.tv using Firefox on Fedora 26 live image results in me getting an error saying the plugin isn't supported.

I don't want to use Chrome/Chromium.

It works a-ok on Debian Stretch.

What gives? I thought flash was dead and I didn't need to install it?

Is there a reason you aren't using streamlink?

SoftNum
Mar 31, 2011



Too Poetic posted:

It's a gaming PC and everything is pretty new. I managed to get Arch installed and then managed to get that to freeze during boot after a restart.

How does it freeze? What's the last line on the screen?

Have you tried disabling the onboard VGA? It might be causing conflicts (getting confused and loading the intel module then switching, or something)


This is kind of a shot in the dark but given the issues you are having you also might try disabling the framebuffer. WHen grub loads use the option to get the command line then add 'nofb' afterwards, or 'vga=off' to at least see if you get through boot.



Again these are all just vauge guesses / things to try. It's interesting though you got through all of the arch install and then had issues (I assume after you exited the chroot and rebooted?)

SoftNum
Mar 31, 2011



Too Poetic posted:



Edit: after looking at it and some google maybe I need to blacklist nouveau

This is probably correct. Also you can look at /var/log/Xorg.0.log to see what issues xorg is having (assuming you're using X, I suppose....)

SoftNum
Mar 31, 2011



I use Arch and followed this: https://wiki.archlinux.org/index.ph...hrough_via_OVMF

More or less. It shouldn't be too Arch specific, and it's not completely comprehensive (I remember having to setup networking, and a lot of tuning can't be done through virt-manager directly, but with virsh edit).

Also both AMD Processors(Ryzen & Threadripper specifically) and nVidia graphics cards have gotchas you really need to work around, but those are mentioned on the wiki.

SoftNum
Mar 31, 2011



Eletriarnation posted:

Yeah, I checked into that and apparently at this point to get it to work with current drivers you have to lock out some Hyper-V extensions too that commenters say actually affect performance. gently caress that noise, the 1050 is still well within the return period and Amazon has an RX 460 for $85 so I'll switch teams.

My 1080 I don't need to disable the hyper-V extensions, just kvm hidden. I'm getting almost indistinguishable performance out of my 1080, so if you didn't want to switch it might be worth trying kvm hidden.


Also both Q35 and BX440 are fine. Just make sure you're not trying to use IDE devices with Q35. the 440i emulation is just more well tested / more mature. But it's a very old architecture.

SoftNum
Mar 31, 2011



Mellifluenza posted:

POST is just a big red Lenovo splash. I'll see if there's a more 'geek' option than telling me that I bought a Lenovo laptop, just in case I hadn't noticed what I was buying when I paid over 1000 for something :-)

Sorry, detailed POST screens do not test well in market research.

SoftNum
Mar 31, 2011



Is there a available, decently-secure way to control a given systemd process/server/whatever from the web.

I want to host a game server but I want to allow others to turn it off and on without A) command line access. B) training them on command line access. Obviously I don't want such a thing to root my server and I know enough to write a dumb applet to do it but I'd rather use something that's already been hardened instead of rolling my own. Surely someone has solved this but googling has been somewhat fruitless.

I'm also open to other, non-web-centric ideas if they are reasonably easy / secure.'

EDIT: vvv Yeah thanks for the suggestions. Thinking about it I could restrict the web user's access to sudo specific commands/scripts. And run on a non-standard port.

SoftNum fucked around with this message at Feb 14, 2018 around 16:45

SoftNum
Mar 31, 2011



RFC2324 posted:

i keep thinking acpi fuckery

Yeah this seems like the most likely culprit. like Linux isn't telling IBM's lovely ACPI that anything is going on so it shuts the laptop down or something stupid. but eh.

SoftNum
Mar 31, 2011



Boris Galerkin posted:

How do I upgrade the firmware on a Samsung 850 Evo SSD on Linux? It looks like Samsung Magician is only available for Windows and macOS. Can I just run Samsung Magician on a Windows VM guest? I really don't want to format the thing just to install Windows just to update the firmware.

You should be able to use WinPE or similar to create what is basically a liveCD but for windows. Then you can run Samsung Magician. You can't do it from a VN unless you can pass the whole SATA controller to the Windows VM (which you can't do for instance if it's your linux boot/root/we drive)

Or if you have access to like a windows machine otherwise you could hook the drive up to it and upgrade it there. That's likely your best bet.

SoftNum
Mar 31, 2011



Boris Galerkin posted:

I can pull it out and plug it into a Windows PC no problem. I just thought that the SSD itself needed to be formatted for Windows for Samsung Magician to be able to do it's thing with it?

I don't think that matters but I guess I don't know?? It would be strange for the firmware patcher to care about what format the drive is in, but I guess I've seen weirder things.

Now the other stuff Samsung Magician "does" I'm fairly certain only works under Windows. I don't know if Linux offers similar utilities.

SoftNum
Mar 31, 2011



VostokProgram posted:

The nfs thing is a problem for me because my VM has to use some lovely VPN software to access another company's network and it does something weird that prevents the machine from accessing our internal network (which is why I put this in a VM)

Which lovely VPN software is this? Cause there's patches for most of them to overwrite this behavior.

SoftNum
Mar 31, 2011



anthonypants posted:

Someone in your organization needs to give this document a read https://www.cisco.com/c/en/us/suppo...connect-00.html

And if they refuse to fix the ASA, you can get alternate VPN clients that let you turn it off client side. Shrewsoft was the one I used forever but I think there's more modern ones now.

SoftNum
Mar 31, 2011



peepsalot posted:

Alt+(menu item letter), and the assumption that a file menu exists, has been a pretty common interface paradigm that's persisted for 20+ years though.

I'm not really saying that vi should be rewritten into resembling ms edit, its already too ingrained in its own snowflake ways of doing everything.
But I would really love to see a linux compatible analogue of ms edit with some added modern IDE-like features like syntax highlighting, autocomplete, MDI / tabs, maybe treeview etc.

This is kinda what Nano (or joe I forget which) is.

Also everyone who does this does it as scripts for VI or emacs. I quite like spacemacs because esc-space brings up a menu and you can type other letter to get sub-menus and such.

But you ARE still running emacs at the end of the day.

vvv Oh sure. Hell spacemacs uses evil-mode as it's base (which makes emacs behave more like vim) bare emacs is super painful. don't do it.

SoftNum fucked around with this message at May 2, 2018 around 16:54

SoftNum
Mar 31, 2011



ToxicFrog posted:

I mean, Jaded Burnout already ruled out sshfs in their original question, but I wonder why; I use sshfs + Sublime and it works great.

Also rsub is smooth like butter.

But hey, vim and emacs (with sane scripts) are too so whatever.

SoftNum fucked around with this message at May 2, 2018 around 20:19

SoftNum
Mar 31, 2011



Did you try what it suggested? (apt --fix-broken install)? a very short google session suggests it's likely some broken dependencies on your end. are you masking packages or anything?

SoftNum
Mar 31, 2011



Debian at least still has an up to date i386 installation distributed on CD. That should get you basic X windows and a place to start. even when your hardware was current linux support was kind of the wild wild west so depending on graphics card and such there may be many hours of research involved in making everything work.

EDIT: Comedy answer: Setup external compilation for gentoo on your other systems and compile everything from scratch.

SoftNum fucked around with this message at May 15, 2018 around 00:52

SoftNum
Mar 31, 2011



Boris Galerkin posted:

Sleep/hibernate stopped working on my thinkpad after updating to fedora 28. It worked perfectly fine in fedora 27.

well click some boxes in the GUI it's that simple always

SoftNum
Mar 31, 2011



apropos man posted:


But I'm wondering about the security behind WOL. Is the 'magic packet' generated cryptographically when you first set it up, either by your firmware or by the OS or something? Are there measures in place to make sure that an intruder couldn't just spoof a WOL packet and turn stuff on?

No. WOL packets aren't (typically) routable, so the security is the same as all your other security preventing people from getting onto your broadcast (level 2) domain (WiFi security, physical switch access, etc.)

SoftNum fucked around with this message at Jun 2, 2018 around 13:17

Adbot
ADBOT LOVES YOU

SoftNum
Mar 31, 2011



YouTuber posted:

TempleOS actually has some really clever features that make you question the implementation of things in Linux or Windows. https://tinyurl.com/y76p9fb2 at about 1:45 into the video as an example of what I'm talking about. He has images and videos built directly into the source code. The question really comes up, why can't we have images built directly into Terminals? Sometimes it takes a mentally disturbed person to break convention to allow others to notice can be improved. Throwing a theoretical example such as "ls -EP" to show thumbnails of all images in a directory inside the terminal. Unix/Linux was devised in the 70s to mainly handle math and text documents. 40 years later it's still functionally the same yet the type of files it is encountering has progressed vastly.

IPython has been around for 17 years and ELOG has been around for at least 10.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply