pjbgravely
June 14th, 2006, 03:07 PM
I have read many howtos on hot to setup special xorg.conf's. They all have different ways to edit and test the file. Some go as far as having you kill gdm and doing everything in a raw console. I found an easy way to edit and test in a howto ( can't remember where) and thought I would share it.
First back up you xorg.conf using command line or GUI. When you are ready to test your new one simply:
Ctrl / Alt / F2 ( push all three at the same time.)
Login, and then type:
xinit -- :2
If everything is right you should see a Grey desktop, and X for the mouse cursor and a term window. You can test glxinfo in the term if direct rendering is what you are working on. Then hit Ctrl / Alt / Backspace to kill the Xwindow.
If all you get are errors don't worry.
Either way, to get back to your running desktop hit: Ctrl / Alt / F7
If you didn't kill the Grey Xwindow you will find it again by hitting Ctrl / Alt / F8
Now you can check the log to see what happened under /var/log/Xorg.2.log.
Doing it this way lets you test without losing your present desktop, which is a great help if you are searching the web for a solution and need to test every trick you find. This also works for dual screen testing.
Paul
First back up you xorg.conf using command line or GUI. When you are ready to test your new one simply:
Ctrl / Alt / F2 ( push all three at the same time.)
Login, and then type:
xinit -- :2
If everything is right you should see a Grey desktop, and X for the mouse cursor and a term window. You can test glxinfo in the term if direct rendering is what you are working on. Then hit Ctrl / Alt / Backspace to kill the Xwindow.
If all you get are errors don't worry.
Either way, to get back to your running desktop hit: Ctrl / Alt / F7
If you didn't kill the Grey Xwindow you will find it again by hitting Ctrl / Alt / F8
Now you can check the log to see what happened under /var/log/Xorg.2.log.
Doing it this way lets you test without losing your present desktop, which is a great help if you are searching the web for a solution and need to test every trick you find. This also works for dual screen testing.
Paul