I have problems where compiz freezes and I have to switch to another console(ctrl+alt+F1) to restart. But it would be easier if I could just do "$ compiz --replace" in the other console and not have to lose work or anything.
But when I do this it says it can't open the display, makes sense because the display is open in console 7. Is there any way I can easily redirect a command to another console for it to be run there?
Like for instance, be in console 1 and execute "$ compiz --replace" on console 7?