• General Linux Chat and Small Questions v. Year of the Linux Desktop!
    4,886 replies, posted
[img]http://rp.braxnet.org/scr/1464088276340.png[/img] i can't do anything on this server anymore, not even update it no big files anywhere on / as far as i can see
[QUOTE=Giraffen93;50382558][IMG]http://rp.braxnet.org/scr/1464088276340.png[/IMG] i can't do anything on this server anymore, not even update it no big files anywhere on / as far as i can see[/QUOTE] Check log files and such. You can still update files, even if you can't delete anything. To delete contents just use [code] printf "" > file [/code]
[QUOTE=mastersrp;50382623]Check log files and such. You can still update files, even if you can't delete anything. To delete contents just use [code] printf "" > file [/code][/QUOTE] Log files are not stored on / Ironically though, I had misconfigured a program recently and it put one on /, so now I have 94mb free space. No kernels or package caches taking up space
It could just be that your enire / partition than 500MB. That's not a lot. Certainly not with multiple kernels in /boot and shit like that, and applications in /bin and so on.
[QUOTE=mastersrp;50383077]It could just be that your enire / partition than 500MB. That's not a lot. Certainly not with multiple kernels in /boot and shit like that, and applications in /bin and so on.[/QUOTE] [quote]No kernels or package caches taking up space[/quote] binaries and that stuff is on its own partition
[QUOTE=Giraffen93;50383096]binaries and that stuff is on its own partition[/QUOTE] You most likely have files that have been unlinked, but not close() 'd. lsof around and see what files are open on that filesystem, if you want to roll the dice, reboot and see if that helps (since that should bump any process that could have that shadow file open and cause it to release it, causing the file to actually be deleted) "lsof -Pn +L1" should do the trick
[QUOTE=Aircraft;50368628]After seeing this thread I decided to embrace the linux desktop. I installed xfwm4 for easy windows snapping. While vertical snapping works like a charm, horizontal snapping is utterly broken. Say I drag a window to the left edge. Once it starts to snap, it snaps the window to the right edge without resizing it or locking it. Opposite happens vice versa. All I did was install the package, install themes, change dependency, log in and log out. Am I missing something or is it configured incorrectly?[/QUOTE] Help please?
[QUOTE=Aircraft;50383490]Help please?[/QUOTE] Are you sure it isn't switching workspaces instead of snapping?
[QUOTE=Little Donny;50383538]Are you sure it isn't switching workspaces instead of snapping?[/QUOTE] I'm certain that I'm not switching workspaces because I currently have only 1 workspace and I can't manually switch between workspaces I can't see.
[QUOTE=Giraffen93;50382558][img]http://rp.braxnet.org/scr/1464088276340.png[/img] i can't do anything on this server anymore, not even update it no big files anywhere on / as far as i can see[/QUOTE] Boot a rescue system / live image if you can afford the downtime. Might be much easier to work with. Also, why would you partition your drive this strictly?
[QUOTE=Aircraft;50383490]Help please?[/QUOTE] I'm not the biggest fan of xfce so I don't know any exact answers but try looking through this quickly [URL]http://docs.xfce.org/[/URL] yeah it's an rtfm response, but after that try #xfce on irc.freenode.net. IRCs tend to be quite nice for issues like this.
[QUOTE=Aircraft;50368628]After seeing this thread I decided to embrace the linux desktop. I installed xfwm4 for easy windows snapping. While vertical snapping works like a charm, horizontal snapping is utterly broken. Say I drag a window to the left edge. Once it starts to snap, it snaps the window to the right edge without resizing it or locking it. Opposite happens vice versa. All I did was install the package, install themes, change dependency, log in and log out. Am I missing something or is it configured incorrectly?[/QUOTE] Open a terminal and run this: [code]xfwm4 --replace[/code] Try the window snapping thing again and see what that spits out. You can run that command with the Alt+F2 command runner in order to close that terminal without bringing down your window manager. [editline]24th May 2016[/editline] I haven't been using XFCE all that long, and I switched away from xfwm4 almost immediately, but nobody with more expertise seems to be coming by, so
[QUOTE=DrTaxi;50383990]Boot a rescue system / live image if you can afford the downtime. Might be much easier to work with. Also, why would you partition your drive this strictly?[/QUOTE] I wouldn't want to mess with a "working" table though, I'd just wreck it. It was done by the wizard, stupid, I know
now that I'm actually looking at the partition table, what the fuck is that crap? Did the wizard make a separate partition for every single directory in /? A dedicated hard drive partition for /tmp is especially stupid, if you're going to make that a separate partition make it a tmpfs at least.
Managed to fuck up my LXDE config by telling dpkg to remove old configuration files, think I'll just stick to using the RPi instead of tinkering with stuff I have no idea about what it actually does. I really should rtfm.
[QUOTE=mastersrp;50346327]That's what the LD_PRELOAD stuff should fix though. There's a few other fixes out there. You might also try to disable the Steam in-game overlay.[/QUOTE] It's also possible to install all of the libraries steam comes prepackaged with and use the system-installed versions with STEAM_RUNTIME=0. On Arch Linux we have a convenience package in the AUR named "steam-libs", but you'll have to look up what you need for Ubuntu. Using the system-installed libs fixed some issues for me.
[QUOTE=Dr. Evilcop;50391214]It's also possible to install all of the libraries steam comes prepackaged with and use the system-installed versions with STEAM_RUNTIME=0. On Arch Linux we have a convenience package in the AUR named "steam-libs", but you'll have to look up what you need for Ubuntu. Using the system-installed libs fixed some issues for me.[/QUOTE] Is there a list of those libraries?
[QUOTE=Van-man;50391225]Is there a list of those libraries?[/QUOTE] You could download the AUR package PKGBUILD and read the dependency list. [editline]25th May 2016[/editline] Alternatively, you could manually construct a solibs dependency file, but that'd take a LONG time.
I can't guarantee this is EVERYTHING you need, but the list of dependencies are on steam-libs' aur page [url]https://aur.archlinux.org/packages/steam-libs/[/url] The packages might also have different names on Ubuntu.
[QUOTE=lavacano;50387921]now that I'm actually looking at the partition table, what the fuck is that crap? Did the wizard make a separate partition for every single directory in /? A dedicated hard drive partition for /tmp is especially stupid, if you're going to make that a separate partition make it a tmpfs at least.[/QUOTE] yeah i dunno, i hate making partitions so i just chose the default stuff and i don't think it told me the specific sizes before continuing
I've never really seen the need for more than two partitions, / and /home. I'm sure one could easily get by with just a single / partition too. a small partition for /var could be useful as I've seen it grown to a hefty size in the past due to various logs, leaving me unable to do anything as / is filled up. if partitioning a drive that is currently in use by another OS, I like to use a graphical frontend like the partition manager in Windows or GParted (though no need for that really when Windows is installed). I've lost count of how many times I've accidentally wiped a partition table when messing with an already existing table so I'd rather play it safe. just have to format the partitions Windows made to make them compatible for my stuff.
I leave my linux on a dedicated drive in my machine so it basically sets itself up a swap partition and a place to mount / and that's about it.
If I'm Linux only I do root and home partitions, if I'm dual booting I have a Windows partition, a root partition, and a Storage partition/second hard drive (with most of my home folder stuff symlinked to actually be located on Storage).
aaaack, just when I thought I was done wrestling with alsa. I just installed mint cinnamon on my desktop, got the proprietary nvidia drivers installed, eveything working fine, until I realize theres no sound. The sound menu doesnt recognize my onboard audio chip, just my gtx 980ti. [IMG]http://i.imgur.com/WqPNwMo.png[/IMG] If I run lshw, it shows up fine: description: Audio device product: Intel Corporation vendor: Intel Corporation physical id: 1f.3 bus info: pci@0000:00:1f.3 version: 31 width: 64 bits clock: 33MHz capabilities: pm msi bus_master cap_list configuration: driver=snd_hda_intel latency=32 resources: irq:16 memory:df240000-df243fff memory:df220000-df22ffff description: Audio device product: NVIDIA Corporation vendor: NVIDIA Corporation physical id: 0.1 bus info: pci@0000:01:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:17 memory:df080000-df083fff Is it because theyre both using the "snd_hda_intel" driver? Ive got an asus z-170-a mobo, and I checked, asus doesnt offer any linux sound drivers. Anyone got any ideas? [editline]28th May 2016[/editline] aplay -l doesnt recognize it either: kevin@BULLHEADMINT ~ $ sudo aplay -l **** List of PLAYBACK Hardware Devices **** card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 [editline]28th May 2016[/editline] lspci can see it fine too: kevin@BULLHEADMINT ~ $ lspci -v | grep -A7 -i "audio" 00:1f.3 Audio device: Intel Corporation Device a170 (rev 31) Subsystem: ASUSTeK Computer Inc. Device 8698 Flags: bus master, fast devsel, latency 32, IRQ 16 Memory at df240000 (64-bit, non-prefetchable) [size=16K] Memory at df220000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel -- 01:00.1 Audio device: NVIDIA Corporation Device 0fb0 (rev a1) Subsystem: eVga.com. Corp. Device 1996 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at df080000 (32-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel 03:00.0 USB controller: ASMedia Technology Inc. Device 1242 (prog-if 30 [XHCI]) [editline]28th May 2016[/editline] Welp, just found out that the z-170-a sound chip doesnt work on trusty, and seeing as upgrading to wiley on mint broke cinnamon, Im gonna try ubuntu gnome 16.04 lts
So on the one hand I spent about 4 hours installing Arch, but I think I at least have a fairly secure install. Btrfs root and home subvolume over LUKS, swap encrypted with a random key (breaks suspend to disk though) and EFISTUB to boot avoiding any boot manager. Would be vulnerable to an evil maid attack but I'm okay with that, it was more to try and make it work I guess. I also seem to get a high resolution console even with the Nvidia proprietary driver now?
Dumb question, is there an Anti Virus on linux? I wanna scan some stuff.
[QUOTE=Xonax;50418297]Dumb question, is there an Anti Virus on linux? I wanna scan some stuff.[/QUOTE] ClamAV is usually the go-to. Its just a manual scanner though, no active protection.
But for "this computer is so virus-riddled that I can't even scan from it's real operating system" purposes, ClamAV is a wonderful anti-virus. A lot of mail servers and the like also use it.
[QUOTE=lavacano;50420078]But for "this computer is so virus-riddled that I can't even scan from it's real operating system" purposes, ClamAV is a wonderful anti-virus. A lot of mail servers and the like also use it.[/QUOTE] Yep I use it on my router to scan all HTTP traffic against known signatures.
[QUOTE=Xonax;50418297]Dumb question, is there an Anti Virus on linux? I wanna scan some stuff.[/QUOTE] For what purpose? The aforementioned ClamAV, as well as the various commercial AV vendors' Linux products, is usually used for scanning incoming data (mostly email) on servers; not to protect local users from executing malware - nobody runs AV on their Linux desktop. If you just want to scan specific files once in a while, you should be using VirusTotal anyway.
Sorry, you need to Log In to post a reply to this thread.