After installed CUDA 10.0 mouse and keyboard not working

I have installed Ubuntu 18.04.3. Then I have installed CUDA 10.0… After the installation is completed i reboot the system. After I logged in mouse and keyboard is not working