[Ilugc] How to restart X whilst being inside X

  • From: dearsaravanan@xxxxxxxxx (Saravanan S)
  • Date: Thu Jan 28 19:05:00 2010

On Thu, Jan 28, 2010 at 6:39 PM, Abishek Goda wrote:


        How to kill X System and start X again whilst being inside X.
Assuming you are ok with losing that active session and logging in
again, you could try ctrl+alt+bksp. Or restart the login manager as
super user. /etc/init.d/gdm restart in many cases.


Oh well i knew that(i must have elaborated before), anyways thanks Abishek.

I write a script to kill the existing X and start it again with some
different parameter, the problem is that if i run that script from X, it
will kill X first and once this happens, the child(my script) also gets
killed and thus X fails to start again.
How to i solve this issue?

How to make my script run above X ie. no way related to X as a child
process.


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545

Other related posts: