Re: [PLUG] nVidia config issue
On 1/10/19 12:54 AM, Tomas K wrote (on the subject of debugging CGI scripts): .cgi execution is one of those areas without log coverage. That makes me wonder if there is log coverage for launching the nVidia driver. I didn't see anything obvious in /var/log. Is there somewhere that will show what files the driver is getting the configuration settings from? Maybe that would point to where the driver is getting the information about how to display on each monitor. Is there someplace where I can read about what each of the lines in the xorg.conf file does? When I look at mine, both on Slackware and Ubuntu, I don't see anything about the second monitor. Is there some other file with details about how to display both monitors? While noodling around on a different issue I notice that I have a file ~/.nvidia-settings-rc which does have information about each monitor, but not which one displays where. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] nVidia config issue
On 1/9/19 8:10 PM, Daniel Johnson wrote: The username@host path$ stuff is controlled by the environment variable PS1 Probably means a bash config file for your home directory got deleted or at least PS1 is blank. See this partial guide to bash config files. Not deleted. Just never created. Having none is the default for Slackware. http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html Thanks. I'll give it a study. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] nVidia config issue
The username@host path$ stuff is controlled by the environment variable PS1 Probably means a bash config file for your home directory got deleted or at least PS1 is blank. See this partial guide to bash config files. http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html On Tue, Jan 8, 2019, 9:45 PM Dick Steffens On 1/8/19 9:17 PM, Ben Koenig wrote: > > Ah ok, so you got the driver going. Technically it is working the its > > supposed to ;) > > > > The config file lives in /etc/X11/xorg.conf. Only root has access to this > > folder so when you try to "save" the config, it actually just saves a > > temporary copy. I think it puts it in your home directory somewhere. You > > are supposed to copy it as root to /etc/X11/xorg.conf > > I've been running nvidia-settings as root and saving directly to > /etc/X11. Just now I tried it as you suggested and saved xorg.conf to my > home directory. I then started a terminal, logged in as root, cd'd to > /etc/X11, renamed xorg.conf to back it up, and then copied > /home/rsteff/xorg.conf to /etc/X11. Then I logged out of root, logged > out of the current X session, and logged back in. Same result. Next I > tried a restart. Same result. > > BTW, when I start a terminal I expect to see a prompt that looks like: > > rsteff@ENU-2:~$ > > But what I see is: > > bash-4.3$ > > Is that normal? > > When I log in via ssh I do get: > > rsteff@ENU-2:~$ > > > > > > > That said, I have no idea if it will work. creating a manual xorg.conf is > > not really the official way to do this anymore. Modern X servers use > > template configs to generate a complete xorg.conf on the fly. The > > SlackBuild you installed actually includes a mini version of this config > to > > get X to "see" the driver. > > > > You can create an entirely new xorg.conf and do it the old school way if > > you still want, but if you don't get all the different sections in there > it > > can be pretty wonky. > > > > Try to copy the file to /etc/X11/ as root and restart X. If you have an > old > > xorg.conf file that you know works from Ubuntu it might do exactly what > you > > want. Unfortunately Ed is the expert on doing this since he has the big > > Nvidia multi-monitor setup, I never touch xorg.conf manually these days. > > I tried that just now, changing the GeForce 210 to GeForce GT 610. Same > result as all the other times. > > I must be missing something. > > -- > Regards, > > Dick Steffens > > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] nVidia config issue
On 1/9/19 7:23 AM, Ben Koenig wrote: I did not say you should create the settings file in your home directory. Nor did I suggest or advise it in any way. If I'm just going to copy it to /etc/X11, what difference does it make? The save option (this morning, anyway) defaults to /etc/X11. It provides a Browse button, and lets you put it wherever you want to. This morning I put it on my Desktop. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] nVidia config issue
I did not say you should create the settings file in your home directory. Nor did I suggest or advise it in any way. On Tue, Jan 8, 2019, 9:45 PM Dick Steffens On 1/8/19 9:17 PM, Ben Koenig wrote: > > Ah ok, so you got the driver going. Technically it is working the its > > supposed to ;) > > > > The config file lives in /etc/X11/xorg.conf. Only root has access to this > > folder so when you try to "save" the config, it actually just saves a > > temporary copy. I think it puts it in your home directory somewhere. You > > are supposed to copy it as root to /etc/X11/xorg.conf > > I've been running nvidia-settings as root and saving directly to > /etc/X11. Just now I tried it as you suggested and saved xorg.conf to my > home directory. I then started a terminal, logged in as root, cd'd to > /etc/X11, renamed xorg.conf to back it up, and then copied > /home/rsteff/xorg.conf to /etc/X11. Then I logged out of root, logged > out of the current X session, and logged back in. Same result. Next I > tried a restart. Same result. > > BTW, when I start a terminal I expect to see a prompt that looks like: > > rsteff@ENU-2:~$ > > But what I see is: > > bash-4.3$ > > Is that normal? > > When I log in via ssh I do get: > > rsteff@ENU-2:~$ > > > > > > > That said, I have no idea if it will work. creating a manual xorg.conf is > > not really the official way to do this anymore. Modern X servers use > > template configs to generate a complete xorg.conf on the fly. The > > SlackBuild you installed actually includes a mini version of this config > to > > get X to "see" the driver. > > > > You can create an entirely new xorg.conf and do it the old school way if > > you still want, but if you don't get all the different sections in there > it > > can be pretty wonky. > > > > Try to copy the file to /etc/X11/ as root and restart X. If you have an > old > > xorg.conf file that you know works from Ubuntu it might do exactly what > you > > want. Unfortunately Ed is the expert on doing this since he has the big > > Nvidia multi-monitor setup, I never touch xorg.conf manually these days. > > I tried that just now, changing the GeForce 210 to GeForce GT 610. Same > result as all the other times. > > I must be missing something. > > -- > Regards, > > Dick Steffens > > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] nVidia config issue
On 1/8/19 9:17 PM, Ben Koenig wrote: Ah ok, so you got the driver going. Technically it is working the its supposed to ;) The config file lives in /etc/X11/xorg.conf. Only root has access to this folder so when you try to "save" the config, it actually just saves a temporary copy. I think it puts it in your home directory somewhere. You are supposed to copy it as root to /etc/X11/xorg.conf I've been running nvidia-settings as root and saving directly to /etc/X11. Just now I tried it as you suggested and saved xorg.conf to my home directory. I then started a terminal, logged in as root, cd'd to /etc/X11, renamed xorg.conf to back it up, and then copied /home/rsteff/xorg.conf to /etc/X11. Then I logged out of root, logged out of the current X session, and logged back in. Same result. Next I tried a restart. Same result. BTW, when I start a terminal I expect to see a prompt that looks like: rsteff@ENU-2:~$ But what I see is: bash-4.3$ Is that normal? When I log in via ssh I do get: rsteff@ENU-2:~$ That said, I have no idea if it will work. creating a manual xorg.conf is not really the official way to do this anymore. Modern X servers use template configs to generate a complete xorg.conf on the fly. The SlackBuild you installed actually includes a mini version of this config to get X to "see" the driver. You can create an entirely new xorg.conf and do it the old school way if you still want, but if you don't get all the different sections in there it can be pretty wonky. Try to copy the file to /etc/X11/ as root and restart X. If you have an old xorg.conf file that you know works from Ubuntu it might do exactly what you want. Unfortunately Ed is the expert on doing this since he has the big Nvidia multi-monitor setup, I never touch xorg.conf manually these days. I tried that just now, changing the GeForce 210 to GeForce GT 610. Same result as all the other times. I must be missing something. -- Regards, Dick Steffens ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
Re: [PLUG] nVidia config issue
Ah ok, so you got the driver going. Technically it is working the its supposed to ;) The config file lives in /etc/X11/xorg.conf. Only root has access to this folder so when you try to "save" the config, it actually just saves a temporary copy. I think it puts it in your home directory somewhere. You are supposed to copy it as root to /etc/X11/xorg.conf That said, I have no idea if it will work. creating a manual xorg.conf is not really the official way to do this anymore. Modern X servers use template configs to generate a complete xorg.conf on the fly. The SlackBuild you installed actually includes a mini version of this config to get X to "see" the driver. You can create an entirely new xorg.conf and do it the old school way if you still want, but if you don't get all the different sections in there it can be pretty wonky. Try to copy the file to /etc/X11/ as root and restart X. If you have an old xorg.conf file that you know works from Ubuntu it might do exactly what you want. Unfortunately Ed is the expert on doing this since he has the big Nvidia multi-monitor setup, I never touch xorg.conf manually these days. On Tue, Jan 8, 2019 at 9:02 PM Dick Steffens wrote: > On 1/8/19 8:22 PM, Ben Koenig wrote: > > <...> > > > > I'm trying to figure out what's broken here and I just can't see it. > > > > The subject of this thread was something about problems logging in. > > > > Turned out to be an issue with having the wrong nvidia driver installed. > > > > And now you say that X launches the nvidia-settings program runs as > > expected. > > > > Looks to me like everything is working the way it's supposed > > Except that the X configuration does not survive log out or restart. > > I can change the X configuration to put the screens where I want them, > but when I restart the changes are gone. I've used the button on the > nVidia window to save the settings to /etc/X11/xorg.conf. But they don't > stick. As I read xorg.conf, I couldn't see where those changes are. Is > there someplace else that holds the information about which screen is > which, and how they're displayed? > > -- > Regards, > > Dick Steffens > > ___ > PLUG mailing list > PLUG@pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug > ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug
[PLUG] nVidia config issue
On 1/8/19 8:22 PM, Ben Koenig wrote: <...> I'm trying to figure out what's broken here and I just can't see it. The subject of this thread was something about problems logging in. Turned out to be an issue with having the wrong nvidia driver installed. And now you say that X launches the nvidia-settings program runs as expected. Looks to me like everything is working the way it's supposed Except that the X configuration does not survive log out or restart. I can change the X configuration to put the screens where I want them, but when I restart the changes are gone. I've used the button on the nVidia window to save the settings to /etc/X11/xorg.conf. But they don't stick. As I read xorg.conf, I couldn't see where those changes are. Is there someplace else that holds the information about which screen is which, and how they're displayed? -- Regards, Dick Steffens ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug