LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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, 08:09 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,145
Blog Entries: 6

Rep: Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832
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, 02: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, 08:25 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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



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 07:27 PM
Synaptic crash trying to download adobe flash player Eddy Stone Linux - Newbie 22 11-08-2009 06:27 PM
Browser crash-seems flash player related-Facebook Scrabble coro35 Linux - Newbie 4 07-05-2009 07:15 AM
Flash Player plugin in Mandriva causes Firefox to crash. sydfrog Linux - Software 1 12-10-2006 11:23 PM
Restart apache on crash brentos Linux - Software 8 06-07-2004 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:40 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
Open Source Consulting | Domain Registration