• General Linux Chat and Small Questions
    3,153 replies, posted
[QUOTE=MasterFen007;29587842]Both the inittab and the daemon method don't work when I try to run GDM at startup, I need some help![/QUOTE] Did you install X? Also, can you post your inittab and rc.conf? [editline]3rd May 2011[/editline] [QUOTE=Goz3rr;29588500]-snip-[/QUOTE] Sound like your hard drive bit the dust.
[QUOTE=Boris-B;29590471] Sound like your hard drive bit the dust.[/QUOTE] It seems so, i've reinstalled Debian and a minecraft server with only basic addons on a new harddrive, i'm now trying to get recent worlds back (I do have backups on a second server, and a second harddrive in the same server, but these only upload weekly.) with software called DiskInternals Linux Recovery 2.7, as this was the first result in google for ext3 file recovery (:v:). Anyone have suggestions for other software if this fails? The ext3 drive is mounted to a windows pc now, I installed ext3 drivers and these say that the drive isnt formatted when i try to open it, so there's surely something wrong with it. [editline]3rd May 2011[/editline] What is the easiest way to get SMART data from a hdd? The old drive was fairly old so that might be the problem.
[QUOTE=esalaka;29576361]Hey, anyone using tint2, is there a way to highlight a task on mouseover? It's the last thing missing from my new desktop stuff apart from getting some ssh-agent to work (Oh, please tell me how the heck I'm supposed to use something like gnome-keyring with LXDE) Changed to LXDE from GNOME after pacman -Syu tried to force me GNOME3. :frown:[/QUOTE] Just in case someone didn't notice this and could help. In addition, I'd like to mention MPD is awesome. It's awesome. And I need to figure out why the hell gnome-vfs is giving me Not Authorized all the time.
Sup bros. I'm installing arch, but when I try installing grub, I choose what boot device to use but when I do it says "Arch error installing grub. ( see /dev/tty7 for output )" What do I do? Install grub manually?
[QUOTE=C:\;29592795]Sup bros. I'm installing arch, but when I try installing grub, I choose what boot device to use but when I do it says "Arch error installing grub. ( see /dev/tty7 for output )" What do I do? Install grub manually?[/QUOTE] You see tty7 for output, and write the error message here?
Nevermind! I fixed it!
So here is a output from SMARTctl: [code] === START OF INFORMATION SECTION === Model Family: Maxtor DiamondMax Plus 8 family Device Model: Maxtor 6E040L0 Serial Number: E170XX8E Firmware Version: NAR61590 User Capacity: 41,110,142,976 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0 Local Time is: Tue May 3 20:55:50 2011 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (1021) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. No General Purpose Logging support. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 17) minutes. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 3 Spin_Up_Time 0x0027 222 221 063 Pre-fail Always - 9296 4 Start_Stop_Count 0x0032 253 253 000 Old_age Always - 1621 5 Reallocated_Sector_Ct 0x0033 253 253 063 Pre-fail Always - 0 6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail Offline - 0 7 Seek_Error_Rate 0x000a 253 252 000 Old_age Always - 0 8 Seek_Time_Performance 0x0027 250 243 187 Pre-fail Always - 47677 9 Power_On_Minutes 0x0032 215 215 000 Old_age Always - 91h+53m 10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail Always - 0 11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 249 249 000 Old_age Always - 1620 192 Power-Off_Retract_Count 0x0032 252 252 000 Old_age Always - 1609 193 Load_Cycle_Count 0x0032 251 251 000 Old_age Always - 8865 194 Temperature_Celsius 0x0032 253 253 000 Old_age Always - 50 195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age Always - 775 196 Reallocated_Event_Count 0x0008 253 253 000 Old_age Offline - 0 197 Current_Pending_Sector 0x0008 253 253 000 Old_age Offline - 0 198 Offline_Uncorrectable 0x0008 253 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0008 199 199 000 Old_age Offline - 0 200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age Always - 0 201 Soft_Read_Error_Rate 0x000a 253 252 000 Old_age Always - 7 202 Data_Address_Mark_Errs 0x000a 253 252 000 Old_age Always - 0 203 Run_Out_Cancel 0x000b 253 252 180 Pre-fail Always - 0 204 Soft_ECC_Correction 0x000a 253 252 000 Old_age Always - 0 205 Thermal_Asperity_Rate 0x000a 253 252 000 Old_age Always - 0 207 Spin_High_Current 0x002a 253 252 000 Old_age Always - 0 208 Spin_Buzz 0x002a 253 252 000 Old_age Always - 0 209 Offline_Seek_Performnce 0x0024 188 187 000 Old_age Offline - 0 99 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0 100 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0 101 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. [/code] Please take a look at the 'Vendor Specific SMART Attributes', they are all indicating pre-fail and old_age. Does this mean it's a bad idea to use this drive as a main drive, and running a minecraft (writes a lot, every 2 seconds) from it? :|
Hello, I have problems wen trying to install ubuntu 11. I had ubuntu 10.10 before this and it worked fine with no problems I am aware of, but when I wanted to upgrade to 11 there were too many errors and things conflicting to upgrade right ( I installed a bunch of useless stuff for no reason really). I decided there were not any valuable thing on my ubuntu drive so I wanted to just reinstall. However, when I tried to reinstall, it would work fine for a while and it was copying files when all of a sudden, my monitor shut off. My first thought was that it was just installing new graphic drivers or something, so I waited. About a half hour later, it was still like that. I shook the mouse, pressed all the keys on the keyboard, but it was just stuck like that. I tried installing again and the same thing happened. When I tried to do the thing where you can try it out, the same thing happened too ( the screen would just shut off after about 5 minutes.) I looked online and found some other people had similar problems, and I tried all of the boot parameters, the alternate text install, and since I have two ati cards crossfired, I even tried unplugging one but to no avail. I really don't know what to try now. Specs: AMD Phenom II X2 550 4.0GB Dual-Channel DDR2 @ 401MHz Gigabyte GA-MA790X-UD4P 2x ATI Radeon HD 5770
[QUOTE=Veers;29583027]Trying out Ubuntu on my desktop for the first time. I have installed 11.04 (x86) and I have one question in particular. I have an AMD HD 6870, and it installed the proprietary drivers for it, but the performance seems subpar. Switching workspaces and just general performance is pretty bad (hulu is fairly "stuttery"). I am running two monitors at 1920x1080, just to give a bit more information. If anyone has any suggestions I would be very appreciative.[/QUOTE] I would still like to see if anyone might have a suggestion to improve performance. Coming from Windows this isn't the best starting experience with a linux OS.
[QUOTE=ASmellyOgre;29577557][url=http://crunchbanglinux.org/]Crunchbang[/url]. It's just Openbox and a few programs to make it functional in Debian with some really nice custom configurations. I love it.[/QUOTE] Yeah, one thing: Was it just me or are the repos incredibly outdated? For example, I apt-got a version of feh that was so old it didn't even have the bg-fill options, so my rotating wallpapers script couldn't run :frown: Is it that the repos file is just an old version of Ubuntu? How would I go about fixing this?
[QUOTE=Goz3rr;29595330]So here is a output from SMARTctl: --snip-- Please take a look at the 'Vendor Specific SMART Attributes', they are all indicating pre-fail and old_age. Does this mean it's a bad idea to use this drive as a main drive, and running a minecraft (writes a lot, every 2 seconds) from it? :|[/QUOTE] That column is just telling you what could cause that value to change, not that's it's actually old or about to fail. You need to look at the RAW_VALUE and THRESH(threshold) values. ID# 5: Reallocated_Sector_Ct is the main one to look at. Right now the raw value is 0, meaning there are 0 bad sectors.
[QUOTE=Eudoxia;29604238]Yeah, one thing: Was it just me or are the repos incredibly outdated? For example, I apt-got a version of feh that was so old it didn't even have the bg-fill options, so my rotating wallpapers script couldn't run :frown: Is it that the repos file is just an old version of Ubuntu? How would I go about fixing this?[/QUOTE] I'm pretty sure the natty repos have a newer version, but I might be wrong. But.. You could just download the 'feh' sources and compile/install everything yourself?
Help, my cronjob isn't running. This is my file, that i'm editing with crontab -e [code] # Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command 0 8,12,16,18,22 * * * /root/minecraft-server/backup.sh 2>&1 >> /var/log/mc_backup_output.log [/code] backup.sh [code] #!/bin/bash screen -x mc -X stuff "say Creating daily backup of world..."`echo -ne '\015'` echo "Compressing world to tarball..." savename=$(date +%H-%M_%d-%m-%Y) echo "Saving as " $savename".tar" tar -cf $savename.tar /root/minecraft-server/world mv $savename.tar /backup/$savename.tar echo "Finished compressing world." screen -x mc -X stuff "say Daily backup completed!"`echo -ne '\015'` echo "Removing files older than 28 days..." find /backup -mtime +28 -type f -exec rm -rf {} \; echo "Done removing old backups!" [/code] backup.sh is 'chmod +x backup.sh', running root/minecraft-server/backup.sh from command like runs the script fine, backup is created. The file /var/log/mc_backup_output.log isn't created. crontab -l shows that my cronjob is succesfully added, /etc/init.d/cron restart doesn't help.
[QUOTE=T3hGamerDK;29607764]I'm pretty sure the natty repos have a newer version, but I might be wrong. But.. You could just download the 'feh' sources and compile/install everything yourself?[/QUOTE] Yeah, but I'm a lazy bum and sometimes the official/author sites are down. I'd rather just have an apt-get utility that gets the job done. tl;dr how do I update repos in Crunchbang?
[QUOTE=Boris-B;29498263]Now this is odd. You don't have iwconfig. That might cause your problem. You'll need to install the wireless_tools package. That should provide you with iwconfig. It seems like I was somewhat wrong with the firmware thing. Good news for you, your chip is actually supported by the broadcom-wl driver. The arch wiki has a good set of instructions to install the thing. [url]https://wiki.archlinux.org/index.php/Broadcom_wireless#broadcom-wl[/url] One thing, I would suggest you to take the driver from AUR. It's the least painful way to install it. (they provide a link) If you don't know how to install something from AUR just ask.[/QUOTE] I tried all this just now, didn't work.
Ello guys. My wireless isn't working on arch. It works on Ethernet though. Any advice? My wireless card is RTL8192SE and I am using a toshiba satellite l670-1dr. I have installed the drivers. ifconfig shows that I have eth0 and lo. Any help?
Looking for a persistent portable distro that can be used comfortably on a 1gb flash drive. I'm trying to find one that has a package manager that makes sense. I tried slax and slitaz but their package managers confused the fuck out of me. Also EmelFM2 sucks dick.
[QUOTE=Veers;29583512]I have tried it on my laptop which has a nvidia 360m, it runs very well on it. Could it be chocked up to inadequate drivers from AMD?[/QUOTE] the latest ubuntu worked fine with my 4650.
[QUOTE=n0cturni;29617503]Looking for a persistent portable distro that can be used comfortably on a 1gb flash drive. I'm trying to find one that has a package manager that makes sense. I tried slax and slitaz but their package managers confused the fuck out of me. Also EmelFM2 sucks dick.[/QUOTE] you can probably fit an arch install on a 1gb flash drive given that you don't use a full de and just a wm like openbox, pacman is extremely easy to use [editline]5th May 2011[/editline] puppy linux would work too if you can compile stuff (puppy doesn't have many packages compiled so you'd need to compile them from source) [editline]5th May 2011[/editline] tiny core linux could work also though the package manager is a little strange but it's usable
Hey guys here's a good tip for awesome: put this in your clientbuttons of rc.lua to be able to close the windows (TERM, not KILL) under your pointer with modkey+middle mouse: [lua]awful.button({ modkey }, 2, function (c) local Client = awful.mouse.client_under_pointer() if not Client then return end Client:kill() end)[/lua]
[QUOTE=FPtje;29628165]Hey guys here's a good tip for awesome: put this in your clientkeys of rc.lua to be able to close the windows under your pointer with modkey+middle mouse: [lua]awful.button({ modkey }, 2, function (c) local Client = awful.mouse.client_under_pointer() if not Client then return end Client:kill() end)[/lua][/QUOTE] Does the Client:kill() function KILL of TERM the client? I wouldn't want to just END PROCESS on whatever I'm working on.
TERM, it doesn't just kill the process. Like when you're performing it on a busy terminal, you still get the question "do you really want to close it?". I always mix up TERM and KILL ><
Just acquired my sisters previous laptop (a Dell of about 3 years, Core 2 Duo and other mediocre specs if you're interested) and I'm planning to put Linux on it. I thought I'd ask here before just slapping Ubuntu on it, but what would be the best distro to pick? I'll mainly be using it for word processing (college time for me soon and It'll be useful), a bit of web development and maybe for playing low-end games that'll run on wine (World of Warcraft?) on the go. Like I said, go with Ubuntu or should I get a little bit more adventurous and pick up something else?
[QUOTE=Goz3rr;29612497]--[/QUOTE] Mind if I make a fool out of myself, but do you have +w?
[QUOTE=zerosix;29634313]Just acquired my sisters previous laptop (a Dell of about 3 years, Core 2 Duo and other mediocre specs if you're interested) and I'm planning to put Linux on it. I thought I'd ask here before just slapping Ubuntu on it, but what would be the best distro to pick? I'll mainly be using it for word processing (college time for me soon and It'll be useful), a bit of web development and maybe for playing low-end games that'll run on wine (World of Warcraft?) on the go. Like I said, go with Ubuntu or should I get a little bit more adventurous and pick up something else?[/QUOTE] I'd say just start out with the newest version of Ubuntu. If you ever feel the need to try something else out, you can just do it. Just make sure to put /home on a seperate partition.
[QUOTE=zerosix;29634313]Just acquired my sisters previous laptop (a Dell of about 3 years, Core 2 Duo and other mediocre specs if you're interested) and I'm planning to put Linux on it. I thought I'd ask here before just slapping Ubuntu on it, but what would be the best distro to pick? I'll mainly be using it for word processing (college time for me soon and It'll be useful), a bit of web development and maybe for playing low-end games that'll run on wine (World of Warcraft?) on the go. Like I said, go with Ubuntu or should I get a little bit more adventurous and pick up something else?[/QUOTE] Ubuntu will work just fine.
[QUOTE=HubmaN;29634314]Mind if I make a fool out of myself, but do you have +w?[/QUOTE] No idea what +w is. Anyway, i edit the /etc/crontab file instead of crontab -e and now it runs fine.
Formatting my 11.04 and putting backtrack 4 r2 on it. Always wanted to put some time into learning more about backtrack.
New distro release: [quote]Sabily 11.04, an Ubuntu-based distribution with a collection of Islamic software and an integrated web content filtering tool, has been released...[/quote] :v: Sure like some voluntary web filters!
[QUOTE=FPtje;29648188]New distro release: :v: Sure like some voluntary web filters![/QUOTE] I have a web filter on my computer it blocks ads
Sorry, you need to Log In to post a reply to this thread.