HELP!! '/etc/x11/' disappeared!! No GUI!!
I'm new to Linux and I was trying to set up my nVidia 5900 with TwinView on SuSE 9.2. I logged in as root, made a backup of '/etc/x11/XF86Config', and then proceded to edit the current one. Hit Ctrl+Alt+BkSp and then BANG! console login. I know only enough about the Linux console to look around and maybe copy some stuff. So, I logged into the console as root, and tried 'cd /etc/x11'...no go. Then I tried 'cd /etc' then 'ls' to see what was there...no 'x11' directory at all!! What happen? [Someone set up me the bomb? ;-)]
Any ideas? Will I have to do a reinstall of SuSE to restore the GUI? |
try running yast from the command line.
eg (as normal user): Code:
su -c yast once XFree86 is installed, type: Code:
init 3 && sax2 Once done, type: Code:
init 5 If it didn't restart, go back to your normal user (su your_username_here) and type startx. goodluck, xservers are a pain. edit: fixed a couple of typos. |
Is this: "/etc/x11" a typo while the dir name is: /etc/X11
|
I didn't see x11 OR X11 when I ran 'ls' on the '/etc/' directory. I'm running YaST under the console right now. (Thanx R0b0t.) Apparently, it uses xorg (I couldn't find anywhere that it mentioned XFree86). So, when I did a search for xorg, it brought back a list of about 20-30 items that have to do with xorg. Do I need to install all of them? Will it automatically download/install any/all dependancies?
|
Every Linux system I've ever seen it's X11, not x11.
|
Cool, thanx guys. I'm back up and running in KDE now. But, I've been using the Gentoo TwinView Wiki, and I have a few questions.
1) My nVidia 5900 has 1 DVI-out and 1 VGA-out. Currently, the monitor hooked up to the VGA-out is recognized as the Primary Monitor. (I say that because the SuSE login is on the VGA monitor, and so is the KDE Taskbar - I know I can drag it to the other monitor, but I'm a little obsessive-compulsive [aren't we all?], and it would make me fell better.) I would like the monitor on the DVI-out to be the Primary. (DVI monitor is on the left, VGA monitor is on the right.) Anyone know how to do that? 2) The Wiki mentions to edit either 'XF86Config' or 'xorg.conf'. I've found that I have both. Which one is wisest to edit? Does this also mean that I have BOTH XFree86 and xorg on my system? If so, can this cause problems? |
1) First you lift the left monitor out of the way, then you move the right monitor to the left and the one that used to be on the left to the place that's now freed by the one you moved to the left. Sorry, couldn't resist :)
2) Find out which one you're using. Try "top" and see close to the top which one it is or do" pstree|grep X" |
1)LOL!! Thanx... :rolleyes:
2) I didn't understand what "top" meant (like I said, "I know only enough about the Linux console to look around and maybe copy some stuff."). BUT, I did, on a wild guess, type "pstree|grep X" into Konsole and this is the result-- Code:
├─kdm─┬─X 3) I've attempted to run the non-Xinerma TwinView, but now I'm only getting output to the VGA-out monitor. Any ideas? Here's the contents of xorg.conf (AND XF86Config - everytime I edit one, the other has magically changed to match :confused: )-- Code:
# /.../ |
you could try reversing the ServerLayout to this,it may work.
Screen "Screen[1]" Screen "Screen[0]" LeftOf "Screen[1]" you also may want to bump the DefaultDepth to 24 rather than 16. *edit*just edit the xorg.conf file |
All times are GMT -5. The time now is 10:15 PM. |