|
Thermopyle posted:I mean, linux already has your username and password...is there really no mechanism or api for samba (or other software) to check if a provided username/password combo is an actual user? When I tried to do this a while ago I gave up after noticing, that the first dozen pages of google results where people trying to set up exactly this and posting unanswered questions on the forums.
|
# ¿ Nov 7, 2012 00:22 |
|
|
# ¿ May 7, 2024 15:23 |
|
Kaluza-Klein posted:Can some one help me with BTRFS? On the other hand, for me I only get 10-30 seconds. Run a defrag and a metadata rebalance, update to the newest kernel. If the problem persists, do some sysrq-w while it stalls and post them on the mailing list.
|
# ¿ Nov 9, 2012 16:24 |
|
Kaluza-Klein posted:Yeah, I should have mentioned that it certainly hasn't stalled, the drives are chattering away the whole time... I think balance only moves chunks, and defrag doesn't touch chunks. But I might be wrong.
|
# ¿ Nov 9, 2012 19:58 |
|
Thermopyle posted:Yeah, I'll file a bug. Sometimes it's gone after a reboot, but usually it's still happening.
|
# ¿ Nov 17, 2012 14:19 |
|
shimmy posted:Complete Linux newbie here with a rather silly problem. Check your Distro's manual for whatever procedure they recommend. If you can't find anything try this: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10 e: ^^^Ninja
|
# ¿ Nov 20, 2012 22:32 |
|
Is your default alsa device the pulse input? Or is there some settings file where you can assign an alsa device to your app?
|
# ¿ Nov 29, 2012 23:24 |
|
Experto Crede posted:Can someone suggest a program for putting the CPU under load whilst showing the temperature? Preferably a command line one... It might be easier to run one program as a logger of temperature and load. And another programm to stress the system. Here is a logging script that I am using. Just start it as a deamon or in a different shell and recompile you kernel. code:
|
# ¿ Dec 23, 2012 14:22 |
|
revmoo posted:Couldn't you write a forking script?
|
# ¿ Dec 23, 2012 15:29 |
|
Thermopyle posted:Am I tool for writing different system administration type of scripts in python instead of shell scripts? If I wasn't doing that I also would use a normal programming language. I remember when I was writing this I also was thinking about finally learning python and writing this in it. But afer half an hour of trying to figure out how to say code:
|
# ¿ Dec 23, 2012 18:00 |
|
the2ndgenesis posted:I'm looking for a hash function that can print a string of both upper- and lower-case alphanumeric characters, or which can be given parameters to produce such a string. Anyone have any favorites?
|
# ¿ Jan 19, 2013 17:21 |
|
One other thing that often bloats in linux is the download directory of your package manager. It can easily grow to tens of GB for some setups. Do you know where those are saved on your distro? Also, do run that du command (du --max-depth=1 | sort -n) in the following directories: /,/var,/tmp,~/.cache,~/.thunderbird
|
# ¿ Feb 4, 2013 14:52 |
|
Mak0rz posted:That's probably what it is, considering trying to install anything gives me a "no room left on device" or some such error. I have tons of space in my home partition and allocated it that way. I was under the impression only core files went to root and that was pretty much it. You can see that usr and home are each larger than everything else on the disk taken together on your system. But with most package managers these days there is some critical stuff also placed in usr, so you normally can't split that off. 5GB for usr means that you probably have installed almost all the software. Do you really need all that? For a system with X 10GB is a bit undersized. From the documentation it also looks like your package files should be in /var/cache , so that seems not to be the problem. The most solid way to fix your problem would be to move home to a different partition. But that is pretty annoying work.
|
# ¿ Feb 4, 2013 16:38 |
|
ToxicFrog posted:And the fact of the matter is, 10GB is not enough for a modern graphical distro with lots of stuff installed:
|
# ¿ Feb 6, 2013 00:26 |
|
ToxicFrog posted:Ok, that's fairly impressive. What do you have in there? 2 clones of experimental branches. For some reason those had 1.5GB each.
|
# ¿ Feb 6, 2013 23:52 |
|
YouTuber posted:I think I've googled nearly every possible site on this and I can't seem to come to a conclusion. I'm using ffmpeg to stream to twitch.tv. Everything initially worked out flawlessly then suddenly after a reboot it stopped streaming audio aside from the microphone. Music Players, Games, nothing seems to show up in the stream. I'm not the only one with this problem, ffmpeg seems to be the only choice. VLC apparently is just a fancy GUI scheme for running it through ffmpeg and from what I've read it still has the same problem with audio. Remember "Monitor of whatever device" is the buildin loopback for system recording. "Whatever device" is the device's microphone. You recording tab should look like this:
|
# ¿ May 9, 2013 10:50 |
|
Illegal Move posted:Does anybody know about running multiple X servers at the same time? I'm pretty new at this, but I was told to run steam (the wine version) in a seperate X server so that alt-tabbing doesn't mess up my games. It pretty much works, but the only problem is, whenever I switch to my main desktop with ctrl alt f1 when playing a game (mostly dota 2), it seems to freeze the game until I switch back, and this generally makes me disconnect from the server I'm in. Is this supposed to happen no matter what, or is there some way I could make it continue running in the background while I switch to my desktop? For gdm you go to gdmsetup->Security->Configure X Server and then you add a second server with the same settings as the first one. For me they end up on ctrl-alt-f7 and ctrl-alt-f8. I usually use those to try out fancy window manager stuff, so I just log in the second server with a different wm than in the first one. If you want to go for maximal separation you could also create a second user to log in on the second server.
|
# ¿ May 9, 2013 15:00 |
|
Social Animal posted:If I am listening to audio from a youtube video, I can load an mp3 also and get audio from both youtube and the mp3 on Windows. In Fedora only one application can do audio while the rest remain silent. Is this normal behavior? If not any ideas on what I can do to correct it? I don't know anything about sound/audio. Looks like fedora should use pulseaudio. So what you want should work without trouble. The most likely problem is, that one of your 2 applications grabs full access to your soundcard ( that can still happen in Windows too, btw ). If it is a really old app causing the problem, that can be fixed by starting the application with padsp $appname, but that is normally too annoying to do. So check if pulseaudio is installed on your system. If it is, check if alsa does correctly rout audio to pulseaudio. For this you should use whatever gui fedora recommends. If you want to check the config yourself it should be in ~/.asoundrc or in /etc/asound.conf You are looking for a block like this: code:
|
# ¿ Jun 8, 2013 23:51 |
|
wolrah posted:Quick and stupid one, I'm trying to grep a log file for "201" but getting all lines matching due to "2013" in timestamps. Any way to not match 2013 while still allowing any other occurrence of 201 in the same line to match? If you know what the next character is you can do: code:
code:
|
# ¿ Jul 10, 2013 17:20 |
|
Jan posted:This is kind of a loaded question, but is Gentoo still a good distro? I've been using it on my home gateway/media/everything server for a while now, making the switch to hardened and overall keeping up with new features. By the looks of it, gentoo's been seeing less and less development, although it still seems alright on the server front. If you do make the switch, tell me how hard it was please.
|
# ¿ Jul 26, 2013 08:38 |
|
digitalcamo posted:I'll try to be brief as possible. I'm currently learning how to program and so far, everything I've come across says you need linux if your serious about learning programs or computers in general. Why is this? I am very interested in learning linux and plan to do so. And I'm probably too ignorant in my current state of computers, but I just don't understand what makes it so great. Just thought I'd get input from people that use it. If you want to do serious programming you have to interact with the OS and the Hardware. In the olden days the interfaces given by most OSes for this were pretty bad, and really badly documented. On linux you could always just check or even change the source code, if some interface acts badly. These days the difference has been getting smaller.
|
# ¿ Aug 9, 2013 19:25 |
|
JerikTelorian posted:I'm trying to write a bash script for a Minecraft server that will tar three folders. code:
|
# ¿ Aug 11, 2013 16:46 |
|
Thermopyle posted:I guess I don't understand cpu load. Can you turn on TASK_IO_ACCOUNTING ? and then display it with atop. This should tell you. JerikTelorian posted:is the [set +x] some kind of debug mode? I was looking for that while trying to learn scripting. It looks like the source isn't being properly included, for some reason.
|
# ¿ Aug 11, 2013 17:16 |
|
fletcher posted:I have a program that prompts the user for several values and you have to hit return after supplying each value. How can I run it and supply all the values it needs in an automated way? ./program.sh < input.txt
|
# ¿ Aug 14, 2013 10:37 |
|
Lysidas posted:Does anyone have any opinions about encrypted archive formats? Mount the archive somewhere, and then run encfs on it. That is what I do for my cloud drives. Or you could treat your file as a block device and just put an fs encryption and an fs on it. VictualSquid fucked around with this message at 17:58 on Aug 27, 2013 |
# ¿ Aug 27, 2013 17:56 |
|
xtal posted:Is it a terrible idea to generate LUKS keyfiles from /dev/urandom? Most documentation seems to suggest 4096-byte keyfiles and it would take hours to days to generate enough entropy to make keys for all of my partitions. Is it better to use a smaller key from /dev/random or a bigger key from /dev/urandom? I would recommend using the smaller key, just so that it reminds you to change those when you get the opportunity. Maybe you should think about getting a cheap hardware random number generator if that sort of thing can't take a few days for you.
|
# ¿ Oct 21, 2013 00:39 |
|
An old friend of mine used to swear by DR-Dos as a base for crazy multibooting or system recovery schemes. Once you have booted to dos you can chainload basically everything from there.
|
# ¿ Nov 14, 2013 18:34 |
|
Suspicious Dish posted:xorg.conf has not been needed for like 6 years at this point.
|
# ¿ Jun 10, 2014 15:21 |
|
evol262 posted:The history file and Ctrl+r I do use the history file for commands that I use rarely but regularly. But the really annoying ones I have saved in an extra text file.
|
# ¿ Aug 6, 2014 15:15 |
|
evol262 posted:I have every system I use set to append the history file when I run commands, which also lets you run multiple instances and have them all update the history file in order.
|
# ¿ Aug 6, 2014 16:05 |
|
fuf posted:Should I install dhcpd? The arch wiki says you shouldn't have dhcpd running alongside wicd (I'm using ubuntu not arch).
|
# ¿ Sep 2, 2014 15:48 |
|
I am looking for a Dropbox replacement in terms of linux compatibility. I currently have Dropbox started through init, use it as a directory and I have an encfs partition running on it. Is there another one that is good and offers something like this. Or at least a directory mode with full client side encryption.
|
# ¿ Feb 3, 2015 10:39 |
|
Clicking once per second certainly sounds like a dying drive.
|
# ¿ Feb 24, 2015 14:44 |
|
Longinus00 posted:One pro of pulseaudio over straight ALSA is that you can listen to two different audio streams at once (e.g. you're watching youtube and chatting with your mom over skype) without requiring a hardware mixer in your soundcard. This may not seem like a big deal but when was the last time a consumer computer had anything but one of those realtek chipsets? Unless you wanted everyone to go out and buy soundcards to put into their computers (think about laptops here) the writing was on the wall for pure ALSA. For a long time I had pulsaudo inputing into the ALSA software mixer, so that I could still have sound for the applications that triggered strange bugs in pulse or that didn't want to use pulse. The actual part of pulse that I used was the ability to assign output and input streams to recording sinks.
|
# ¿ Mar 28, 2015 15:26 |
|
evol262 posted:I used Linux through the the OSS->ALSA migration, and into PA. Bluntly, I'm not sure that you did, from the way you talk about it. ALSA got lambasted when it was new, too, but "good enough for 99% of users because audio sort-of works" isn't even an argument. Pulse is intended to be a modern audio system comparable to what Windows has. Something developers can use. Something users can use. Something DEs can tie into. Something ALSA never was. It's great if all you wanna do is use mpg123. Many of us want to do more. That sort of attitude for is the reason why systemd becoming the new PA is worrying.
|
# ¿ Mar 28, 2015 23:44 |
|
evol262 posted:The point is that I'm not defending his personality. His personality is fine anyway as long as you're making reasonably sound technical arguments, but that ad hominems against project leaders are a lovely way to evaluate software. The report on the kernel side said there is a clear solution which is to stop using PA. So they had no interest in fixing this quickly. It took several years to be fixed.
|
# ¿ Mar 29, 2015 22:53 |
|
evol262 posted:I looked and can't find it. Can you find the bug? I don't know if it's on freedesktop or bugzilla.redhat.com The fact that it is hard to find is actually the larger problem. I was seriously considering buying a new soundcard back then, because I did want to use some of the more exotic features of PA. I decided against it because there was no way to verify if a given soundcard was compatible with PA. Because PA totally never directly interfaces with the hardware and so never can trigger strange kernel bugs. Actually I think I saw that article you linked, back then. Or at least some similar ones. I definitely remember lots of dead links to the PA documentation that used to have some info I was looking for. Now I see people (partially literally the same people) say the same thing about systemd. So this makes me hesitant to intall it, especially as it seems to have even less advantages than PA.
|
# ¿ Mar 30, 2015 17:51 |
|
Cingulate posted:free shows me there is basically no memory left. There is still 30GB buffers, but something is eating up hundreds of GB. If I display programs by memory usage, I find a few idling things not owned by me that together amount to a few GB, but I cannot account for >70% of memory used by looking at the top 60 processes. Is there some other way to figure out what's eating the RAM?
|
# ¿ Aug 2, 2015 11:58 |
|
Did you check if your top 60 programs includes all programs or if it excludes inactive processes? Many lists exclude them by default.
|
# ¿ Aug 2, 2015 13:20 |
|
It looks more like cron is calling sudo, in some horribly wrong and undocumented way. I always found configuring cron to run a script as a user to be extremely finicky. You probably would be better off running the script from marty's crontab.
|
# ¿ Jun 28, 2018 13:32 |
|
|
# ¿ May 7, 2024 15:23 |
|
I had a probable XY problem recently and forgot to ask here. I actually do think that the answers to the Y problems are actually useful to know here. I am trying out Kubuntu in a virtual machine to find out if like the distro. I was trying to get Japanese language input to work on Kubuntu. The Manual I found on the main Kubuntu website recommends skim. Skim isn't compatible with kde 5 (and possible kde4), and it also has been removed from the repository. From what I know, fcitx is the default IM-switcher for KDE these days, so I installed it. Fcitx need some environment variables set to work correctly. I couldn't figure out if (K)ubuntu has a specific recommended way to set system wide environment variables. The equivalent to gentoo's /etc/env.d/ . FCitx manual recommended to put those variables into ~/.xprofile as an alternative, which doesn't seem to be read in Kubuntu. Putting the variables into ~/.profile works, but I am not sure how Kubuntu handles such modified files when the system is updated. So my question (in order of increased Y-ness) 1) What is the default IM-switcher in Kubuntu and how do I Install it? 2) Does Kubuntu have a recommended facility for setting environment variables? 3) Is there a simple setting to set to get Kubuntu to read xprofile? 4) Where is the updating of config files during package updates documented/configurable in Kubuntu?
|
# ¿ Jul 28, 2018 12:09 |