You are not logged in.

#1 2010-05-06 11:23:50

seriouslycgi
Member
Registered: 2009-09-22
Posts: 21

startx error weird

i get fatal errors when i log in as new users since updating

i created a user a few days ago and that user is fine but now when i create new users i cant get x to work

so i can startx as root and as 1 user but no others (and they are all in the same groups, paths etc)

Offline

#2 2010-05-06 11:49:55

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: startx error weird

Does the newly created user have a .xinitrc in their home directory?

Please poste the error message. "Isn't working" is not really meaningful.

Regards

Last edited by orschiro (2010-05-06 11:50:31)

Offline

#3 2010-05-06 12:06:49

seriouslycgi
Member
Registered: 2009-09-22
Posts: 21

Re: startx error weird

it just stops and goes back to commandline yes they have .xinitrc.

its not really showing any errors, just stops loading.

i was wondering if its something to do with software updates or creating users.

Last edited by seriouslycgi (2010-05-06 12:49:41)

Offline

#4 2010-05-06 12:19:19

seriouslycgi
Member
Registered: 2009-09-22
Posts: 21

Re: startx error weird

the .Xauthority file contains nothing on any new users i create, but the one user that does work says

myhost0MIT-MAGIC-COOKIE-1NHٳQ9^]0;root@myhost:~[root@myhost ~]#

is this the problem?

Offline

#5 2010-05-06 12:24:20

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: startx error weird

(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found

Do you have the right driver installed?

Offline

#6 2010-05-06 12:27:57

seriouslycgi
Member
Registered: 2009-09-22
Posts: 21

Re: startx error weird

yes weird huh i get the nvidia logo with users root and xbmc (username) but not with anything new i create. those two accounts are fine, but anything new will not let X start.

[root@myhost ~]# cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Thu Jan 28 02:31T 2010

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Device"
   Identifier   "Card_tv"
   Driver       "nvidia"
   Option       "TVOutFormat" "COMPOSITE" 
   Option       "TVStandard" "PAL-B"
   Option       "ConnectedMonitor" "TV"
EndSection

Section "Monitor"
   Identifier   "tv"
   HorizSync    30-50
   VertRefresh  60
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Device0"
    SubSection     "Display"
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Screen"
   Identifier   "Screen_tv"
   Device       "Card_tv"
   Monitor      "tv"
   DefaultDepth 16
   SubSection   "Display"
   Depth        16
   Modes        "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "tv"
   Screen       0  "Screen_tv" 0 0
   InputDevice  "Mouse0" "CorePointer"
   InputDevice  "Keyboard0" "CoreKeyboard"
EndSection

Last edited by seriouslycgi (2010-05-06 12:33:37)

Offline

#7 2010-05-06 12:48:47

seriouslycgi
Member
Registered: 2009-09-22
Posts: 21

Re: startx error weird

Runiq wrote:
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found

Do you have the right driver installed?

actually that error log was from when i tried to remove xorg and let it autodetect so nvidia wasnt loading the real error log is here that loads nvidia from the xorg.conf i posted above(this is as a new user, fails to startx):

http://pastebin.com/zaeyUNEA

and this is the log from my current session (as root) in x11 using chromium browser

http://pastebin.com/XZQ761Cn

Last edited by seriouslycgi (2010-05-06 12:53:27)

Offline

#8 2010-05-08 00:10:25

seriouslycgi
Member
Registered: 2009-09-22
Posts: 21

Re: startx error weird

weird i deleted some files as root to make it work
backup xorg.conf


 cp /etc/X11/xorg.conf* /root/

then

 rm /home/$user/.X* /home/$user/.x* 
 rm /etc/X11/xorg.conf*

then as the user

 startx

then i exit X and replaced my xorg.conf (i backed up)

 cp /root/xorg.conf /etc/X11/xorg.conf

now all is working :S

Last edited by seriouslycgi (2010-05-08 00:11:20)

Offline

#9 2010-05-08 02:15:05

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: startx error weird

[SOLVED] to the beginning of the title please big_smile

I'm guessing it was just some incorrect lines of code (probably config lines) in one of those files and it was having issues.

Offline

Board footer

Powered by FluxBB