LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   fluxbox not starting "Error: couldn't connect to XServer" (https://www.linuxquestions.org/questions/slackware-14/fluxbox-not-starting-error-couldnt-connect-to-xserver-830742/)

apemax 09-07-2010 04:04 AM

fluxbox not starting "Error: couldn't connect to XServer"
 
I've just recently install slackware 13.1 on IBM R40e
laptop but every time i try to start fluxbox with
startfluxbox it just comes up:

xmodmap: unable to open display ''
Error: couldn't connect to XServer

however xdm works.

the specs of the computer:
IBM R40e 2684 L9G
2.4GHz Intel celeron processor
128MB ram
ATI radeon 330M 16MB integrated
30GB hard drive
DVD rom drive

I'm not sure if it's of any use but here's my xorg.conf file:

Code:

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

Section "Files"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/local"
        FontPath    "/usr/share/fonts/TTF"
        FontPath    "/usr/share/fonts/OTF"
        FontPath    "/usr/share/fonts/Type1"
        FontPath    "/usr/share/fonts/misc"
        FontPath    "/usr/share/fonts/CID"
        FontPath    "/usr/share/fonts/75dpi/:unscaled"
        FontPath   

"/usr/share/fonts/100dpi/:unscaled"
        FontPath    "/usr/share/fonts/75dpi"
        FontPath    "/usr/share/fonts/100dpi"
        FontPath    "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "dri2"
        Load  "dbe"
        Load  "dri"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbOptions" 

"grp:switch,grp:lswitch,grp:lwin_switch,grp:rwin_switch

,grp:win_switch,grp:caps_switch,grp:rctrl_switch,grp:to

ggle,grp:lalt_toggle"
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: <i>: integer, <f>: float, <bool>:

"True"/"False",
        ### <string>: "String", <freq>: "<f>

Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option    "NoAccel"                    #

[<bool>]
        #Option    "SWcursor"                  #

[<bool>]
        #Option    "Dac6Bit"                    #

[<bool>]
        #Option    "Dac8Bit"                    #

[<bool>]
        #Option    "BusType"                    #

[<str>]
        #Option    "CPPIOMode"                  #

[<bool>]
        #Option    "CPusecTimeout"              # <i>
        #Option    "AGPMode"                    # <i>
        #Option    "AGPFastWrite"              #

[<bool>]
        #Option    "AGPSize"                    # <i>
        #Option    "GARTSize"                  # <i>
        #Option    "RingSize"                  # <i>
        #Option    "BufferSize"                # <i>
        #Option    "EnableDepthMoves"          #

[<bool>]
        #Option    "EnablePageFlip"            #

[<bool>]
        #Option    "NoBackBuffer"              #

[<bool>]
        #Option    "DMAForXv"                  #

[<bool>]
        #Option    "FBTexPercent"              # <i>
        #Option    "DepthBits"                  # <i>
        #Option    "PCIAPERSize"                # <i>
        #Option    "AccelDFS"                  #

[<bool>]
        #Option    "IgnoreEDID"                #

[<bool>]
        #Option    "CustomEDID"                #

[<str>]
        #Option    "DisplayPriority"            #

[<str>]
        #Option    "PanelSize"                  #

[<str>]
        #Option    "ForceMinDotClock"          #

<freq>
        #Option    "ColorTiling"                #

[<bool>]
        #Option    "VideoKey"                  # <i>
        #Option    "RageTheatreCrystal"        # <i>
        #Option    "RageTheatreTunerPort"        # <i>
        #Option    "RageTheatreCompositePort"        # <i>
        #Option    "RageTheatreSVideoPort"        # <i>
        #Option    "TunerType"                  # <i>
        #Option    "RageTheatreMicrocPath"        # <str>
        #Option    "RageTheatreMicrocType"        # <str>
        #Option    "ScalerWidth"                # <i>
        #Option    "RenderAccel"                #

[<bool>]
        #Option    "SubPixelOrder"              #

[<str>]
        #Option    "ShowCache"                  #

[<bool>]
        #Option    "ClockGating"                #

[<bool>]
        #Option    "VGAAccess"                  #

[<bool>]
        #Option    "ReverseDDC"                #

[<bool>]
        #Option    "LVDSProbePLL"              #

[<bool>]
        #Option    "AccelMethod"                # <str>
        #Option    "DRI"                        #

[<bool>]
        #Option    "ConnectorTable"            # <str>
        #Option    "DefaultConnectorTable"        #

[<bool>]
        #Option    "DefaultTMDSPLL"            #

[<bool>]
        #Option    "TVDACLoadDetect"            #

[<bool>]
        #Option    "ForceTVOut"                #

[<bool>]
        #Option    "TVStandard"                # <str>
        #Option    "IgnoreLidStatus"            #

[<bool>]
        #Option    "DefaultTVDACAdj"            #

[<bool>]
        #Option    "Int10"                      #

[<bool>]
        #Option    "EXAVSync"                  #

[<bool>]
        #Option    "ATOMTVOut"                  #

[<bool>]
        #Option    "R4xxATOM"                  #

[<bool>]
        #Option    "ForceLowPowerMode"          #

[<bool>]
        #Option    "DynamicPM"                  #

[<bool>]
        #Option    "NewPLL"                    #

[<bool>]
        #Option    "ZaphodHeads"                # <str>
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "Unknown Vendor"
        BoardName  "Unknown Board"
        BusID      "PCI:1:5:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        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
        EndSubSection
EndSection


dive 09-07-2010 07:11 AM

Run xwmconfig choose fluxbox from the list, then type startx

mrclisdue 09-07-2010 07:20 AM

Quote:

Originally Posted by dive (Post 4090302)
Run xwmconfig choose fluxbox from the list, then type startx

...or, add this to the user's .xinitrc file:

Code:

# Start the window manager:
exec /usr/bin/startfluxbox

cheers,

apemax 09-09-2010 05:38 AM

ok thanks that worked.


All times are GMT -5. The time now is 05:53 PM.