You are not logged in.

#1 2007-06-20 17:20:50

kangaroo
Member
Registered: 2007-06-20
Posts: 4

Failed to start X

When I tried the "startx" command it said:

"Cannot move old log file ("/var/log/Xorg.0.log") to "/var/log/Xorg.0.log.old"

What's wrong?

Offline

#2 2007-06-20 18:05:07

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Failed to start X

The permissions on the file? Mine is 644 and owned by root.

Offline

#3 2007-06-20 18:27:47

soundwave
Member
Registered: 2007-05-25
Posts: 11

Re: Failed to start X

Are you running "startx" as root or as a user?
Do either of these accounts have the right access privileges as well?

Offline

#4 2007-06-20 18:27:49

kangaroo
Member
Registered: 2007-06-20
Posts: 4

Re: Failed to start X

I tried to change permissions, and it worked! big_smile

But now I encountered another problem, which is the resolution and the fonts being bad (should have 1280x1024, now it is 640xsomething). I have the right settings (at least resolution is right) in my xorg.conf file.

Any ideas?

I really appreciate your help! big_smile

Offline

#5 2007-06-20 18:28:21

soundwave
Member
Registered: 2007-05-25
Posts: 11

Re: Failed to start X

Whoops I was a little slow here...haha

Maybe you could post your Xorg config file so we can look at it? maybe?

Last edited by soundwave (2007-06-20 18:30:09)

Offline

#6 2007-06-21 06:23:16

kangaroo
Member
Registered: 2007-06-20
Posts: 4

Re: Failed to start X

Xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (randy@juliet2)  Fri Dec 30 21:53:37 PST 2005

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

    # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "se"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
    Option         "Buttons" "7"
    Option         "ButtonMapping" "1 2 3 6 7"
EndSection

Section "Monitor"
    Identifier     "LCD17-6"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV15 [GeForce2 GTS/Pro]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV15 [GeForce2 GTS/Pro]"
    Monitor        "LCD17-6"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

And I use Openbox from repos if that matters. smile

Offline

#7 2007-06-21 12:00:17

soundwave
Member
Registered: 2007-05-25
Posts: 11

Re: Failed to start X

Sorry for the slow reply work let out and I had alot of stuff to do. hahaha

Anyway did you set the resolution for the actual command line?
I found that doing that allowed me to run at a higher resolution (Or I could just be crazy)

I would also try and take out the resolutions that you do not want to use in the config file there, it may help. So the one that says screen depth 24, remove all resolutions that you dont wanna use and leave the one in there you want to run at.

Anyone else have an ideas? smile

Last edited by soundwave (2007-06-21 12:01:17)

Offline

#8 2007-06-22 01:01:52

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Failed to start X

Every time I had xorg.conf file problems, I looked in the xorg log file for any errors or warnings. More times than not It gave me a clue to what was wrong and how to fix it. You might need to specify a mode line in Section "Monitor", as well as HorizSync and VertRefresh specs for your monitor.


-- archlinux 是一个极好的 linux

Offline

#9 2007-06-25 21:09:39

archiebald
Member
Registered: 2007-06-03
Posts: 90

Re: Failed to start X

The best way which worked for me was with hwd [-x] or [-xa] regarding correct resolution and graphic drivers.When I run xorgconfig, I allways get larger virtual desktop screen (when I am testing if xserver is correct with twm),no matter if I said no.So just do pacman -S hwd and than hwd -xa.After that if all is allright, install your binary drivers from nvidia.I forgot install method for nvidia drivers because now I'm using ati (But it's simpler method than nvidia's).:lol:

Offline

Board footer

Powered by FluxBB