• General Linux Chat and Small Questions v. I broke my Arch Install
    6,886 replies, posted
[QUOTE=supervoltage;41023049]Van-man, you should rather try out [url=https://www.archlinux.org/packages/extra/i686/x11vnc/]x11vnc[/url]. It allows you to connect to your "main" display. By executing the following command, you'll be able to see your main desktop: [code]x11vnc -display :0 -nevershared -forever[/code][/QUOTE] What I'm currently using. Doesn't like most OpenGL related stuff. Even tried many tweaks to no avail.
What's your setup like? I just tested x11vnc on my laptop with nvidia drivers and was able to run glxgears and minecraft.
[QUOTE=Tobba;41023145]This pretty much still applies web.mit.edu/~simsong/www/ugh.pdf Which is generally hilarious Linux isnt gonna take off for the end users anytime soon because you need to be an expert to not blow your system up with nicely functioning commands Even then experienced sysadmins still manage to accidently rm -rf / the disk from time to time because something was designed by a mentally retarded monkey[/QUOTE] Mentally retarded monkey? You must be describing something more organic, like the English language or the system of Empirical measure, because UNIX seems to be pretty sensible and regular if you ask me. Why would you expect `rm -rf /` to do anything but exactly what it is advertised to do? Anything short of deleting every file on a mounted partition would be illogical. In newer versions of the command there is the --no-preserve-root option, which makes sense, but actually makes the command [I]less[/I] regular and so more convoluted and confusing, kind of like something a mentally retarded monkey might design.
[QUOTE=Rayjingstorm;41024872]Mentally retarded monkey? You must be describing something more organic, like the English language or the system of Empirical measure, because UNIX seems to be pretty sensible and regular if you ask me. Why would you expect `rm -rf /` to do anything but exactly what it is advertised to do? Anything short of deleting every file on a mounted partition would be illogical. In newer versions of the command there is the --no-preserve-root option, which makes sense, but actually makes the command [I]less[/I] regular and so more convoluted and confusing, kind of like something a mentally retarded monkey might design.[/QUOTE] You dont have to type rm -rf / to perform rm -rf / Wildcards is a good gotcha that can fuck the whole filesystem up, try having a file named -r and rm -f *,ing it Bonus if theres a symlink to important things
[QUOTE=Tobba;41024927]You dont have to type rm -rf / to perform rm -rf / Wildcards is a good gotcha that can fuck the whole filesystem up, try having a file named -r and rm -f *,ing it Bonus if theres a symlink to important things[/QUOTE] On the other hand, nobody would ever intentionally generate a file called -r because files beginning with dashes are a huge pain in the ass. It'd be caused by an accidental parameter mixup or something - and I rarely do things that both write in the current directory and remove all files in it at the same time. That aside, what kind of an idiot would do a wildcard match on a destructive operation as root? That requires some very carefully constructed moronity, like being logged in as root all the time. Which is impossible in <user-friendlier distro> by default. And rm -rf * would only do bad things in a directory that has contents you don't want to remove - in which case you wouldn't be forcibly removing all the contents of the directory. Relying on that rm not removing directories without -r is idiotic as well. [editline]14th June 2013[/editline] Basically, it's very easy to construct situations that will royally fuck up your system, but it's very unlikely that a rookie will manage to 1) log in as root 2) accidentally touch -r 3) try to remove the contents of /usr without removing directories [editline]14th June 2013[/editline] Actually, at the point where you accidentally do this, you've probably already aliased rm to rm -rf
Theres a good bunch of other really fun data destroyers Such as typing tar -xf as tar -cf and destroying the file you intended to extract Bonus if you do this to a backup [editline]14th June 2013[/editline] This actually doesnt appear to work anymore on some distros, still though, theres a whole shitload of these
In other news just completed my first system backup with rsync over ssh :woot: The backup is 237GiB, further backups will be incremental, and the drive is 3TB so I hope I don't have to worry about space. I could run it with cron, but I would rather watch the backup in the terminal as it happens, as apposed to checking logs after the fact.
[QUOTE=IpHa;41024276]What's your setup like? I just tested x11vnc on my laptop with nvidia drivers and was able to run glxgears and minecraft.[/QUOTE] ATI proprietary legacy drivers. Got "only" a HD4870x2
*grumble* Wireshark got 'updated' to gtk3 on arch.
[QUOTE=IpHa;41026519]*grumble* Wireshark got 'updated' to gtk3 on arch.[/QUOTE] gtk3 would be cool if it didn't depend on half of GNOME3
AUR to the rescue! I put together a wireshark-gtk2 package
Upon closer inspection, it's not that GTK+ 3 depends on it, more that programs using it do. I wonder why, though.
I made the mistake of buying a $4 Ralink RT2870/RT3070 USB Wifi stick for my Raspberry Pi and can't get it working. I'm trying to compile the driver, though in order to do that I need the linux-headers-3.6.11, which don't exist on apt. I'd buy another USB wifi stick with a less annoying chipset, though it would arrive after I move next month.
That should work with the in kernel rt2800usb module.
[QUOTE=esalaka;41025104]On the other hand, nobody would ever intentionally generate a file called -r because files beginning with dashes are a huge pain in the ass. It'd be caused by an accidental parameter mixup or something - and I rarely do things that both write in the current directory and remove all files in it at the same time. [B]That aside, what kind of an idiot would do a wildcard match on a destructive operation as root? That requires some very carefully constructed moronity, like being logged in as root all the time. Which is impossible in <user-friendlier distro> by default.[/B] And rm -rf * would only do bad things in a directory that has contents you don't want to remove - in which case you wouldn't be forcibly removing all the contents of the directory. Relying on that rm not removing directories without -r is idiotic as well. [editline]14th June 2013[/editline] Basically, it's very easy to construct situations that will royally fuck up your system, but it's very unlikely that a rookie will manage to 1) log in as root 2) accidentally touch -r 3) try to remove the contents of /usr without removing directories [editline]14th June 2013[/editline] Actually, at the point where you accidentally do this, you've probably already aliased rm to rm -rf[/QUOTE] i've done this then again I'm not a smart man [editline]13th June 2013[/editline] oh no wait i accidently moved most of root into my home folder not much better i guess
[QUOTE=IpHa;41027121]That should work with the in kernel rt2800usb module.[/QUOTE] You would think. I ran lsmod and it seems that the modules are loaded, though I found this is dmesg: [ 12.604870] phy0 -> rt2800_init_eeprom: Error - Invalid RF chipset 0x3070 detected. [ 12.723229] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device. [ 12.797195] usbcore: registered new interface driver rt2800usb I came across this: [url]http://www.geekamole.com/2013/rt2800usb-fix-for-ralinkmediatek-3070-gentoo-linux/[/url] Looks promising, though I have no idea how to use it. It seems like I'd have to compile stuff, which brings me right back to my problem with not being able to get linux-headers-3.6.11.
I'm guessing you're using Raspbian. I looked through their repo and the latest kernel is 3.6.9.
What do you guys use for music? I've been using vlc and am wondering what alternatives there are (even though I'm perfectly fine with it).
[QUOTE=sabreman;41028348]What do you guys use for music? I've been using vlc and am wondering what alternatives there are (even though I'm perfectly fine with it).[/QUOTE] I would wholeheartedly recommend MPD w/ ncmpcpp (or vimpc although this isn't as full featured). The server does just one thing: play music. There are a bunch of great frontends/clients some cli some gui. You can also continue to listen outside of Xorg because the daemon will be running in the background.
Clementine is pretty good, but I usually just use a terminal and mplayer.
I use DeaDBeeF [url]http://deadbeef.sourceforge.net/[/url]
[QUOTE=sabreman;41028348]What do you guys use for music? I've been using vlc and am wondering what alternatives there are (even though I'm perfectly fine with it).[/QUOTE] Clementine. Music time is not nerdy time.
I use [url=https://www.archlinux.org/packages/extra/i686/moc/]moc.[/url] It's ncurses-based, so it's easy to select stuff and all that. It runs in a daemon so it works outside of Xorg too.
[QUOTE=sabreman;41028348]What do you guys use for music? I've been using vlc and am wondering what alternatives there are (even though I'm perfectly fine with it).[/QUOTE] Audacious
Clementine all the way. NCMPCPP if you like CLI applications
ncmpcpp is the best mpd client
Not really Linux related but figured it'd fit more here than anywhere else. :v: I just installed Clementine on Windows and so far it's been a struggle. Everything but Spotify works through it. I've logged in and found my playlist, but when I start the song it only plays for about 2-3 seconds before jumping to next song. What can I do?
[QUOTE=PredGD;41034855]Not really Linux related but figured it'd fit more here than anywhere else. :v: I just installed Clementine on Windows and so far it's been a struggle. Everything but Spotify works through it. I've logged in and found my playlist, but when I start the song it only plays for about 2-3 seconds before jumping to next song. What can I do?[/QUOTE] Clementine is generally shitty on Windows because of godknowswhy. you're better off with MediaMonkey or FooBar2000 there.
[QUOTE=Tobba;41025176]Theres a good bunch of other really fun data destroyers Such as typing tar -xf as tar -cf and destroying the file you intended to extract Bonus if you do this to a backup [editline]14th June 2013[/editline] This actually doesnt appear to work anymore on some distros, still though, theres a whole shitload of these[/QUOTE] Another one (that happened to me) is that instead of sending a file through nc, I tried to receive the file I was trying to send.. And it was a backup :v:
aaaaaaaa apparently something broke my display manager god not even 48 hours after I install Mint 15 and its already breaking and I can't figure out why mdm will start when launched explicitly but it doesn't do anything when upstart tries to start it. I want to go back to Arch... [editline]14th June 2013[/editline] EVERY display manager broke... I tried installing GDM, reinstalling mdm, and xdm..none will start through upstart scripts.
Sorry, you need to Log In to post a reply to this thread.