|
Anyone know SAML and regex? I just setup a system to authenticate against a SAML idP. It's working fine, but they send me the principle name in all caps, and I need it in all lowercase. My application has a configuration item called "principle.regex=" and it looks like you can write a regex that will transform the string, but I can't for the life of me figure out how to write a regex that does substitution. I know how to use regex for find and replace in notepad++, but there's always two fields (find string, and a replace string) but this is kicking my butt. (\w) will match the string \L$ will return the string as lower, but how does that work in one line?
|
# ? Jul 26, 2019 06:23 |
|
|
# ? May 20, 2024 19:06 |
|
What's currently the best desktop environment for 2-in-1 touchscreen laptop/tablets? I have a Lenovo Yoga. I've been messing with it and I'm just about to just boot up windows whenever I want to use that feature. I mostly have a problem with getting the on screen keyboard to reliably appear when editing text in Gnome, and only when I'm in tablet mode.
|
# ? Jul 26, 2019 17:32 |
|
So I got an ASUS B450 motherboard recently which has a IT8665E superIO chip used for temp monitoring etc, and there aren't official drivers for this. I guess there was one guy unofficially supporting this stuff who got tired of reverse engineering poo poo and ragequit last year? https://www.phoronix.com/scan.php?page=news_item&px=IT87-Linux-Driver-Axing Has there been any effort/campaign by Linux users to get ASUS, ITE, or whoever should be responsible to provide drivers for their poo poo? I guess I didn't realize how much unsupported hardware drivers were still a huge hurdle under Linux, . Also I found this thread which has instructions for building the drivers on Ubuntu from a fork of groeck's deleted repo which does include IT8665E, but I'm on OpenSUSE tumbleweed so not sure what the exact steps would be: https://ubuntuforums.org/showthread.php?t=2401422 Anyways even if i can get this built for tumbleweed it sounds like without proper datasheets or official drivers the values read out could still be suspect and not scaled correctly?
|
# ? Jul 26, 2019 18:38 |
|
The only part that should changed from the generic install instructions in that forum topic:code:
code:
The scaling is probably fine, but the identification of what is what is probably guesswork? I don't know that it would be signifigantly worse than nothing though.
|
# ? Jul 26, 2019 19:13 |
|
SoftNum posted:The only part that should changed from the generic install instructions in that forum topic:
|
# ? Jul 26, 2019 19:29 |
|
peepsalot posted:I noticed I don't have any /etc/modules file. There is a /etc/modules-load.d/ directory instead? Or do I just need to create the /etc/modules and it will work fine anyways. I _think_ either will work but you can be safe by going: code:
|
# ? Jul 26, 2019 19:46 |
|
Cool, that worked. The voltages are not scaled right, and the temperature limits are all wrong, and there's only 6 readings, and the last 4 seem to be duplicated (should there be 1 temp per core, for 8 total?), but other than that yeah its a little better than before. I have fan rpms at least(no case fans plugged in atm, but I assume those are working, still waiting for my case to ship). code:
peepsalot fucked around with this message at 20:21 on Jul 26, 2019 |
# ? Jul 26, 2019 20:16 |
|
Zapf Dingbat posted:What's currently the best desktop environment for 2-in-1 touchscreen laptop/tablets? I have a Lenovo Yoga. If GNOME isn't cutting it I can't imagine another DE doing it better, AFAIK they're the only ones even giving thought to tablets. Though, IIRC Plasma works okay-ish TBQH tablet mode's not that great even in Windows. It's why I wasn't too broken up about going back to a regular laptop
|
# ? Jul 26, 2019 20:55 |
|
Any Pi-hole expert around? I installed Pi-Hole on a Debian VM a few days ago to replace my very old and trusty pi-hole-like ad-blocking mechanism (few scripts that update unbound, not anything very fancy). It works awesomely. I gave the pi-hole VM an assigned IP from my DHCP server (dnsmasq) and I named the machine, both on dnsmasq and the machine itself: pihole. Before I knew what I was doing, I switched the network DNS to the Pi-Hole machine. Tried to access the dashboard (http://pihole/admin/) doesn't work. By IP it works. Figured out that the Pi-Hole machine doesn't know about its IP, and definitely doesn't know about the internal network names. Looking though the web interface I find the place where it mentions just that, and I can put in the IP of the main DNS where it could query internal network names for their IPs. And I configured it properly. Now I can access "media", "pi", "vms" and "nas" machines without any issues. But "pihole" is still out of reach. Using dig I can see the server still returns 127.0.1.1. The name "pi.hole" works just fine, I am using it right now, but "pihole" (without the dot) is simply localhost. I rebooted the machine, I did everything except nuke it and reinstall it. Not a big deal, I can use "pi.hole", but it is a bit annoying. Can I assign custom IPs for custom names arbitrarily?
|
# ? Jul 27, 2019 00:37 |
|
I'm trying to figure out how to how to diagnose and fix a strange problem with a Debian Stretch VirtualBox image I'm trying to get working with vagrant. When I provision it, I end up with the desktop GUI restarting every 90 seconds. The impression I got online is that systemd was probably pissed about something, and it sure seems like it:code:
I've reached a point where I'm about to just mount the provisioned VM against the original box's VM and just diff entire folders to see what was tweaked during the provision process. On the vagrant side, it looks like it doesn't happen if I don't have it run any provisioning scripts. Second, it also didn't appear to happen when the script was given but was empty. The provisioning process basically just untars something, installs some Python modules, and runs some Python code I intend to test. None of my code I'm testing is reaching into system stuff, but I will accept that maybe one of the Python modules is getting compiled and who knows what else it might do in the process. Rocko Bonaparte fucked around with this message at 00:48 on Jul 27, 2019 |
# ? Jul 27, 2019 00:44 |
|
There's nothing in /var/log/lightdm/ ?
|
# ? Jul 27, 2019 00:53 |
|
Volguus posted:There's nothing in /var/log/lightdm/ ? I can pastebin what I have, but I didn't see any errors recording in anything. The X logs looked quite normal and happy too. The first time it happened, it did appear to go away by uninstall and reinstalling lightdm, so it's fair to go sniffing around there. I just remembered that, and maybe if I have to brute force something, I should maybe brute force compare changes before/after doing that.
|
# ? Jul 27, 2019 00:55 |
|
Today's lesson – remember to swap out from an xrdp session to physical access when running do-release-upgrade so it doesn't fall over half way through...
|
# ? Jul 27, 2019 12:58 |
|
Pablo Bluth posted:Today's lesson – remember to swap out from an xrdp session to physical access when running do-release-upgrade so it doesn't fall over half way through... Or at least use screen
|
# ? Jul 27, 2019 13:09 |
|
Swiping my harddisk and replacing Win10 with Ubuntu. Pretty happy so far, but... now I can't mount the second harddrive I used to store data on. In gparted it tells me there are three partitions: LDM Data partition (biggest), LDM Metadata partition and MS reserved partition. The file system is "unknown". A bit of googling tells me Win10 has a fancy new filesystem that can't be read by Linux yet/reliably. On that hd is all my important stuff currently. So am I simply forced to install Windows again? And then consciously format the data-hd in a format that can be read by both win and ubuntu? Did not expect this to happen. Thank you.
lllllllllllllllllll fucked around with this message at 15:36 on Jul 27, 2019 |
# ? Jul 27, 2019 15:32 |
|
lllllllllllllllllll posted:Swiping my harddisk and replacing Win10 with Ubuntu. Pretty happy so far, but... now I can't mount the second harddrive I used to store data on. In gparted it tells me there are three partitions: LDM Data partition (biggest), LDM Metadata partition and MS reserved partition. The file system is "unknown". A bit of googling tells me Win10 has a fancy new filesystem that can't be read by Linux yet/reliably. On that hd is all my important stuff currently. So am I simply forced to install Windows again? And then consciously format the data-hd in a format that can be read by both win and ubuntu? Did not expect this to happen. Thank you. Are you sure that it's not just NTFS? https://linuxconfig.org/how-to-mount-partition-with-ntfs-file-system-and-read-write-access You might be able to boot a Windows VM or install disk to access the drive, but you'd need to have x2 the storage to move the files to a different filesystem
|
# ? Jul 27, 2019 16:45 |
|
Thank you for your answer, xtal. According to google Ubuntu should natively recognize ntfs, so I am getting a lil' worried here. Thanks for the link anyway! e: "sudo fdisk -l" is giving me this: code:
lllllllllllllllllll fucked around with this message at 17:55 on Jul 27, 2019 |
# ? Jul 27, 2019 17:52 |
|
You might check out https://wiki.archlinux.org/index.php/Dynamic_Disks first.
|
# ? Jul 27, 2019 18:15 |
|
Update: Reinstalled Windows 10 and had to "import" the unknown dynamic disc in its partition manager. But then it worked (in windows anyway). Shows as ntfs.G-Prime posted:You might check out https://wiki.archlinux.org/index.php/Dynamic_Disks first. lllllllllllllllllll fucked around with this message at 18:42 on Jul 27, 2019 |
# ? Jul 27, 2019 18:39 |
|
lllllllllllllllllll posted:Update: Reinstalled Windows 10 and had to "import" the unknown dynamic disc in its partition manager. But then it worked (in windows anyway). Shows as ntfs. Don't apologise, you aren't the only one who learned something. I been playing with Linux for 25 years and never even though about how it would handle Dynamic Disks.
|
# ? Jul 28, 2019 01:25 |
|
other people posted:Eh, Fedora and RHEL are very much the same but it is a different relationship that something like ubuntu/mint. But you also need to remember that F28 has been EOL'd by now and you would have to switch to F29. And that will get EOL'd by the end of this year so it will be time for F30 and so on. You can expect this process to get more painful the further along you go. Just a couple weeks ago I had to point out to some developers that the PostgreSQL 8.4 they had installed from the upstream repo had been EOL'd and they need to do an expedited upgrade to 9.6 on a production server. While the standard RHEL7 version would have been supported for another 5 years.
|
# ? Jul 30, 2019 18:27 |
|
Saukkis posted:But you also need to remember that F28 has been EOL'd by now and you would have to switch to F29. And that will get EOL'd by the end of this year so it will be time for F30 and so on. You can expect this process to get more painful the further along you go. I was just giving an example of the close relationship between the two products. A fedora package installed on RHEL is never going to be supported by anybody.
|
# ? Jul 30, 2019 18:50 |
|
With respect to my recent ramblings about Fedora 30 being sluggish, please disregard. I changed my pfSense DHCP server settings to give all local machines 8.8.8.8 for DNS and everything seems to be better. I'm a loving idiot. I had a slight inkling, for some reason, that I didn't have DNS resolving or forwarding properly, so I set my DHCP server to give 8.8.8.8 to everything yesterday, instead of going through my PiHole VM anymore. Now I don't have to wait while logging into local machines. Firefox starts up in an instant (it must have been struggling to make TCP requests because of my settings). When I click on a URL in Keepass to open up a login page, it does it immediately instead of what I thought was DBUS not working correctly. Lots of thing are running much, much faster or straight-away. Somebody please shoot me. ;-/
|
# ? Aug 3, 2019 14:17 |
|
apropos man posted:I had a slight inkling, for some reason, that I didn't have DNS resolving or forwarding properly, so I set my DHCP server to give 8.8.8.8 to everything yesterday, instead of going through my PiHole VM anymore. You should be able to test this with 'nslookup Some-address PiHole-IP'.
|
# ? Aug 3, 2019 15:06 |
|
Can anyone recommend a good cheap laptop that I can put Ubuntu on? I'm not doing anything serious other than fooling around with it and surfing the net. I have a Dell D630 and it's fine and all but it weighs (comparatively) a million tons and the battery is on its way out by just holding 30 minutes worth of power. Something slightly newer and portable would be fantastic. Having a Ethernet port would be great too. I'm a complete idiot when it comes to Linux and I want to change that.
|
# ? Aug 3, 2019 22:33 |
|
A used thinkpad T440 is pretty decent performance wise and has full linux support.
|
# ? Aug 3, 2019 22:36 |
|
Jimbot posted:Can anyone recommend a good cheap laptop that I can put Ubuntu on? I don't know if it's good, but a Pinebook Pro is cheap and the default OS is Linux.
|
# ? Aug 3, 2019 22:38 |
|
Used corporate thinkpads are perfect for project systems and you can pick up the older generations stupid cheap. They're really well built and last forever. You then can spend ~100 on a new bezel, keyboard, and touchpad for it, and it will look and feel almost brand new.
|
# ? Aug 4, 2019 00:02 |
|
Sweet. Thanks for the responses! I'm seeing the Thinkpads go for about 75-125 on Ebay. Those fair prices?
|
# ? Aug 4, 2019 17:16 |
|
It depends which models, but yeah thats a good deal for pretty much any modern laptop. Don't just get any thinkpad, the brand name has been in use for decades.
|
# ? Aug 4, 2019 17:38 |
|
I like my T570 enough to keep it running Linux for another coupla years. I'm hoping that a viable Ryzen version is released of the ThinkPad T series. Then I might renew it earlier.
|
# ? Aug 4, 2019 20:27 |
|
I'll be keeping my W530 going until I retire, or until the ThinkPad keyboards return to sanity.
|
# ? Aug 5, 2019 03:43 |
|
I posted this on the rclone forum too, but I'm hoping someone here can help. I think the problem lies within how I'm doing *something* outside of Plex and rclone themselves.quote:I'm a complete noob so I apologize if any of this seem ignorant or ill-informed. The Pi Discord has been an amazing help, but I can't seem to figure out what the problem would or could be. I thought it'd be permissions, but doesn't bfs-cache handle that? If it helps at all, I followed this guide: https://pimylifeup.com/raspberry-pi-plex-server/ and then just used rclone to mount the Google Drive.
|
# ? Aug 5, 2019 03:54 |
|
LODGE NORTH posted:I posted this on the rclone forum too, but I'm hoping someone here can help. I think the problem lies within how I'm doing *something* outside of Plex and rclone themselves. mystes fucked around with this message at 04:30 on Aug 5, 2019 |
# ? Aug 5, 2019 04:28 |
|
LODGE NORTH posted:I posted this on the rclone forum too, but I'm hoping someone here can help. I think the problem lies within how I'm doing *something* outside of Plex and rclone themselves. Like all other FUSE mounts you'll want the --allow-other parameter in a multi-user setup. https://rclone.org/commands/rclone_mount/
|
# ? Aug 5, 2019 07:51 |
|
An update to this:Rocko Bonaparte posted:lightdm restarting is ultimately what I think is nuking the desktop GUI, but I can't make sense of why. When I try to get more information from each of these services, I don't get any error messages. They just show they've been running for somewhere between 0 to 90 seconds. Then the desktop resets, and the clock restarts. The lightdm logs don't report any errors. It turned out to be a stupid in the code being tested. A mock for process management apparently wasn't working so the test would kill process ID #1. Hilarity ensued. So the problems were not with the general infrastructure of this at all.
|
# ? Aug 6, 2019 23:37 |
Started seeing this error today trying to install the python36 and python36-devel packages on RHEL7. I've got the epel repo enabled:code:
code:
So it seems like python36 now becomes python3. If I do a yum install python3 it seems to resolve the dependencies fine. But there doesn't seem to be a python3-devel anymore and I get that error above trying to install python36-devel. What do now?
|
|
# ? Aug 7, 2019 00:54 |
|
This might be an obscure question but I noticed earlier today that the KDE file explorer would not detect my file server. I'm using Kubuntu 18.04, and to access my files, I open dolphin, click "network" under "places" in the top left corner, then expand etwork and everything is there, my printer file server, even my Google Home speakers (although I doubt I can do anything with them) My file server is Xubuntu 18.04. However, earlier today when I tried to access my file server nothing showed up under "network". I had just accessed my file server from my windows PC so I knew the server was running, I searched google for mounting a samba share from the command line. . . and I had to install cifs-utils to then run "mount -t cifs /192.168.1.10/server/vault ~/vault" and (unless I misread the prompt) that asked for the root password on my filer server. I keyed in the correct password and it said access denied. I used the physical keyboard on my server to run a sudo command just to make sure I had not forgotten the password. One issue I could see is I think by default, Ubuntu does not have any root password? I remember reading years ago about how to set or reset the root password on Ubuntu and I believe the articles said by default, Ubuntu's root password is simply blank instead relying on the user passwords with sudo permissions. In frustration, I decided the first thing I should try would be rebooting my KDE system. . . and as soon as I rebooted I was able to go back in through Dolphin and browse the server and access my files. Simply put, I am pretty sure that my KDE system did not initally have cifs-utils, when I ran the install command it said 7 new packages would be required which leads me to believe that the default method for Kubuntu to handles Samba shares might involve some other package. If Dolphin fails to browse my network again in the future, is there a command I run to reset whatever part of the networking system is causing the issue besides simply rebooting the PC? On a related note, overall I like a lot of the software present from KDE like Okular, Dolphin, Amarok, and maybe even the launch menu, but I like XFCE's panel and desktop a lot better. In addition, I believe one of my monitors is set to "desktop" display and the other is set to "folder view" - I don't really care for either mode. Would it be difficult to have esseintally XFCE but with all KDE apps? If I install Dolphin on XFCE, would it be difficult to remove or disable the default XFCE browser? Not Wolverine fucked around with this message at 19:52 on Aug 9, 2019 |
# ? Aug 9, 2019 19:47 |
|
Crotch Fruit posted:On a related note, overall I like a lot of the software present from KDE like Okular, Dolphin, Amarok, and maybe even the launch menu, but I like XFCE's panel and desktop a lot better. In addition, I believe one of my monitors is set to "desktop" display and the other is set to "folder view" - I don't really care for either mode. Would it be difficult to have esseintally XFCE but with all KDE apps? If I install Dolphin on XFCE, would it be difficult to remove or disable the default XFCE browser? you can just install the KDE apps like normal, and it will install any parts it needs, and you can launch whichever explorer you like. No need to uninstall whatever XFCE installs. There has been more than one distro in the past that just installed 4-5 DEs and let you choose which to use at login time, and running KDE apps just means installing the QT backend. None of this should cause conflict. E: Always backup your info while playing with this. None of it SHOULD cause a conflict, but this is linux and doing it might somehow break sound on someone elses desktop. RFC2324 fucked around with this message at 03:09 on Aug 10, 2019 |
# ? Aug 10, 2019 03:05 |
|
|
# ? May 20, 2024 19:06 |
|
About the only weird thing you might run into is consistent theming - XFCE doesn't have the ability to set the QT5 theme used by KDE apps on its own, and the usual recommended approach is a tool called qt5ct to do it if the default theme for QT5 doesn't work for you. (From there you either need a theme with both a GTK and QT version (recommended), or to use the dubious idea of the old GTK 2 theme plugin for QT 5 that isn't included with it anymore by default, hasn't been updated in forever, and occasionally just has weird issues.) Also, you don't need KDE installed to install Okular or such, any necessary dependencies should be pulled in by your package manager but are less than the full KDE. gourdcaptain fucked around with this message at 20:31 on Aug 10, 2019 |
# ? Aug 10, 2019 08:26 |