On Wed, Jul 14, 2004 at 06:32:12PM +0530, H S Rai wrote: > I work on exported graphics display using "X -query". A number of > times network fails (due to frequent power cuts), and `Graphics > Display' gets dimmed and that don't permit me to do any action. I > cannot use `ctrl+alt + F1' to come to virtual console. I can only do > `ctrl+alt+del' to reboot system. To avoid rebooting in this way, I > want an action equivalent to `ctrl+alt + F1' on `ctrl+alt+del'. How I > can achieve this? >
exit /etc/inittab replace the line ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now with ca:12345:ctrlaltdel:/usr/bin/chvt 1 replace /usr/bin/chvt with the correct path of chvt the 1 stands for `ctrl+alt + F1' for `ctrl+alt + F2' make it 2 save the file and issue the command `init q'. for more information 'man chvt' and 'man inittab' with regards M.Balakrishna Pillai ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
