LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Won't startx on debian 3.0 (https://www.linuxquestions.org/questions/linux-distributions-5/wont-startx-on-debian-3-0-a-55418/)

Tech1 04-16-2003 08:38 PM

Won't startx on debian 3.0
 
Just installed DEBIAN 3.0, first time i installed it, i installed all the packages, some failed but i just skipped them, nothing i could do.

I logged into root, at the command prompt i typed "startx" it gives me some info about XFree86 then says:

"Fatal server error:
no screens found"

Then gives me some info about the XFree86 log in /var/log/XFree86.0.log" after that it gives me this:

"X10: fatal 10 error 104 (connection reset by peer) on x server ":0.0" after 0 requests (0 known processes) with 0 events remaining."

Brings me back into log in for debian, how can i get into KDE if it gives me these errors?

irish_rover 04-16-2003 08:43 PM

Have you set up the X server? If not run xf86config. Then as root start x by starting your display manager (xdm, kdm, gdm) by typing "/etc/init.d/kdm start" as root. Then you should see a graphical login screen, from there log in as your normal user.

Tech1 04-16-2003 08:51 PM

Thanks for the help :)

I configred XFree86, logged into root "cd /" then typed

"/ect/init.d/kdm start"

And it saied there was no such file or directory..

irish_rover 04-16-2003 08:59 PM

I'm sorry kdm was an example, you may have any of the three xdm, gdm, kdm. You should at least have xdm. Try that instead, like so:
/etc/init.d/xdm start

Tech1 04-16-2003 09:01 PM

Tried both, got file not found on it


How would i install KDE then?

Guessing gdm is gnome, kdm is kde, and xdm is XWindows?

irish_rover 04-16-2003 09:03 PM

If you want kde on a Debian system all you have to do is apt-get it like: apt-get install kde

Tech1 04-16-2003 09:06 PM

Edited my post above,

BTW installing KDE now, it setup XDM, still no luck on all 3

irish_rover 04-16-2003 09:11 PM

What options did you choose when you installed Debian? If you haven't actually done any work it might be easier to start over at this point. I've found that when installing Debian I only pick the "X Windows" and "C/C++ Development" files at the tasksel screen. Then I skip the dselect part.

This gives you a good base system to build on top of.

Tech1 04-16-2003 09:15 PM

SO i should just run /usr/sbin/base-config again?

Also, i didn't know how to mess around with dselect, so i ended up just installing everything..

irish_rover 04-16-2003 09:23 PM

Starting over is just a suggestion, more a matter of opinion. I think it's easier to start with almost nothing and add what I need a as I need it. I don't like having all the extra things if I'm not going to use them.
I think you should grab the package called aptitude and use that to clean up the system "apt-get install aptitude" or just start over from scratch. Don't run base-config

Tech1 04-16-2003 09:30 PM

How could this fix my problem?

irish_rover 04-16-2003 09:32 PM

Ok...sorry we (I) kind of got off track.

Is kde downloading/installing now or is it done?

irish_rover 04-16-2003 09:33 PM

After you have kde downloaded make sure that it installed kdm. If it didn't then go ahead and install kdm: "apt-get install kdm"

Tech1 04-16-2003 09:34 PM

I installed apitude, what is it?

BTW, it says it is rtunning the newest versions

irish_rover 04-16-2003 09:36 PM

aptitude will come in very handy for cleaning up packages you don't want on the system. Let's skip that part for now and just try to get kde going. Again sorry, for getting off track.

Tech1 04-16-2003 09:38 PM

Same thing :(

irish_rover 04-16-2003 09:42 PM

Ok, back to the other idea. Are you opposed to reinstalling? I will try to walk you through if you like?

Tech1 04-16-2003 09:43 PM

Nope, no problem with it, i have done it many times.

Do you have AIM so we can talk live time?

Also, i am using these disks:

Boot US
Boot Vanilla, but only used BOOT US

I really wanted to use Slackware, but never could install it. Tried DEBIAN and seemed easier

irish_rover 04-16-2003 09:47 PM

I don't use aim....I can set it up tomorrow, I'm gonna have to bail soon. Gotta get up at 5:30 for work. But anyway, I can get you started with the install.

Run through the basic stuff, partitioning and so on. When it comes time to pick packages with tasksel only pick the "X Window System" and "C/C++ Development" sections. Do not run dselect at all. This will give you a good starting point. After that we can get a simple X set up going and then install kde.

Tech1 04-16-2003 09:47 PM

Ok, i'll do that now..

irish_rover 04-16-2003 09:50 PM

Ok I'll post tomorrow and see where you're at.

Tech1 04-16-2003 09:51 PM

Tomorrow :(

Oh well, what is debian JR

poloktim 04-17-2003 12:43 AM

Tools for young children to learn Debian on.

Not really necessary for anyone. Just some fun for kids.

Tech1 04-17-2003 02:03 AM

Ah, ok. Thanks.. In my first installs i installed it just for the heck of it to see what it was.

whansard 04-17-2003 02:09 AM

did you run any X setup tool to create an XF86Config?

XF86Setup isn't too bad.

Tech1 04-17-2003 02:23 AM

Yeah, i did that as stated above..

I'll wait till the other guy gets back tomorrow and talk to him.

irish_rover 04-17-2003 06:46 PM

tech1 aim is up and running just give me your sn

Tech1 04-17-2003 07:49 PM

"tekcode"

irish_rover 04-18-2003 04:55 PM

# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.
Load "GLcore"

Load "dbe" # Double buffer extension

Load "extmod"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
# Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx"

# This loads the DRI module
Load "dri"

# This loads the drm module
Load "drm"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

# 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/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

# Option "Protocol" "Xqueue"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

Option "LeftAlt" "Meta"
Option "RightAlt" "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"

Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "imps/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 30 - 55

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 47-120

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "TNT"
Driver "nv"
#VideoRam 32768
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "TNT"
Monitor "My Monitor"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
Mode 0666
EndSection

cycopy 04-26-2003 06:28 PM

bla bla
 
it may be your driver, vesa should usually work. and about the xdm kdm gdm stuff..debian does this itself, the only thing you have to do, is to set up xf86conf the right way. often you cannot use 24bpp either. your problems lyes within that config-file.


All times are GMT -5. The time now is 03:30 PM.