unable to control a servo with Arduino

I'd use a separate supply for the servo, the USB supply isn't suitable for motors.