|
Twerk from Home posted:Thanks for the quick responses guys, I really appreciate it. It'll work for sure but might not scale very well. We use FreeIPA for user management, plus DNS + certificates. Nice project, sort of an AD alternative for *nix.
|
# ¿ Sep 14, 2021 06:31 |
|
|
# ¿ May 10, 2024 04:19 |
|
DaveSauce posted:I have some questions on VNC/screen sharing in Debian 11. I would strongly recommend NoMachine for this over VNC, it's much snappier and you can do USB pass through, etc. As well, desktops requiring compositing like GNOME usually don't play at all well with VNC. If you're dead set on VNC, most Linux VNC server create a separate virtual $DISPLAY for each user when you connect to them, usually at the default resolution which is 640x480. This is likely why your screen is so small. But the vast majority of us aren't going to be having multiple people connect to VNC, so this is mostly a waste. If you want your VNC to mirror the builtin display rather than creating a virtual one, forget TigerVNC and use x11vnc instead, i find it much less of a pain.
|
# ¿ Oct 13, 2021 00:35 |
|
Sri.Theo posted:So this is on MacOS, but I was hoping someone here could help me. I'm trying to run two apps installed through the command line, SUDO GUI and Netedit, but keep getting errors. Some Linux related forums have suggested it's because the programme gets cranky with 'localhost' in the display variable, but I don't know how to change that? Especially, as this is just running on my laptop. Have you already installed XQuartz?
|
# ¿ Oct 22, 2021 13:45 |
|
VostokProgram posted:i think every fedora release gets delayed to fix bugs, which is good as much as it pains me to admit it because of how much i hate the name, fedora kinda rules other than some of the more questionable gnome design decisions it has been by far my most janitor free desktop linuxing, even with an nvidia graphics card
|
# ¿ Oct 24, 2021 00:58 |
|
Twerk from Home posted:I've got a really simple small systemd service that needs to start after an NFS filesystem is available. network-online.target didn't work, it started and ran before the filesystem it needed was mounted. Mounts are actually units of their own, which you can add to your Wants and After directives. Use code:
code:
|
# ¿ Oct 30, 2021 05:20 |
|
Twerk from Home posted:Can I use disk quotas to stop anything from writing past a certain point so that the disk stops at 95% full instead of completely full? I blew myself up by filling a boot disk two separate ways today and feel like a moron, and am curious if there's a common way to protect myself from this. if you're using ext4 at least you can use code:
|
# ¿ Nov 6, 2021 14:07 |
|
Mr. Crow posted:Is there a way to tell apache to not drop privileges? UIDs won't match between a privileged and an unprivileged context so permissions might be weird. LXC unprivileged containers map all UIDs to something higher, like uid 500 -> uid 100500. Are your NFS exports using sec=sys? It also may be the <Directory> settings in the Apache config. If you start a shell inside the container and su to the apache user can you see your file shares?
|
# ¿ Nov 26, 2021 03:38 |
|
waffle iron posted:Edit: I looked it up and choom is the command line command https://man7.org/linux/man-pages/man1/choom.1.html I'll never not think of Barry & the Choom Gang when i use it edit to the person asking about sed: if you have Perl available to you, you could do something like this code:
Voodoo Cafe fucked around with this message at 14:37 on Dec 1, 2021 |
# ¿ Dec 1, 2021 14:27 |
|
ExcessBLarg! posted:Ruby is better for every use case of PERL almost unanimously true, though it is less likely to be part of a base configuration for most distros in my experience while Perl usually tends to be present in some capacity, though widely displaced by Python these days. It's a shame; Ruby is a language that i find both fun to write and without so many of Perl's more 'esoteric' choices
|
# ¿ Dec 4, 2021 05:41 |
|
Saukkis posted:For the Perl vs Python vs Ruby question, do we have any assurances that we don't have to go through the migration mess with Python 4? Have we had to go through the same with Perl or Ruby? Probably not with Perl, since we've had Perl 5 for close to three decades. I doubt Python 3->4 will be as much of an upheaval as 2->3 has been (hopefully). Perl 6 was planned for nearly 20 years, ultimately it became own beast entirely called Raku and Perl 7 will be a more iterative upgrade to 5.32
|
# ¿ Dec 4, 2021 15:00 |
|
RFC2324 posted:My own current wtf is, as usual, the point where 2 projects meet. $HOSTNAME is a bashism. your container probably uses sh or dash or busybox. try code:
|
# ¿ Jun 22, 2022 22:34 |
|
Pablo Bluth posted:Having an increasing number of Linux VMs to play with, I decided to try setting up a domain controller (probably overkill for a one person setup...). I briefly considered using Samba-DC but went the route of FreeIPA. Having once inherited a linux facility at work that used YP/NIS, something that always seemed to be unreliably black magic, I've been impressed with how easy it was to get up and working. Don't worry. Once you get into troubleshooting multi-master replication failures you'll be firmly back in black magic territory (kidding aside, it's a pretty great project)
|
# ¿ Jul 22, 2022 04:22 |
|
MrPablo posted:You're not the only one; I also prefer Ruby to Python and Perl. I usually have an irb session or three running on various virtual desktops for miscellaneous tasks. +1, Ruby is awesome, especially with the improvements to irb since 2.7. I just wish it was more ubiquitous!
|
# ¿ Sep 15, 2022 12:27 |
|
RFC2324 posted:I can't help but think it would be more efficient to just write a quick oneliner that interrogates the remote system and then mounts the output isn't this literally what /net does? it's a shell script that looks at the exports of a hostname and mounts the export it if one matches. (i use /net and on Linux FWIW)
|
# ¿ Sep 21, 2022 17:55 |
|
feedmegin posted:Re: 2. Yout BIOS does not know how to load a Linux kernel. You will definitely need a bootloader and these days that's Grub on the desktop. Surprisingly this is actually completely possible. . However, this forces you to keep your kernel and initramfs on the EFI partition, which isn't the default in any installer that i know of
|
# ¿ Oct 2, 2022 01:39 |
|
Tacos Al Pastor posted:Has anyone used youtube-dl? I'm wondering if there is a way to speed up a download. There is a "-r" option which I tried to set to the example 4.2M, but that didnt seem to work. Its download everything at the KiB/s rate. Use yt-dlp instead, it uses some workarounds to get around Google's bandwidth limits
|
# ¿ Jan 2, 2023 23:27 |
|
xzzy posted:Kind of a long shot but I'm gonna try anyways: anyone know of a daemon that provides an exporter that prometheus can ingest for collecting metrics of a linux host? The standard stuff like cpu usage and memory and all that fun stuff. You want Node Exporter.
|
# ¿ Jan 12, 2023 18:58 |
|
Nitrousoxide posted:I think the real question is whether it would nuke the binary for rm or some other mission critical system dependency before it gets to /home as long as the rm command is still running, the binary still referenced in /proc/$PID/exe and so still resident in memory and will still happily run until completion, as far as i know
|
# ¿ Feb 28, 2023 03:35 |
|
hooah posted:Lol removed the metapackage and now I get dumped to the terminal on boot. The KDE metapackage must include the login manager sddm, try installing another like lightdm and then code:
|
# ¿ Apr 9, 2023 22:47 |
|
F_Shit_Fitzgerald posted:So....I have a question and I hope I haven't hosed up my system. That error usually means that the file system you're copying to doesn't natively support POSIX permissions. usually because it's FAT32 or exFAT or whatever.
|
# ¿ Apr 13, 2023 03:16 |
|
VostokProgram posted:pip might even come with python now? I know I've sometimes done `python -m pip` instead of just pip. pip itself is implemented as a python module so you can launch it like that, but it doesn't necessarily come with the python package (e.g. in redhat it's usually python-pip) Mezcal, it's also worth nothing that no matter what anything says, never, ever, ever run pip as root, this is a super easy way to trash your system
|
# ¿ Apr 25, 2023 23:17 |
|
BrainDance posted:
Oof. If you ever need to reinstall, Ubuntu Server still has a curses based installer, or at least it did when i installed 22.04 in a VM last year
|
# ¿ Apr 26, 2023 12:14 |
|
ExcessBLarg! posted:
it is also pretty barebones in its default incarnation, and has no strong ties to any particular DE, so it's a popular choice for those who want to assemble their own desktop with a tiling WM, TUI, or something else that's not well served by most of the big distros. It appealed to me mainly because it was small enough that i could fit it into my brain and feel like i had a reasonable understanding of its components, and allow me to replace those components piecemeal if i wanted a particular feature or piece of software that wasn't covered by the defaults. No one can really convince you of its virtues (though many will try), but i think that it can be interesting to users that have any basic curiosity about how their computer/operating system works, or to appeal to power users who have a very particular idea of how they want their system to work.
|
# ¿ Jun 27, 2023 23:58 |
|
Son of Thunderbeast posted:I'll try the forking option, thanks! And yeah it's set up as a user service Just write a shell script that invokes it correctly and have systemd call that instead e.g. in /home/thunderbeast/bin/launch_cli-app code:
Test running the service with /home/thunderbeast/bin/launch_cli-app to make sure it works Then in your systemd service: code:
|
# ¿ Jun 30, 2023 14:34 |
|
Computer viking posted:This is one of those things where the more I think about it, the less foreign it feels. An immutable FreeBSD would hardly take more than tying together a few existing parts, and could even end up feeling ... reasonable? Isn't FreeNAS/TrueNAS basically an immutable FreeBSD? As far as i remember, it boots a read only image and applies any changes made in the UI as an overlay of some sort edit: it is very much an appliance though, not a general purpose distro
|
# ¿ Jun 30, 2023 23:42 |
|
Mr. Crow posted:Debian is good for servers you want to forget about not much else. speaking as someone who supports 100+ desktop users and develops software on CentOS 7, i envy you greatly gcc 4.8.5 + glibc 2.17 in 2023
|
# ¿ Sep 13, 2023 01:35 |
|
Twerk from Home posted:Tell me that you saw the drama where conda-forge considered moving to Centos 7 minimum compatibility and decided it would leave too many people behind: Holy crap. No, thankfully our last CentOS 6 system was decommissioned in 2021 (!). I can't imagine still having infrastructure or even builds on 6. That's pre kernel 3.0, pre systemd. Kids born when CentOS 6 shipped would be in high school this year.
|
# ¿ Sep 13, 2023 02:07 |
|
CaptainSarcastic posted:I think Mandrake used Lilo instead of GRUB, back in the day. by default gnome 2/3 use metacity/mutter as their windowmanager respectively but you could install compiz and use it instead for your wobbly window needs also jesus i never would have put the cairo pun together in 100 years
|
# ¿ Jan 6, 2024 06:14 |
|
CaptainSarcastic posted:I'd be highly suspicious of the multi-card reader. If that's something on the front panel that attaches to USB on the motherboard I'd try unplugging it and see if the problem goes away. Seconded, i had one of these (cheapo no-name chinese one from fasttech iirc) in my machine that i had to remove when i upgraded my motherboard because it made booting atrociously slow for whatever reason
|
# ¿ Mar 8, 2024 09:18 |
|
Pablo Bluth posted:
Testing on $? is error prone, you can branch on the return status directly code:
code:
|
# ¿ Mar 23, 2024 16:00 |
|
|
# ¿ May 10, 2024 04:19 |
|
Mantle posted:I'm using Fedora and on a recent dnf update, Chrome stopped working in Sway. copy chrome's .desktop file from /usr/share/applications to $HOME/.local/share/applications/ , then you can edit the lines starting with 'Exec=' to include the flag you want so change code:
code:
In addition, i don't know if Sway reloads these files automatically on changes, so you might have to log out and log back in for changes to take effect
|
# ¿ Apr 24, 2024 11:46 |