Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
arjun
n00b
n00b


Joined: 22 Mar 2003
Posts: 40

PostPosted: Sun Dec 07, 2003 1:30 pm    Post subject: startx Reply with quote

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
View user's profile Send private message
dreamer
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 236

PostPosted: Sun Dec 07, 2003 1:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
PingEnt
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 89
Location: Norway

PostPosted: Sun Dec 07, 2003 2:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
arjun
n00b
n00b


Joined: 22 Mar 2003
Posts: 40

PostPosted: Sun Dec 07, 2003 2:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
dreamer
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 236

PostPosted: Sun Dec 07, 2003 2:50 pm    Post subject: Reply with quote

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 :P)
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
View user's profile Send private message
arjun
n00b
n00b


Joined: 22 Mar 2003
Posts: 40

PostPosted: Sun Dec 07, 2003 3:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
-mkz-
n00b
n00b


Joined: 17 Sep 2003
Posts: 16
Location: Lithuania

PostPosted: Sun Dec 07, 2003 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
arjun
n00b
n00b


Joined: 22 Mar 2003
Posts: 40

PostPosted: Sun Dec 07, 2003 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
dreamer
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 236

PostPosted: Sun Dec 07, 2003 7:10 pm    Post subject: Reply with quote

maybe you could post your XF86Config here?
Back to top
View user's profile Send private message
dreamer
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 236

PostPosted: Sun Dec 07, 2003 7:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
-mkz-
n00b
n00b


Joined: 17 Sep 2003
Posts: 16
Location: Lithuania

PostPosted: Mon Dec 08, 2003 8:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum