How do i make the res stretched

Yes. Run that command when using the 1024x768 resolution.
If we are lucky... that is all that will be needed and your screen will be filled with no black bars on the side.
If not - we may need to change some configuration files.