Configure X window in command line