LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2005, 02:18 AM   #1
gogogadgetearl
LQ Newbie
 
Registered: Apr 2005
Location: Stationed in Alabama, USA
Distribution: SuSE 9.3, KDE 3.4
Posts: 15

Rep: Reputation: 0
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?
 
Old 04-10-2005, 02:50 AM   #2
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
try running yast from the command line.
eg (as normal user):
Code:
su -c yast
then go to 'install and remove software' and (re)install XFree86 (or xorg, which ever is there, probably XFree86).
once XFree86 is installed, type:
Code:
init 3 && sax2
This will allow you to easily configure your x-server.
Once done, type:
Code:
init 5
This should restart the x-server.

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.
 
Old 04-10-2005, 06:17 AM   #3
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Is this: "/etc/x11" a typo while the dir name is: /etc/X11
 
Old 04-10-2005, 11:27 AM   #4
gogogadgetearl
LQ Newbie
 
Registered: Apr 2005
Location: Stationed in Alabama, USA
Distribution: SuSE 9.3, KDE 3.4
Posts: 15

Original Poster
Rep: Reputation: 0
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?

Last edited by gogogadgetearl; 04-10-2005 at 12:10 PM.
 
Old 04-10-2005, 11:29 AM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Every Linux system I've ever seen it's X11, not x11.
 
Old 04-10-2005, 12:09 PM   #6
gogogadgetearl
LQ Newbie
 
Registered: Apr 2005
Location: Stationed in Alabama, USA
Distribution: SuSE 9.3, KDE 3.4
Posts: 15

Original Poster
Rep: Reputation: 0
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?
 
Old 04-10-2005, 02:10 PM   #7
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
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"
 
Old 04-10-2005, 03:58 PM   #8
gogogadgetearl
LQ Newbie
 
Registered: Apr 2005
Location: Stationed in Alabama, USA
Distribution: SuSE 9.3, KDE 3.4
Posts: 15

Original Poster
Rep: Reputation: 0
1)LOL!! Thanx...


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
I have no idea what it means (or if I did it correctly). Can anyone tell me?


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 )--
Code:
# /.../
# SaX generated X11 config file
# Created on: 2005-04-10T15:31:31-0500.
#
# Version: 4.8
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
  Option       "RandR" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Microsoft IntelliMouse?? Explorer"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  DisplaySize  340 270
  HorizSync    30-83
  Identifier   "Monitor[0]"
  ModelName    "BENQ FP737S-D"
  Option       "DPMS"
  VendorName   "BNQ"
  VertRefresh  43-76
  UseModes     "Modes[0]"
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "CheckDesktopGeometry"
  HorizSync    30-83
  Identifier   "Monitor[1]"
  ModelName    "BENQ FP737S-D"
  VendorName   "BNQ"
  VertRefresh  43-76
  UseModes     "Modes[1]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x1024" 117.45 1280 1368 1504 1728 1024 1025 1028 1062
EndSection

Section "Modes"
  Identifier   "Modes[1]"
  Modeline 	"1280x1024" 117.45 1280 1368 1504 1728 1024 1025 1028 1062
EndSection


Section "Screen"
  DefaultDepth 16
 SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Screen"
  DefaultDepth 16
 SubSection "Display"
    Depth      16
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "Device[1]"
  Identifier   "Screen[1]"
  Monitor      "Monitor[1]"
EndSection

Section "Device"
  BoardName    "GeForce FX 5900 Ultra"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Screen       0
  Option       "Rotate" "off"
  VendorName   "NVidia"
EndSection

Section "Device"
  BoardName    "GeForce FX 5900 Ultra"
  Driver       "nvidia"
  Identifier   "Device[1]"
  Screen       1
  Option       "Rotate" "off"
  VendorName   "NVidia"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
  Screen       "Screen[1]" RightOf "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection
If any of you have ANY suggestions on things to change (or things that have been left out) in this file, PLEASE tell me!! Thanx!!
 
Old 04-10-2005, 08:23 PM   #9
piscikeeper
Member
 
Registered: Jul 2003
Location: Pennsylvania USA
Distribution: SuSE
Posts: 430

Rep: Reputation: 30
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

Last edited by piscikeeper; 04-10-2005 at 08:25 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc disappeared Fonk Linux - Software 7 11-18-2008 05:34 PM
Core 4 - X11-devel complains about X11-libs which are installed Ephracis Fedora 3 09-05-2005 09:32 AM
xorg-x11-libs required by xorg-x11-devel darknails Fedora 1 01-13-2005 02:34 PM
icewm + mplayer with gui or xmms needs X11 error darkleaf Linux - Software 1 08-20-2004 06:57 AM
Roaming X11/Xfree86, X11 proxy zapp Linux - Software 1 09-12-2003 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration