I’m running Red Hat 8.7 with gnome display manager.
I’m using nVidia driver ver 515.86.01 and Cuda ver 11.7.
When I log in to the machine, my default DISPLAY is setto :1 not :0 (unless I log in as root).
If I just install Red Hat with the default video drivers, the DISPLAY is :0. Once O install the nVidia driver, I get :1.
Has anyone else seen this? Any ideas on how to fix it?
TIA
Hi there @scott133 and welcome to the NVIDIA developer forums.
What are the side-effects of this for you? No output or similar?
I might suggest to move this post to our Linux - NVIDIA Developer Forums, but for starters you should attach the nvidia-bug-report.log
here after reading this post.
Thanks!
I do get the gnome desktop, as expected. The machine itself doesn’t have any problems with the DISPLAY set to :1. But, our custom software, and users .profile, etc. expect the DISPLAY to be :0, so that is what breaks us.
As far as the bug-report log: I am on a closed system and cannot attach it. If there is something in particular that you are looking for in the log, I can re-type it.
Here’s what I do know:
gdm starts as root and gets :0. If I log in to the console as root, I get DISPLAY :0.
If I log in as another user, (Xinit?) looks for the next available display number – it sees that ROOT is taking :0, so jumps to :1. On Red Hat 7.9, the system correctly recognized that :0 wasn’t really in use and assigned :0.
I don’t think I can help with that any further, so I move this to the general Linux section for assistance.
I am not certain how the default DISPLAY is set up, somehow I doubt that the NVIDIA driver is responsible here, but i defer to the experts.
1 Like
I installed Red Hat with the default driver and got a DISPLAY of :0. Installed the nVidia (the only change ) and got DISPLAY of :1.
Definitely strange.