Posts: 39
frogprince
Joined: 08 Nov 2012
#1
Hi, I have a new install, but slim won't run. The error message claims no .Xauthority file, but mkxauth command isn't recognized. What next? Thx.
Last edited by frogprince on 02 Dec 2012, 02:35, edited 1 time in total.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Did you save home when you installed?

Can you login using startx?
Posts: 39
frogprince
Joined: 08 Nov 2012
#3
Hmmm...yes, the system prompts me to log in from tty, and once I get my own prompt, startx works. I selected the autoinstaller's"use entire disk" option in the installer, and did not notice an option to save a specific home folder. Do I need to manually partition to do so, or ?

Thanks for your quick response!
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
Ok best to not save home.

Now you are in X, post the contents of .xinitrc

If slim is causing too much grief (for some reason it does for some users and not others), and we cannot fix this issue, then maybe use lightdm or startx method for logging in.
Posts: 39
frogprince
Joined: 08 Nov 2012
#5
anticapitalista: Thanks! There is indeed a home directory installed. My .xinitrc is below. If it matters, I'm running icewm with icons.

I very much like the look, feel, and performance of antix, and would really like to get it running correctly..~(8^})=....!

#----------------------------------------------------------------------
# .xinitrc file
#
# AUTO-GENERATED by antiX-init.sh on Wed Nov 14 09:01:31 EST 2012
#
# This file was auto-generated. If you want to customize it you MUST
# DELETE the line above or your changes will be lost on the next boot.
#
# Alternatively, simply put your changes in .xinitrc-custom.
#----------------------------------------------------------------------

[ -x ~/.xinitrc-custom ] && ~/.xinitrc-custom

[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap

case"$1" in
Rox-icewm|rox-icewm)
export DESKTOP_CODE="rox-icewm"
echo"rox-icewm" > $HOME/.wallpaper/session
rox --pinboard=antiX-ice
exec icewm-session
;;
icewm)
export DESKTOP_CODE="icewm"
echo"icewm" > $HOME/.wallpaper/session
sed -i -e"s/rox --pinboard=antiX-ice &/#rox --pinboard=antiX-ice &/" $HOME/.icewm/startup
exec icewm-session
;;
Rox-fluxbox|rox-fluxbox)
export DESKTOP_CODE="rox-fluxbox"
echo"rox-fluxbox" > $HOME/.wallpaper/session
rox --pinboard=antiX-fb
exec startfluxbox
;;
fluxbox)
export DESKTOP_CODE="fluxbox"
echo"fluxbox" > $HOME/.wallpaper/session
sed -i -e"s/rox --pinboard=antiX-fb &/#rox --pinboard=antiX-fb &/" $HOME/.fluxbox/startup
exec startfluxbox
;;
dwm)
export DESKTOP_CODE="dwm"
exec dwm
;;
Rox-jwm|rox-jwm)
export DESKTOP_CODE="rox-jwm"
echo"rox-jwm" > $HOME/.wallpaper/session
rox --pinboard=antiX-jwm
exec jwm
;;
jwm)
export DESKTOP_CODE="jwm"
echo"jwm" > $HOME/.wallpaper/session
sed -i -e"s/rox --pinboard=antiX-jwm &/#rox --pinboard=antiX-jwm &/" $HOME/.jwm/startup
exec jwm
;;
wmii)
export DESKTOP_CODE="wmii"
exec wmii
;;

# Default: rox-icewm
*)
export DESKTOP_CODE="rox-icewm"
echo"rox-icewm" > $HOME/.wallpaper/session
rox --pinboard=antiX-ice
exec icewm-session
;;
esac


In addition, I've been unable to get smxi to complete; dist-upgrade halts with an error 100. Repeated applications of option 1 (install -f) doesn't fix the problem, and fsck -a sda1 returns a message of"file clean" on two different HD's now.

Looks like it might have to do with Libreoffice, although running apt-get update and apt-get upgrade -f as root doesn't seem to help.

# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libqt4-script libreoffice-core
The following packages will be upgraded:
libqt4-script libreoffice-core
2 upgraded, 0 newly installed, 0 to remove and 169 not upgraded.
131 not fully installed or removed.
Need to get 0 B/28.7 MB of archives.
After this operation, 16.4 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: unrecoverable fatal error, aborting:
reading files list for package 'libc-bin': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@antiX1:
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#6
Surprising on such a fresh install.

What does your etc/apt/sources.d/debian.list show?

Is your hard drive ok?
Posts: 39
frogprince
Joined: 08 Nov 2012
#7
anticapitalista: etc/apt/sources.list.d/debian.list shows:

# Note:If you want maximum stability, only use the soon to be stable/wheezy repos.
# Wheezy 'froze' on June 30 2012 and Debian 7 (Wheezy) is roughly scheduled to
# arrive in early 2013.
# During the freeze (June 30 2012 to early 2013), Testing and Wheezy repositories
# will be the same, but once Debian 7 is released, wheezy becomes the new stable
# release and will only recieve security updates, while Testing will be 'rolling'.

# Debian Testing. Default for antiX.
# Testing enabled for 'rolling' release.
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
testing main contrib non-free
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/"
linktext was:"http://security.debian.org/"
====================================
testing/updates main contrib non-free
#deb-src
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
testing main contrib non-free


# Debian Stable
# Use for maximum stability INSTEAD of the 'rolling' TESTING release concept.
# So, for max stability, UNCOMMENT the next two 'deb' lines and
# COMMENT-OUT the corresponding 'deb' lines in TESTING above.
#deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
wheezy main contrib non-free
#deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/"
linktext was:"http://security.debian.org/"
====================================
wheezy/updates main contrib non-free
#deb-src
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
wheezy main contrib non-free

# Multimedia Stable and Testing
# Use to install libdvdcss2 and codecs.
#deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.deb-multimedia.org"
linktext was:"http://www.deb-multimedia.org"
====================================
testing main non-free
#deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.deb-multimedia.org"
linktext was:"http://www.deb-multimedia.org"
====================================
wheezy main non-free

###### Debian Unstable/Sid##########
###### Use at your own risk! ########
#deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
unstable main contrib non-free
#deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.deb-multimedia.org"
linktext was:"http://www.deb-multimedia.org"
====================================
unstable main non-free

The hard drive passes fsck -a as"clean". Running smartctl yields:

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 392 -

I don't know how to check a HD any more thoroughly. This is the third drive I've tried; the first was bad for certain, both the other two have tested ok.
On my first install, running smxi seemed to fix the slim problem somehow. But since I put in a good drive, smxi won't complete, the error messages
are noted above. The CD I installed from tests good per the MD5 checksum. I've even tried apt-get update and apt-get upgrade -f to get the
underlying Debian packages up to date, but that gives the same result. Do we possibly have a Debian packaging error? The initial Libreoffice install
seems to run fine without the qt or other related upgrades that won't install. Is there a way to run smxi and just install the other updates so that
slim runs? Must I sacrifice a red chicken? I could try lubuntu just to see if it installs and runs correctly, but it just seems a bit soulless by
comparison to antiX.

Thanks for your time and suggestions!
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#8
Thing is I cannot reproduce the error with a fresh antiX-12 install.

You could try re-installing again and before updating, check all is working ok.
Posts: 609
dark-D
Joined: 02 Jun 2008
#9
from what i remember the .Xauthority file is created when you run sux for the first time.
also try apt-get purge slim && apt-get install slim
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#10
I selected the autoinstaller's"use entire disk" option in the installer
here's a blind stab (a guess):
that"entire disk" option copied a grub configuration containing"D" boot cheat code...
...and now, because dbus is disabled, slim cannot start
Posts: 39
frogprince
Joined: 08 Nov 2012
#11
dark-D: thanks for your kind suggestions.

Running sux from tty does nothing. Running sux as root from a terminal yields:

# sux
xauth: file /root/.Xauthority does not exist
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

Running apt-get purge slim && apt-get install slim removes slim completely, but does not find it in the debian repositories.

This seems to be some sort of hardware issue with debian. I've tried to install:
- debian 6.05/lxde, which hangs when trying to install software. Debian 5/lxde ran fine before.
- lubuntu 32 bit, which hangs during the install.
- lubuntu AMD64, which immediately tells me I have the wrong kernel.
- But Wary Puppy Linux installs and runs fine, so the hardware is not bad.

Antix installs and runs perfectly, slim and all, on my Compaq 1.7 GHz Evo. It also runs fine with slim when I install it onto a hard drive from another PC.
But it won't find the ethernet port or sound card. So I'm going to revert to my Evo for antiX purposes, and try something else on this
very strange machine (ECS K7AMA, 1 GHz AMD Athlon, 512 MB, ATI RV200 video card, ULi M5451 PCI sound card)

Thanks to all for your help.
Posts: 609
dark-D
Joined: 02 Jun 2008
#12
sorry to hear that. as a side note you need to run apt-get update before you try to install slim again. i was under the impression that you already ran a dist-upgrade so the lists were updated.
Posts: 39
frogprince
Joined: 08 Nov 2012
#13
I finally figured it out. The whole problem was caused by the ATI video card. Put in a GeForce 5200 I had laying around, and now everything runs flawlessly: slim, smxi, the whole shebang.

Thanks to all for your suggestions!

Now, how do I access the nVidia driver to increase the resolution? The antiX control panel has only 1024x768 available.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#14
use smxi script to install nvidia driver or use free nouveau driver by removing the nouveau entry at boot menu
Posts: 162
drg
Joined: 22 Feb 2010
#15
“I finally figured it out. The whole problem was caused by the ATI video card.”
Coinsidance maybe, but two computers I’ve got have that won’t-load-slim-at-bootup, sticks-you-in-tty, work-around-is-type-slim-again-as-root. Both have ATI:

Graphics: Card: Advanced Micro Devices [AMD] nee ATI RV370 5B60 [Radeon X300 (PCIE)] bus-ID: 01:00.0
X.Org: 1.12.4 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: 1280x1024@60.0hz