LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2012, 04:30 PM   #1
hkunz
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
Can't restart X after Flash Player Crash


Hi. I have the problem described in this thread: http://forums.adobe.com/thread/1055012 The problem is that neither "sudo gdm service restart" nor "shutdown 0" will work after the flash player crashes sequentially crashing X Window Manager. I have no choice but to long press the power button of my laptop to force turn it off. This will definitely destroy my hard disk in the future :-( Is there no other way to force restart X? The symptoms are weird. I have 2 monitors, after flash player crashes, sometimes X will partially survive and one of my monitors will turn blank and the other is still functional, which then i try to run "sudo gdm service restart". X attempts to restart but never comes back up rendering my computer useless. THen i try logging in remotely and then doing "shutdown 0", it informs me it's shutting down and i lose connection to the computer. But my computer is still running, it never turns off. i can't do anything to turn it off or restart. this problem is really killing my productivity, in my company i'm the only flash developer working on linux :-(
 
Old 08-24-2012, 09:09 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,841

Rep: Reputation: 225Reputation: 225Reputation: 225
Ctrl Alt F2
Will put you into another shell where you can log in and kill X.

Example
Code:
ps ax | grep X
  499 tty7     S<s+  17:37 X :0
Code:
kill 499
or
Code:
pkill X
Ctrl Alt Backspace
May kill X too

http://linux.die.net/man/2/kill
http://linux.die.net/man/1/pkill
 
Old 08-28-2012, 03:11 AM   #3
hkunz
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
hi teckk.

thanks for your response but killing won't do the job. After killing X remotely we lose complete control of the machine and have no other way but to long press the power button to restart. we found out yesterday with dmesg that it was some sort of problem in the nvidia driver that it starts to go berserk. the only workaround we found was to disable hardware acceleration of the flash player.
 
Old 08-28-2012, 09:25 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,305

Rep: Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720Reputation: 1720
If you can get in remotely to issue a shutdown then have you tried reboot instead? I've had problems where shutdown doesn't fully shut the PC down but reboot will work.
I know it's not a solution, but it should stop you having to power off while you wait for one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
flash games crash adobe player dracolich Linux - General 4 03-31-2012 08:27 PM
Synaptic crash trying to download adobe flash player Eddy Stone Linux - Newbie 22 11-08-2009 07:27 PM
Browser crash-seems flash player related-Facebook Scrabble coro35 Linux - Newbie 4 07-05-2009 08:15 AM
Flash Player plugin in Mandriva causes Firefox to crash. sydfrog Linux - Software 1 12-11-2006 12:23 AM
Restart apache on crash brentos Linux - Software 8 06-07-2004 03:41 PM


All times are GMT -5. The time now is 04:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration