[Ilugc] How to restart X whilst being inside X

2010-01-28 Thread Saravanan S
Hi all,
 How to kill X System and start X again whilst being inside X.

Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to restart X whilst being inside X

2010-01-28 Thread Saravanan S
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
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to restart X whilst being inside X

2010-01-28 Thread Abishek Goda

 How to make my script run above X ie. no way related to X as a child
 process.
wouldn't nohup do this?

Abishek
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] How to restart X whilst being inside X

2010-01-28 Thread Saravanan S
Hi Abishek,

On Thu, Jan 28, 2010 at 7:11 PM, Abishek Goda  wrote:

 
  How to make my script run above X ie. no way related to X as a child
  process.
 wouldn't nohup do this?


yep, came across the same just now.
Will check and let you know :)

Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc