You are not logged in.
Pages: 1
A friend of mine hibernated his PC. After waking it up, the virtual terminals were gone with X running fine. Is there a command to restart them without rebooting?
Last edited by tkdfighter (2009-08-10 20:14:54)
Offline
From inittab:
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
The agetty commands is what you need probably.
Offline
Offline
...with X running fine.
and ctrl+alt+backspace for X.
Probably not helpful to the OP.
If I'm not mistaken, then `init q` command will force init to re-read /etc/inittab and do anything it needs to to get back to the state that inittab specifies (ie, restart the getty's)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Sorry for the late update, it's exam season . Anyways, "/sbin/agetty -8 38400 vc/1 linux" solved the problem, thanks!
Offline
Pages: 1