SliTaz SliTaz Forum

You are not logged in.

#1 2011-10-28 06:38:15

namT
Member
Registered: 2011-10-25
Posts: 27

Nv driver is fine in tux but not in root

I have tried looking through the threads first but could not find a solution so...

1) As usr 'tux' I typed 'su' in the the terminal, then typed my root password to get superuser access.

2) I typed 'tazx install xorg 2> /home/tux/xorg.errors.txt' and chose the nv driver

3) I logged out and logged backed in as 'tux' and the screen switched to 1440x900..perfect.

4) I logged out and logged in as 'root' user but I can't get into my root desktop..

--- I get a black screen that says 'failed to execute login command'..then the login screen re-appears.

This is my 2nd attempt, which is why I sent the errors to a text file. I have attached the file.

root login mode now fails every time. Please help.

Offline

#2 2011-10-28 20:15:07

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Nv driver is fine in tux but not in root

The fail to execute login errors for user root are related to xauth being unable to write .Xauthority file in /root folder for user root. I have found this to occur for user root if /root or /home for regular users when mounted on a full partition(no room to write), partition is formated in fat32 or ntfs filesystem ,or related to incorrect permissions.The xauth system use's a magic cookie which is inside the .Xauthority file to verify the user logging in's identity.If xauth can't rw .Xauthority login fails and your thrown back to the slim login screen.

Default permissions on /root/.Xauthority are 600 root.root

This is how it should work:

Everytime you logout and then login as root from slim login manager the time stamp on /root/.Xauthority should update to the time of login.If you delete .Xauthority and kill xorg when you restart slim login as root xauth should write a new .Xauthority

Offline

#3 2011-10-29 05:21:47

namT
Member
Registered: 2011-10-25
Posts: 27

Re: Nv driver is fine in tux but not in root

I managed to get it working in root before I read this. It took quite a few reinstalls for it to work this time. The only thing I did different was the sequence. First I installed the stable firefox version (frugal on ext3 filesystem), then I logged on as root and updated the package manager list and updated my pacakages. Next I installed firefox 7.0.1, mplayer svn, mplayer codecs, mplayer plugins, ffpeg, and mtpaint. Then, I saved it all (tazx writefs gzip) and rebooted.

Lastly I installed the xorg nv driver. Both tux and root logins work and I'm a happy camper!

Thank you mojo for the info, I think I might fool around with it some more, get it to mess up like before and try your technique of deleting the .Xauthority file.

Your knowledge of Slitaz seems to me to be encyclopedic! Very impressive. smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]