Skip to main content
Home Forums Linux on my B&W! Linux on my B&W!
Thread

Linux on my B&W!

Linux on my B&W! Troubleshooting 130 posts Feb 11, 2008 — Feb 18, 2008
It asked for the "next Slackintosh disc" I inserted 4, which was the next one, but it spat it back out every time. Because of this, I chose to "Finish Up" or something like that.

How do I get to my home directory? Come to think of it, how do I get anywhere? [:o)] ]'>

Basics:

cd - change directory, the equivalent of double-clicking a folder in the Finder. do cd .. to go up one folder

ls - list files/folders. the equivalent of the finder display window. shows all files/folders in the current directory besides hidden ones

Try

cd /home/[username]

ls

I did cd /home/root

"No such file or directory"

That's not a good thing, is it?…

The root account's home directory is in /root. If you do a "cd ~" it will take you to your home directory. The command "pwd" will show you the path that you're in.

The following might be useful if you're not too familiar with the GNU/Linux command line:

http://linuxreviews.org/beginner/

Ok, xorg.conf.new is there. Now wat?

OK, you need to rename the file from xorg.conf.new to xorg.conf by typing "mv xorg.conf.new xorg.conf"

Once you're done that, if you run startx it will use the xorg.conf file in your home directory instead of the global one. Test it this way before you decide to replace the existing one in /etc/X11.

Also, once you've got everything going, create an account for yourself and don't use the root account unless it's for emergencies. Very easy to fubar something or get compromised if you run as root.

It works, and I really like it now…

How do you change the resolution?… [:o)] ]'>

Usually you can do this through a screen resolution control panel of some sort in GNOME and KDE, but since you're using Window Maker you will probably have to do it manually.

In the xorg.conf file, you'll notice a place that says Section "Screen". In that section, you'll see subsections that show different color depth settings. Under the color depth that you want, add the following line:

Code:
Modes   "1024x768" "800x600" ""
The first entry I believe is always the default. You can change from the resolutions by hitting Ctrl-Alt-+ or Ctrl-Alt-- (that's a minus sign on the latter) to rotate between the various resolutions you've configured.

Save the changes and then restart X by hitting Ctrl-Alt-Backspace and typing startx at the prompt, or just end your session from the window manager and type startx again

Right now I'm in KDE. It will only allow 800x600 in the display section. (same with the other ones with that preference)

I want 2048x1536. How do I fix this?

Code:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/share/X11/rgb"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/TTF"
FontPath     "/usr/share/fonts/OTF"
FontPath     "/usr/share/fonts/Type1"
FontPath     "/usr/share/fonts/misc"
FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load  "GLcore"
Load  "xtrap"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "record"
Load  "glx"
Load  "type1"
Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option	    "Protocol" "auto"
Option	    "Device" "/dev/input/mice"
Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Device"
       ### Available Driver options are:-
       ### Values: : integer, : float, : "True"/"False",
       ### : "String", : " Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "NoAccel"            	# []
       #Option     "SWcursor"           	# []
       #Option     "Dac6Bit"            	# []
       #Option     "Dac8Bit"            	# []
       #Option     "DMAForXv"           	# []
       #Option     "ForcePCIMode"       	# []
       #Option     "CCEPIOMode"         	# []
       #Option     "CCENoSecurity"      	# []
       #Option     "CCEusecTimeout"     	# 
       #Option     "AGPMode"            	# 
       #Option     "AGPSize"            	# 
       #Option     "RingSize"           	# 
       #Option     "BufferSize"         	# 
       #Option     "EnablePageFlip"     	# []
       #Option     "Display"            	# 
       #Option     "PanelWidth"         	# 
       #Option     "PanelHeight"        	# 
       #Option     "ProgramFPRegs"      	# []
       #Option     "UseFBDev"           	# []
       #Option     "VideoKey"           	# 
       #Option     "ShowCache"          	# []
       #Option     "VGAAccess"          	# []
Identifier  "Card0"
Driver      "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Rage 128 RE/SG"
BusID       "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
SubSection "Display"
	Viewport   0 0
	Depth     1
 	Modes "2048x1536" "1025x768" "800x600"
EndSubSection
SubSection "Display"
	Viewport   0 0
	Depth     4
 	Modes "2048x1536" "1025x768" "800x600"
EndSubSection
SubSection "Display"
	Viewport   0 0
	Depth     8
 	Modes "2048x1536" "1025x768" "800x600"
EndSubSection
SubSection "Display"
	Viewport   0 0
	Depth     15
EndSubSection
SubSection "Display"
	Viewport   0 0
	Depth     16
 	Modes "2048x1536" "1025x768" "800x600"
EndSubSection
SubSection "Display"
	Viewport   0 0
	Depth     24
 	Modes "2048x1536" "1025x768" "800x600"
EndSubSection
EndSection
:?:

Well I created a new account other than root. When I startx, it aborts it. -__- So what did I do wrong? :p

Well he doesn't have a xorg.conf file or anything, and I don't know how to create one.

Here are my problems:

 

1. How do I use a resolution other than 800x600?

2. How do I start KDE and other desktops with my non-root User?

Remember that when you created the xorg.conf file, it was put in the root's home directory, a directory that only root has access to. This is why I had mentioned that you should move that file over to /etc/X11 so that it's global for all users.

Here's a copy of my xorg.conf file from my x86 Slackware 12 install. Feel free to copy what you need from it:

Section "ServerLayout"

Identifier "X.org Configured"

Screen "Screen0" 0 0

InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"

RgbPath "/usr/share/X11/rgb"

ModulePath "/usr/lib/xorg/modules"

FontPath "/usr/share/fonts/TTF"

FontPath "/usr/share/fonts/OTF"

FontPath "/usr/share/fonts/Type1"

FontPath "/usr/share/fonts/misc"

FontPath "/usr/share/fonts/75dpi/:unscaled"

FontPath "/usr/share/fonts/MS-Fonts"

EndSection

Section "Module"

Load "glx"

#Load "GLcore"

Load "record"

Load "extmod"

Load "dri"

Load "dbe"

Load "xtrap"

Load "type1"

Load "freetype"

EndSection

Section "InputDevice"

Identifier "Keyboard0"

Driver "kbd"

EndSection

Section "InputDevice"

Identifier "Mouse0"

Driver "mouse"

Option "Protocol" "auto"

Option "Device" "/dev/input/mice"

Option "ZAxisMapping" "4 5 6 7"

EndSection

Section "Monitor"

Identifier "Monitor0"

VendorName "Monitor Vendor"

ModelName "Monitor Model"

HorizSync 31.5 - 87

VertRefresh 40-90

Option "DPMS" "off"

EndSection

Section "Device"

### Available Driver options are:-

### Values: : integer, : float, : "True"/"False",

### : "String", : " Hz/kHz/MHz"

### [arg]: arg optional

#Option "NoAccel" # []

#Option "SWcursor" # []

#Option "Dac6Bit" # []

#Option "Dac8Bit" # []

#Option "BusType" # []

#Option "CPPIOMode" # []

#Option "CPusecTimeout" #

Option "AGPMode" "8" #

#Option "AGPFastWrite" "1" # []

#Option "AGPSize" #

Option "GARTSize" "64" #

#Option "RingSize" #

#Option "BufferSize" #

#Option "EnableDepthMoves" # []

Option "EnablePageFlip" "1" # []

#Option "NoBackBuffer" # []

Option "DMAForXv" "1" # []

#Option "FBTexPercent" #

#Option "DepthBits" #

#Option "PCIAPERSize" #

Option "AccelDFS" "1" # []

#Option "DDCMode" # []

#Option "MonitorLayout" # []

#Option "IgnoreEDID" # []

#Option "UseFBDev" "true" # []

#Option "MergedFB" "true" # []

#Option "CRT2HSync" # []

#Option "CRT2VRefresh" # []

#Option "CRT2Position" # []

#Option "MetaModes" # []

#Option "MergedDPI" # []

#Option "MergedXinerama" # []

#Option "MergedXineramaCRT2IsScreen0" # []

#Option "MergedNonRectangular" # []

#Option "MergedMouseRestriction" # []

#Option "DisplayPriority" # []

#Option "PanelSize" # []

#Option "ForceMinDotClock" #

Option "ColorTiling" "on" # []

#Option "VideoKey" #

#Option "RageTheatreCrystal" #

#Option "RageTheatreTunerPort" #

#Option "RageTheatreCompositePort" #

#Option "RageTheatreSVideoPort" #

#Option "TunerType" #

#Option "RageTheatreMicrocPath" #

#Option "RageTheatreMicrocType" #

#Option "ScalerWidth" #

Option "RenderAccel" "1" # []

#Option "SubPixelOrder" # []

#Option "ShowCache" # []

#Option "DynamicClocks" # []

#Option "VGAAccess" # []

#Option "ReverseDDC" # []

#Option "LVDSProbePLL" # []

Option "AccelMethod" "XAA" #

#Option "ConstantDPI" # []

#Option "ReverseDisplay" # []

Option "DRI" "1" # []

Option "TrippleBuffer" "true"

#Option "XAANoOffscreenPixmaps" "true"

Identifier "Card0"

Driver "radeon"

VendorName "ATI Technologies Inc"

BoardName "RV350 AR [Radeon 9600]"

BusID "PCI:2:0:0"

EndSection

Section "Screen"

Identifier "Screen0"

Device "Card0"

Monitor "Monitor0"

Option "RenderAccel" "true"

#Option "AllowGLXWithComposite" "true"

#Option "AddARGBGLXVisuals" "true"

#Option "DisableGLXRootClipping" "True"

DefaultDepth 24

SubSection "Display"

Viewport 0 0

Depth 1

EndSubSection

SubSection "Display"

Viewport 0 0

Depth 4

EndSubSection

SubSection "Display"

Viewport 0 0

Depth 8

EndSubSection

SubSection "Display"

Viewport 0 0

Depth 15

EndSubSection

SubSection "Display"

Viewport 0 0

Depth 16

EndSubSection

SubSection "Display"

#Viewport 0 0

Depth 24

Modes "1024x768"

EndSubSection

EndSection

Section "DRI"

Mode 0666

EndSection

#Section "Extensions"

# Option "Composite" "Enable"

#EndSection
Mine is set for 1024x768 but you can add your resolutions in place of mine.

For each user, you have to run xwmconfig and pick the default desktop (in all honesty, all xwmconfig does is modify the .xinitrc file in each user's home folder). Remember that each user has its own settings, just like each user has a profile in Windows with its own settings or how each user has its own settings in their own home folder in OS X.

Changing the code for resolutions did nothing. KDE boots stays in 800x600 and won't take no for an answer. Is there any way to change my resolution to the 2048x1536 my monitor is capable of???

Note in my xorg.conf file where I commented out the ViewPort on the screen section, as well as where I added what I wanted the default depth to be. Also note in the top of my file in the ServerLayout section that I took off that "0" in between the word "Screen" and "Screen0". Compare those sections from my file with yours and make the necessary changes.

I ran xwmconfig on my user.

Then I did startx

Result

Now what did I do? :p

I ran xwmconfig on my user.Then I did startx

Result

Now what did I do? :p
Did you finally move that xorg.conf file over to /etc/X11 (making sure you backed up the original by renaming it just in case)? If that file is still sitting in /root, there's no way that the user will be able to access it. You will either have to copy that file into the user's home directory (so Xorg is configured for that user only) or copy it over into /etc/X11 (which would make it accessible to every user on that system).

Note in my xorg.conf file where I commented out the ViewPort on the screen section, as well as where I added what I wanted the default depth to be. Also note in the top of my file in the ServerLayout section that I took off that "0" in between the word "Screen" and "Screen0". Compare those sections from my file with yours and make the necessary changes.
Results:

fatal server error:

no screens found

It automatically made a backup, so I'll revert to that. I'll see if it was the absence of the 0 or the adding of the default depth.

The backup is fried too…now what?

P.S. I moved it, so both root and the user get the error! (so it is working) :)

OK, I requoted my xorg.conf file in the post above and bolded the sections to look out for. Make sure you have those same settings on your xorg.conf file and that it's residing in /etc/X11.

How do I edit it in the console?

Use the GNU nano editor.

Code:
nano xorg.conf
Make sure you're in the same directory as the xorg.conf file that you want to modify when you type that.

How do I save?

Control-X to exit and it will prompt you to save, Control-O to "WriteOut" (or "save") without leaving nano.

Same error…

Same error…
Same error as what you were getting before when running startx?

Are you sure that the video card can handle that high a resolution? Post your newly-updated xorg.conf file and tell me the path where the file is located.

Same error…
Same error as what you were getting before when running startx?
Yes. I removed the DefaultDepth thing, and it fixed it. (The error was the screen one mentioned earlier.)

Are you sure that the video card can handle that high a resolution? Post your newly-updated xorg.conf file and tell me the path where the file is located.
Oh, the video card. That's the resolution I use in Mac OS X on my G4 that has a GeForce 6200. Still, 1024x768 doesn't work when I enter it either, and that's what I use at the command prompt. I'll get the file and the path for you now.

Path: /etc/X11

Insidies:

Code:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen        "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/share/X11/rgb"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/TTF"
FontPath     "/usr/share/fonts/OTF"
FontPath     "/usr/share/fonts/Type1"
FontPath     "/usr/share/fonts/misc"
FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load  "GLcore"
Load  "xtrap"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "record"
Load  "glx"
Load  "type1"
Load  "freetype"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option	    "Protocol" "auto"
Option	    "Device" "/dev/input/mice"
Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
EndSection

Section "Device"
       ### Available Driver options are:-
       ### Values: : integer, : float, : "True"/"False",
       ### : "String", : " Hz/kHz/MHz"
       ### [arg]: arg optional
       #Option     "NoAccel"            	# []
       #Option     "SWcursor"           	# []
       #Option     "Dac6Bit"            	# []
       #Option     "Dac8Bit"            	# []
       #Option     "DMAForXv"           	# []
       #Option     "ForcePCIMode"       	# []
       #Option     "CCEPIOMode"         	# []
       #Option     "CCENoSecurity"      	# []
       #Option     "CCEusecTimeout"     	# 
       #Option     "AGPMode"            	# 
       #Option     "AGPSize"            	# 
       #Option     "RingSize"           	# 
       #Option     "BufferSize"         	# 
       #Option     "EnablePageFlip"     	# []
       #Option     "Display"            	# 
       #Option     "PanelWidth"         	# 
       #Option     "PanelHeight"        	# 
       #Option     "ProgramFPRegs"      	# []
       #Option     "UseFBDev"           	# []
       #Option     "VideoKey"           	# 
       #Option     "ShowCache"          	# []
       #Option     "VGAAccess"          	# []
Identifier  "Card0"
Driver      "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Rage 128 RE/SG"
BusID       "PCI:0:16:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
SubSection "Display"
     #Viewport   0 0
     Depth     1
  EndSubSection
  SubSection "Display"
     Viewport   0 0
     Depth     4
  EndSubSection
  SubSection "Display"
     Viewport   0 0
     Depth     8
  EndSubSection
  SubSection "Display"
     Viewport   0 0
     Depth     15
  EndSubSection
  SubSection "Display"
     Viewport   0 0
     Depth     16
  EndSubSection
  SubSection "Display"
     #Viewport   0 0
     Depth     24
     Modes "2048x1536"
EndSubSection
EndSection
OK, progress!

You're missing the DefaultDepth 24 in the Section "Screen". Place it right on a line before SubSection "Display". Also, change Modes "2048x1536" to Modes "1024x768". Save the file and try again.

If it still doesn't work, change the DefaultDepth from 24 to 16 and move the Modes to the SubSection with the Depth of 16.

Will do.

mp.ls