CUDA 10 loop login on ubuntu 14.04

I installed CUDA10 on my pc for 1080Ti GPU.
After install it can’t login. when I input password, it stuck there!

For other version of drivers I know to use --no-opengl-files to solve this.

But now the driver is auto installed by cuda, and I don’t know how to add this option.

Help !

Use the runfile installer for CUDA. Then you will be able to use that flag.