Support > Ubuntu
Screen Hysteria after Suspend
mako6:
Acer 5003WMLi 1.6 Ghz AMD 64 Turion 32 1gb RAM, Ubuntu 10.4.1 AMD 64 32-40
After returning from suspend (sleep), my screen goes crazy, flashing and scrolling fragments wildly.
It has done this a while- I edited siomething in the etc. folder that fixed it for a while but it's back, and I HATE IT.
I can just barely see it well enough to do a shutoff- sometimes just have to do a hard shutoff. I love suspend and hate having to
load everything again.
Can someone suggest a good firewall for Ubuntu, and an AV that really works in Ubuntu (made for it) for my Windows partition (kill the germs while they sleep). Had some older version
of AVG installed but it was maxing out Backend at 100%.
Mark Greaves (PCNetSpec):
If by "hard shutoff" you mean holding the power button .. NEVER do this unless 100% necessary, it could cause file system corruption.
Remember this - REISUB
Easy way to remember is "Reboot Even If System Utterly B*llocksed"
To do this, hold Alt+SysRq and whilst holding them type r-e-i-s-u-b leaving a few seconds between each key stroke .. the system will reboot.
(on some laptops, it may need to be AltGr+SysRq)
REISUO .. on the other hand will turn the system OFF
Thanks to kirrus, here's an explanation of what's going on when you do that
R = Take control of the keyboard
E = tell all running programs except from the master control system to terminate
I = forceably kills any programs which didn't shut down from the last command
S = force any unwritten, cached data to be written to the hard-drives. Some files, when they're written to your hard-drive are cached in RAM, which is wiped when it looses power, in order to speed things up. This command makes sure they're all written to the drive OK.
U = remount the drives read-only, makes sure nothing can write to your hard-drive(s)
B = restart the system
or
O = turn system off
It would be handy to know what you did in etc .. any ideas ?
[EDIT]
--- Quote ---Can someone suggest a good firewall for Ubuntu, and an AV that really works in Ubuntu (made for it) for my Windows partition (kill the germs while they sleep). Had some older version
of AVG installed but it was maxing out Backend at 100%.
--- End quote ---
If you are behind a NAT router (and you should be), you don't need a firewall .. and why do you want AV for Linux (unless of course the Linux box serves Windows clients) ?
As far as I can remember Ubuntu comes with ufw/gufw (firewall and GUI front end) installed by default .. but you don't need it as long as you're behind a NAT router.
If this is a Linux Desktop PC and doesn't act as something like an email server to Windows clients, and you are behind a NAT router .. you DON'T need a firewall or AV .. and don't let anyone tell you differently .. Linux is not Windows :)
mako6:
I know that the hard shutoff is very bad- didn't know that in Ubuntu also. Thanks for REISUB trick, is that good for all computers, all OS's?? Always wanted something like that- that works how much f the time?
I'm currently using open neighbor's WIFI, since haven't installed it yet, so I presume there is nothing I can do to keep them from readidng everything or stealing all passwords... but I'd like to stop
them infecting computer completely. Already the XP is compromised- getting a changed executable warning on almost everything w a decent Firewall. So I want extra protection against intrusion.
I want the AV to scan the XP partition from the Ubuntu on a dual boot system mostly, or occasionally to clean suspect or infected files in Ubuntu (that of course won't bother Linux) before they get copied to the Windows.
Hell, I can't find it- what file controls sleep? I found it in help somewhere, with the instructions to add 2-3 lines to a file, but couldn't again. It worked for a few months, then maybe kernel update invalidated it.
Mark Greaves (PCNetSpec):
--- Quote ---I know that the hard shutoff is very bad- didn't know that in Ubuntu also. Thanks for REISUB trick, is that good for all computers, all OS's?? Always wanted something like that- that works how much f the time?
--- End quote ---
Nope, it applies to *nix OS's including Linux but NOT Windows .. and it will work every time except in a kernel panic situation.
If you really want a firewall with GUI .. install gufw:
--- Code: ---
sudo apt-get install gufw
--- End code ---
And for an AV application .. chack out clamtk:
--- Code: ---
sudo apt-get install clamtk
--- End code ---
OK, if I'm going to have to guess what you did in /etc
Can you send the contents of /etc/default/grub
--- Code: ---
gedit /etc/default/grub
--- End code ---
and /etc/modules
--- Code: ---
gedit /etc/modules
--- End code ---
Can you also send the output from:
--- Code: ---
sudo lshw -C display
--- End code ---
If you suspect a kernel update, have you tried holding shift as you turn on your PC, then when presented with the GRUB menu selcting/booting an older kernel and seeing if suspend works ?
[EDIT]
If you check out the pm-suspend man page:
--- Code: ---
man pm-suspend
--- End code ---
Do any of the quirks listed ring any bells ?
BkS:
I'm slightly confused at why he wants an AV for Linux? :o
Is the Windows partition infected?
Personally, if I were to use my neighbors' internet, I'd bloody make sure my user folder was encrypted before doing anything. I'd also make sure on your Windows partition that you installed Avira & Malwarebytes, to keep out the nasties.
I personally think the issue with when you press sleep is to do with your ACPI settings.
Navigation
[0] Message Index
[#] Next page
Go to full version