1. Post #521
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,716 Posts
    I'm trying out several distributions from a Live USB because I found a tool to put multiple linux live distributions on one disk.

    I'm now on Ubuntu, I've noticed that the firefox on the Ubuntu liveUSB starts way faster than the firefox on my native Arch Linux. Why is that? Why does firefox on Arch Linux take like half a minute to start up (cold startup) while for ubuntu it takes 5 seconds max?

    Eventually it comes down to this question:
    How do I speed up program startup?
    Reply With Quote Edit / Delete Linux Netherlands Show Events

  2. Post #522
    Gaza Pen Pal's Avatar
    March 2011
    620 Posts
    do you have any add-ons installed on ff in arch?
    Reply With Quote Edit / Delete Linux United States Show Events

  3. Post #523
    Pery's Avatar
    October 2008
    446 Posts
    I'm trying out several distributions from a Live USB because I found a tool to put multiple linux live distributions on one disk.

    I'm now on Ubuntu, I've noticed that the firefox on the Ubuntu liveUSB starts way faster than the firefox on my native Arch Linux. Why is that? Why does firefox on Arch Linux take like half a minute to start up (cold startup) while for ubuntu it takes 5 seconds max?

    Eventually it comes down to this question:
    How do I speed up program startup?
    preload/prelink ?
    Reply With Quote Edit / Delete Windows 7 Poland Show Events

  4. Post #524
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,716 Posts
    do you have any add-ons installed on ff in arch?
    Well yeah, but I'm mainly using chromium which is equally slow.

    Thunderbird is this slow as well.
    Reply With Quote Edit / Delete Windows Vista Netherlands Show Events

  5. Post #525
    Gold Member
    esalaka's Avatar
    July 2007
    10,241 Posts
    Your HDD is so slow

    slow as balls

    I'd assume
    Reply With Quote Edit / Delete Linux Finland Show Events Agree Agree x 2Disagree Disagree x 1 (list)

  6. Post #526
    gman_beeman's Avatar
    December 2007
    576 Posts
    Back again with yet another question, when I run the minecraft server starter via putty, it starts in putty, and when I exit Putty, it crashes the server. How do I prevent this?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Funny Funny x 1 (list)

  7. Post #527
    I will huff and puff and FLIP YOUR FUCKING TABLES
    Lyokanthrope's Avatar
    October 2005
    7,182 Posts
    Back again with yet another question, when I run the minecraft server starter via putty, it starts in putty, and when I exit Putty, it crashes the server. How do I prevent this?
    Use screen.
    Or this.
    http://www.minecraftwiki.net/wiki/Server_startup_script
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  8. Post #528
    Gold Member
    PvtCupcakes's Avatar
    May 2008
    10,900 Posts
    Back again with yet another question, when I run the minecraft server starter via putty, it starts in putty, and when I exit Putty, it crashes the server. How do I prevent this?
    When you disconnect from SSH it sends a HANGUP signal to all the processes you started from that shell.
    You can start the minecraft server with
    Code:
    nohup java -jar minecraft_server.jar
    And it will ignore the HANGUP signal.
    Reply With Quote Edit / Delete Linux United States Show Events

  9. Post #529
    Gold Member
    esalaka's Avatar
    July 2007
    10,241 Posts
    OR you could run it in screen or equiv.
    Reply With Quote Edit / Delete Linux Finland Show Events Agree Agree x 1 (list)

  10. Post #530
    Conservative Cunt who fucking loves piss
    Elecbullet's Avatar
    November 2007
    11,794 Posts
    So-o, I rooted my Droid 2 and have been playing around with it. Droid 2 uses modified Linux, of course.

    Installed Busybox, and to my horror discovered that Busybox includes no GNU Nano, and only vi. So, had to learn to use vi, when I'd always been in this thread bitching about how Nano is much simpler. It's not actually all that bad.

    Also the default shell sucked, so I installed bash shell in its place. Someone want to let me know:
    /bin/sh is the shitty shell that doesn't support command history, or left-arrow key to change a command, and
    /bin/bash is the one that does support those, right?
    Reply With Quote Edit / Delete Linux United States Show Events

  11. Post #531
    Chezhead's Avatar
    December 2009
    7,269 Posts
    Does anyone have any ideas for a good linux honeypot program?
    Reply With Quote Edit / Delete Linux United States Show Events

  12. Post #532
    Thief's Avatar
    June 2011
    360 Posts
    gonna get linux mint 11 on virtualbox and then go on all the crazy russian porn sites I can find.
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events Funny Funny x 3 (list)

  13. Post #533
    Gold Member
    esalaka's Avatar
    July 2007
    10,241 Posts
    discovered that Busybox includes no GNU Nano, and only vi
    vi is in the POSIX standard, it has to be included.

    Busybox is a fairly self-contained minimal environment, of course it doesn't include pointless utilities like a large shell like bash.

    What prompted you to use it in the first place?
    Reply With Quote Edit / Delete Linux Finland Show Events Agree Agree x 1 (list)

  14. Post #534
    Gold Member
    PvtCupcakes's Avatar
    May 2008
    10,900 Posts
    So-o, I rooted my Droid 2 and have been playing around with it. Droid 2 uses modified Linux, of course.

    Installed Busybox, and to my horror discovered that Busybox includes no GNU Nano, and only vi. So, had to learn to use vi, when I'd always been in this thread bitching about how Nano is much simpler. It's not actually all that bad.

    Also the default shell sucked, so I installed bash shell in its place. Someone want to let me know:
    /bin/sh is the shitty shell that doesn't support command history, or left-arrow key to change a command, and
    /bin/bash is the one that does support those, right?
    /bin/sh isn't a shell really. It's a symlink to an actual shell. On a desktop Linux /bin/sh is a symlink to /bin/bash

    I don't know what the shell Busybox uses though.

    Edited:

    Wikipedia says Busybox uses the ASH Shell
    http://en.wikipedia.org/wiki/Ash_shell
    Reply With Quote Edit / Delete Windows 7 United States Show Events Informative Informative x 1 (list)

  15. Post #535
    Conservative Cunt who fucking loves piss
    Elecbullet's Avatar
    November 2007
    11,794 Posts
    Oh, no no no, the default shell for the Droid itself. That's before Busybox was installed.

    Originally it did not feature line editing[clarification needed] or command history mechanisms, because Almquist felt that such should be moved into the terminal driver; however, current variants support it.
    The main problem I had was that the default Droid shell did NOT support command history or line editing, so I don't think that's the shell it was using.

    I'd type:
    Code:
    wget http://192.168.1.10/homepage.html
    And, having forgotten to enter the "busybox" before "wget", I had to delete the entire command, because I couldn't hit left arrow to change it.

    Thanks for the info though.

    Edited:

    vi is in the POSIX standard, it has to be included.

    Busybox is a fairly self-contained minimal environment, of course it doesn't include pointless utilities like a large shell like bash.

    What prompted you to use it in the first place?
    Well I SSH'd in using SSHDroid Pro so i could do various things. One thing I did try was writing my own personal homepage for the Droid phone.

    I have a homepage for my PC that is extremely useful, and I wrote an extremely slimmed down version for my Droid. You can find that here, however I have it stored locally on my Droid for instant access.
    Reply With Quote Edit / Delete Linux United States Show Events

  16. Post #536
    gman_beeman's Avatar
    December 2007
    576 Posts
    When you disconnect from SSH it sends a HANGUP signal to all the processes you started from that shell.
    You can start the minecraft server with
    Code:
    nohup java -jar minecraft_server.jar
    And it will ignore the HANGUP signal.
    That worked thanks, but how do I shut down the server?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  17. Post #537
    Boris-B's Avatar
    July 2009
    1,267 Posts
    You'll have to kill the process. That's why I prefer to use screen. You can access the console at any time and you can even send it commands with a script. Plus even more amazing shit.
    Reply With Quote Edit / Delete Linux Canada Show Events Agree Agree x 1 (list)

  18. Post #538
    gman_beeman's Avatar
    December 2007
    576 Posts
    You'll have to kill the process. That's why I prefer to use screen. You can access the console at any time and you can even send it commands with a script. Plus even more amazing shit.
    Yeah, I'll probably switch to screen, because I can't actually input any commands via Putty, and that's the main reason I set up the entire SSH thing in the first place.

    Also, this doesn't really belong here, but seeing as my server has 8GB of RAM, should I run the server with the parameters with -Xmx7168M -Xms7168M (7GB leaving 1GB for other stuff) or just -Xmx1024M -Xms1024M?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  19. Post #539
    Gold Member
    Naelstrom's Avatar
    June 2010
    2,756 Posts
    Anyone have a way to hide the cursor in xfce on arch (preferably from a hotkey)? Whenever steam is open in wine; steam disallows the cursor to hide in games.
    Reply With Quote Edit / Delete Linux United States Show Events

  20. Post #540
    Gold Member
    Jawalt's Avatar
    August 2007
    3,478 Posts
    That worked thanks, but how do I shut down the server?
    His advice was not very good, use screen instead it's much better in this case, seeing as you have to resume your session.
    Code:
    screen
    minecraft stuff here
    And then you're good, losing connection, etc nothing terrible happens. Now, when you SSH back in to get back to the screen when you SSH again:
    Code:
    screen -r
    Just recently learned how to do this, screens a really great tool.
    Reply With Quote Edit / Delete Linux United States Show Events

  21. Post #541
    chipset's Avatar
    November 2010
    2,267 Posts
    So I'm pretty inexperienced with linux and there's tons of things I wanna be doing with my server but finding good/up to date how to's is a real pain. Is there anyone I can add on steam/skype/msn for quick help?
    I'll try not to be too annoying.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Agree Agree x 1 (list)

  22. Post #542
    Gold Member
    nos217's Avatar
    December 2006
    2,665 Posts
    The default fonts on Fedora 15 are actually really nice, they remind me of TF2.
    Reply With Quote Edit / Delete Linux United Kingdom Show Events

  23. Post #543
    Gold Member
    moesislack's Avatar
    January 2011
    3,158 Posts
    I have a problem here.
    How the network here functions is you login to the wireless with some generic password everyone knows then you open a browser and load a page then the network re directs you to a login page and you enter your credentials and you get proper access.
    So before I could run firefox Ubuntu figured it would update so it got redirected when it asked for a list of packages or whatever it was in html so instead of a list I have the raw html page for the login page this
    Code:
    <HTML><HEAD><TITLE> Web Authentication Redirect</TITLE><META http-equiv="Cache-control" content="no-cache"><META http-equiv="Pragma" content="no-cache"><META http-equiv="Expires" content="-1"><META http-equiv="refresh" content="1; URL=https://1.1.1.1/login.html?redirect=ca.archive.ubuntu.com/ubuntu/dists/natty/main/i18n/Index"></HEAD></HTML>
    Is in a bunch of files in /var/lib/apt/lists with names like ca.archive.ubuntu.com_ubuntu_dists_natty_main_bina ry-i386_Packages
    Should I just delete all of them and they will be re downloaded or am I screwed?

    Edited:

    Actually every html file in that directory has that code.
    Reply With Quote Edit / Delete Linux Canada Show Events

  24. Post #544
    ColdFusionV2's Avatar
    June 2011
    183 Posts
    I currently have some servers set up in a cloud like system where I have 1 Interface and Multiple php proccesing slaves. (Working great btw)
    Problem is i need to sync the website resources between them and i have yet to find a application that suites my need.

    I am looking for a demon that can 2way sync resources, and doesn't crash when i sync with multiple places at the same time.

    all the servers that need access to the website content are hosted in the same datacenter so if anyone has other suggestions then a sync app that would be fine too.

    Interface runs Ubuntu (I know but i needed a debian based OS for nginx to function the way i want it too) the slaves run Cent OS
    Reply With Quote Edit / Delete Windows 7 France Show Events

  25. Post #545
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,716 Posts
    The only sensible thing I can thing is dropbox with symlinks.

    If the folder isn't bigger than 2GB that is...
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events

  26. Post #546
    ColdFusionV2's Avatar
    June 2011
    183 Posts
    That also was my first atempt the console only version doesn't like debian a whole lot, i made a support ticket at dropbox, but i think they only handle support tickets from retarded people asking retarded stuff.

    Also i am afraid dropbox isn't very instant or fast. and my servers should always be running (at least the interface should) so i don't need a 3rd party server(dropbox) in between.

    I suppose i can set up Samba on the Interface and then symlink it, but that would increase useless trafic betwheen the servers a lot
    Reply With Quote Edit / Delete Windows 7 France Show Events

  27. Post #547
    I will huff and puff and FLIP YOUR FUCKING TABLES
    Lyokanthrope's Avatar
    October 2005
    7,182 Posts
    So I was playing with DWM last night.
    I do like how customizable it is, and customization is actually sensible rather than Awesome or Xmonad where you need to know Lua or Haskell to do something simple such as change the color of the top bar.
    I'm not sure if I'll stay with it for long (and I don't know what the fuck I was thinking with E17 - I must've been affected by the heat yesterday) and I might just go back to Openbox again. I dunno.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  28. Post #548
    Gold Member
    Jawalt's Avatar
    August 2007
    3,478 Posts
    Just found tilda, I'm in love.
    Reply With Quote Edit / Delete Linux United States Show Events Agree Agree x 1 (list)

  29. Post #549
    Gold Member
    PvtCupcakes's Avatar
    May 2008
    10,900 Posts
    His advice was not very good, use screen instead it's much better in this case, seeing as you have to resume your session.
    Code:
    screen
    minecraft stuff here
    And then you're good, losing connection, etc nothing terrible happens. Now, when you SSH back in to get back to the screen when you SSH again:
    Code:
    screen -r
    Just recently learned how to do this, screens a really great tool.
    What.
    nohup is fine

    You just use kill to stop the process which if it's a server program is probably not very often.

    Edited:

    I currently have some servers set up in a cloud like system where I have 1 Interface and Multiple php proccesing slaves. (Working great btw)
    Problem is i need to sync the website resources between them and i have yet to find a application that suites my need.

    I am looking for a demon that can 2way sync resources, and doesn't crash when i sync with multiple places at the same time.

    all the servers that need access to the website content are hosted in the same datacenter so if anyone has other suggestions then a sync app that would be fine too.

    Interface runs Ubuntu (I know but i needed a debian based OS for nginx to function the way i want it too) the slaves run Cent OS
    Have you tried rsync?
    Reply With Quote Edit / Delete Linux United States Show Events

  30. Post #550
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    5,716 Posts
    I just removed gdm. My window manager is started directly through startx now. Less RAM usage :D.

    Programs are still slow to start though...
    Reply With Quote Edit / Delete Linux Netherlands Show Events

  31. Post #551
    Gold Member
    esalaka's Avatar
    July 2007
    10,241 Posts
    You just use kill to stop the process which if it's a server program is probably not very often.
    We're talking about minecraft.

    My shell provider just forbade running minecraft servers. You know why? Because they used up all the RAM available, that's why. In fact, they used up so much memory half of them crashed and couldn't be rebooted due to the lack of RAM.

    Edited:

    And as if that's not everything, once in a while minecraft will just for no apparent reason start fucking up and throwing NullPointerExceptions, requiring a restart.

    Not to even mention the fact you have to update it often which is more to the point.
    Reply With Quote Edit / Delete Linux Finland Show Events Funny Funny x 1 (list)

  32. Post #552
    Gold Member
    Jawalt's Avatar
    August 2007
    3,478 Posts
    We're talking about minecraft.

    My shell provider just forbade running minecraft servers. You know why? Because they used up all the RAM available, that's why. In fact, they used up so much memory half of them crashed and couldn't be rebooted due to the lack of RAM.

    Edited:

    And as if that's not everything, once in a while minecraft will just for no apparent reason start fucking up and throwing NullPointerExceptions, requiring a restart.

    Not to even mention the fact you have to update it often which is more to the point.
    You can actually set an upper limit on the RAM a Minecraft server uses very easily, so instead of banning a legitimate application they should have warned users, and showed them how to fix what they were doing.
    Reply With Quote Edit / Delete Linux United States Show Events Agree Agree x 1 (list)

  33. Post #553
    CIPWTTKT's Resident Redneckā„¢
    Dr. Deeps's Avatar
    December 2009
    7,261 Posts
    You can actually set an upper limit on the RAM a Minecraft server uses very easily, so instead of banning a legitimate application they should have warned users, and showed them how to fix what they were doing.
    Isn't it like one fucking line in the server config file?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  34. Post #554
    Gold Member
    Jawalt's Avatar
    August 2007
    3,478 Posts
    Isn't it like one fucking line in the server config file?
    It's a launch option: -Xmx<sizehere>m
    Reply With Quote Edit / Delete Linux United States Show Events Agree Agree x 1Informative Informative x 1 (list)

  35. Post #555
    Gold Member
    Adzter's Avatar
    September 2009
    2,033 Posts
    I'm needing a bit of help with linux, I've tried a few distros; opensuse, fedora, ubuntu and for some reason the only one that will allow me to select a wireless connection is ubuntu, the others only let me use wired connection or VPN. I'm guessing this is to do with drivers or mabye my live cd isn't burning properly.
    Reply With Quote Edit / Delete Linux United Kingdom Show Events

  36. Post #556
    Pery's Avatar
    October 2008
    446 Posts
    That would be the drivers, unless you have a card which requires propertiary firmware (Broadcom ones).
    Reply With Quote Edit / Delete Windows 7 Poland Show Events

  37. Post #557
    Conservative Cunt who fucking loves piss
    Elecbullet's Avatar
    November 2007
    11,794 Posts
    I'm needing a bit of help with linux, I've tried a few distros; opensuse, fedora, ubuntu and for some reason the only one that will allow me to select a wireless connection is ubuntu, the others only let me use wired connection or VPN. I'm guessing this is to do with drivers or mabye my live cd isn't burning properly.
    Yeah, the makers of a lot of wireless cards like to be bitches and refuse to open-source them, so a lot of distros are extremely nervous about including them. Ubuntu is much more lenient on copyright, and does include quite a few shady-copyrighted goods.
    Reply With Quote Edit / Delete Linux United States Show Events

  38. Post #558
    Gold Member
    Adzter's Avatar
    September 2009
    2,033 Posts
    Yeah, the makers of a lot of wireless cards like to be bitches and refuse to open-source them, so a lot of distros are extremely nervous about including them. Ubuntu is much more lenient on copyright, and does include quite a few shady-copyrighted goods.
    Alright, I've found the driver for linux, but I've got to compile it and I keep getting errors about there being no "build" folder
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  39. Post #559
    Gold Member
    esalaka's Avatar
    July 2007
    10,241 Posts
    It's a launch option: -Xmx<sizehere>m
    We had major problems when launching minecraft with less memory. Some chunks wouldn't load at all and we'd have that bug where blocks you destroy get destroyed ten seconds after the client sees it.

    It was tried.
    Reply With Quote Edit / Delete Linux Finland Show Events

  40. Post #560
    Gold Member
    Jawalt's Avatar
    August 2007
    3,478 Posts
    We had major problems when launching minecraft with less memory. Some chunks wouldn't load at all and we'd have that bug where blocks you destroy get destroyed ten seconds after the client sees it.

    It was tried.
    The clients shouldn't even bother without 512-768 RAM really, and 1-2gb burst. I use mine occasionally and minecraft maxed at 512 + other stuff on my server uses 500-700mb of ram, which is using a significant portion of my burst at peak, but it's not laggy and I have no such problems. The server plays really well, surprisingly.
    Reply With Quote Edit / Delete Windows 7 United States Show Events