LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   getting xgl to work..saveing displaymanger file (https://www.linuxquestions.org/questions/linux-newbie-8/getting-xgl-to-work-saveing-displaymanger-file-455691/)

forever200 06-17-2006 12:32 PM

getting xgl to work..saveing displaymanger file
 
I just installed suse 10.1 like a week ago.. first time linux user here... I still yet to get my xgl to work mainly because I am a newbie and when I go into the terminal I have to edit /etc/sysconfig/displaymanager and change one of the lines to make xgl work but for the life of me I can't figure out how to save my changes.. I always get dulplicate instances and asks me to recover it and when I recover it I get the orginal file back without my saved changes.. I have searced google and can't find a way to save it.. any help would be great.. also if I ever do figure out how to save the file how do I exit out of the edit without exiting out of the terminal so I can run another command.

bigjohn 06-17-2006 03:39 PM

Quote:

Originally Posted by forever200
I just installed suse 10.1 like a week ago.. first time linux user here... I still yet to get my xgl to work mainly because I am a newbie and when I go into the terminal I have to edit /etc/sysconfig/displaymanager and change one of the lines to make xgl work but for the life of me I can't figure out how to save my changes.. I always get dulplicate instances and asks me to recover it and when I recover it I get the orginal file back without my saved changes.. I have searced google and can't find a way to save it.. any help would be great.. also if I ever do figure out how to save the file how do I exit out of the edit without exiting out of the terminal so I can run another command.

Having recently tried SuSE 10.1 (and since moved to the latest (K)Ubuntu) the xgl/compiz thing is bloody clever, but I found that it screwed up video playing apps.

Anyway, I'm presuming that you will have vi/vim installed. So as root (first issue the su command and put in the root password)
Code:

vi /etc/sysconfig/displaymanager
when the file opens, you will have to use the arrow keys to navigate.

then, to actually make a change, hit the Insert key (and you should see something like --[INSERT]-- in the bottom left corner of the screen). then you can move the cursor to where you want to make the change, make the change and then hit the Esc key.

then to save and quit type :wq (thats colon and letters wq) and enter (have a google for vi commands it's very helpful to know a few of the basics, because if you screw your desktop or something similar, knowing a bit about vi can help you sort out system problems if the xserver isn't working and you can't "see" what you're going graphically).

Of course if you are nervous of using a text editor like vi (or the other "biggie" is emacs) you should have an option in the menu somewhere to "Open file manager as SuperUser (Root), which you can select, then input the root password when required and just surf to the file and it should open in something like kedit or maybe kate.

regards

John

p.s. and yes I disabled the Xgl/compiz facilities as it was more important to me to have proper video access.


All times are GMT -5. The time now is 01:41 AM.