View previous topic :: View next topic |
Author |
Message |
arjun n00b
Joined: 22 Mar 2003 Posts: 40
|
Posted: Sun Dec 07, 2003 1:30 pm Post subject: startx |
|
|
I emerged XFree86 this morning and ran XF86Config too, with a successful File lying ther. Bur when I try to run startx, i get the bash: Command not found Error.
Halp!
SEE THE POST BELOW!!!!
Last edited by arjun on Sun Dec 07, 2003 3:39 pm; edited 2 times in total |
|
Back to top |
|
|
dreamer Apprentice
Joined: 16 Aug 2003 Posts: 236
|
Posted: Sun Dec 07, 2003 1:40 pm Post subject: |
|
|
check if the location of startx is somewhere in your PATH ( e.g. echo $PATH )
does startx exist and is it available? |
|
Back to top |
|
|
PingEnt Tux's lil' helper
Joined: 05 Apr 2003 Posts: 89 Location: Norway
|
Posted: Sun Dec 07, 2003 2:01 pm Post subject: |
|
|
Did you remeber to do Code: | env-update && source /etc/profile | after you emerged Xfree86? I remember having the same problem and that fixed it. |
|
Back to top |
|
|
arjun n00b
Joined: 22 Mar 2003 Posts: 40
|
Posted: Sun Dec 07, 2003 2:25 pm Post subject: |
|
|
Yeah, I fixed it, although all I did is exit from root and it worked.
Well, I need some more Help, a real WALKTHROUGH for the xf86config !
Specs:
Acer AL707
hsync: 31.5-80.0 kHz
vsync: 56.3-75.0 Hz
max. res. : 1280x1024
Cordless No-Name Keyboard (Normal Serial Port, NOT usb), keymap ch_DE (74)
Logitech Wierless Optical Trackman (USB, yes)
nVidia GeForce Ti4400 with 128MB Ram (131072kB)
Thanks.
Aahh. |
|
Back to top |
|
|
dreamer Apprentice
Joined: 16 Aug 2003 Posts: 236
|
Posted: Sun Dec 07, 2003 2:50 pm Post subject: |
|
|
use xf86config to create a general XF86Config file, which you can finetune later
use nvidia drivers for your videocard ( emerge nvidia_kernel nvidia_glx ) and use "nvidia" as driver in your XF86Config
for usb mouse you need to enable the following parts in your kernel ( 2.6 ):
support for USB ( duh )
USB device filesystem
UHCI HCD (most Intel and VIA) support
USB Human Interface Device (full HID) support
HID input layer support
and modify your XF86Config to look like this:
Code: |
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "3"
Option "ZAxisMapping" "4 5"
EndSection
|
Very important!! Don't be a dumb copy'npaster! This is just a general way to do things, adjust settings whereas needed.
good luck! |
|
Back to top |
|
|
arjun n00b
Joined: 22 Mar 2003 Posts: 40
|
Posted: Sun Dec 07, 2003 3:02 pm Post subject: |
|
|
I am more worried about the monitor buddy.
I need to know exactly what I should select in the xf86config for the given specs. Then, since i am so bloody noob, i need to know HOW exactly i put on all that support for the things as you told me to.
thx
arjun |
|
Back to top |
|
|
-mkz- n00b
Joined: 17 Sep 2003 Posts: 16 Location: Lithuania
|
Posted: Sun Dec 07, 2003 4:02 pm Post subject: |
|
|
Hi, acording to what you said that your monitor
Acer AL707
hsync: 31.5-80.0 kHz
vsync: 56.3-75.0 Hz
max. res. : 1280x1024 in xf86config you should choose in monitor configuration :
11 Enter your own horizontal sync range
Horizontal sync range:31.5-80
5 Enter your own vertical sync range
Vertical sync range: 56.3-75
Enter an identifier for your monitor definition: Acer AL707
Then chosing your resoliution
3 Change the modes for 24-bit (24-bit color)
for e.g. you want to use 1024x786 as default and also use 800x600
Which modes? 43
Then choose to you default 24 bits.
Thats it.
Then after xf86config created XF86Config feel free to edit it . I see you use Nvidia graphics card so after emerging nvidia-glx add in XF86Config in the Secion "Module" Load glx ; in the Section "Monitor" you can add Option "dpms" (to use energy saving) Option "off time" "20" (time after which your monitor turns off), also change in the Section "Device" Driver "nv" to Driver "nvidia". That's about it. I hope it i was clear enough . |
|
Back to top |
|
|
arjun n00b
Joined: 22 Mar 2003 Posts: 40
|
Posted: Sun Dec 07, 2003 5:00 pm Post subject: |
|
|
It didn' help. Same Errors.
I emerged nvidia-kernel and nvidia-glx . I also edited the File (i didn^t enter the options for the monitor as these features are trivial right now).
Still, startx doesn't give me anything useful.
Quote: |
Then chosing your resoliution
3 Change the modes for 24-bit (24-bit color)
for e.g. you want to use 1024x786 as default and also use 800x600
Which modes? 43
|
I don't fully get this part, I never see these options. I only get to choose the color mode from 1 to 24Bits. |
|
Back to top |
|
|
dreamer Apprentice
Joined: 16 Aug 2003 Posts: 236
|
Posted: Sun Dec 07, 2003 7:10 pm Post subject: |
|
|
maybe you could post your XF86Config here? |
|
Back to top |
|
|
dreamer Apprentice
Joined: 16 Aug 2003 Posts: 236
|
Posted: Sun Dec 07, 2003 7:15 pm Post subject: |
|
|
btw, if you've never compiled a kernel before you don't have to worry about my "kernel usb story" as this is most likely enabled in the default kernel you're using
maybe you should check this |
|
Back to top |
|
|
-mkz- n00b
Joined: 17 Sep 2003 Posts: 16 Location: Lithuania
|
Posted: Mon Dec 08, 2003 8:57 pm Post subject: |
|
|
This is my working /etc/X11/XF86Config edit it acording to your needs
Quote: |
# **********************************************************************
Section "Module"
Load "dbe"
SubSection "extmod"
Option "xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
EndSection
# **********************************************************************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/misc"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/share/fonts/artwiz/"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
EndSection
# **********************************************************************
Section "ServerFlags"
Option "off time" "20"
EndSection
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "hpi6"
Option "XkbLayout" "lt"
EndSection
# **********************************************************************
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
EndSection
# **********************************************************************
Section "Monitor"
Identifier "Iiyama Vision Master Pro 502"
Option "dpms"
HorizSync 27.0-110.0
VertRefresh 50-160
EndSection
# **********************************************************************
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "GeForce II Gts"
Driver "nvidia"
VideoRam 32768
EndSection
# **********************************************************************
Section "Screen"
Identifier "Screen 1"
Device "GeForce II Gts"
Monitor "Iiyama Vision Master Pro 502"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
| [/list] |
|
Back to top |
|
|
|