Had been running smoothly for a while in Slackware 14 on my laptop, did full install with KDE,then after installing Tor and Vidalia, the Vidalia icon stopped working, so I restarted the computer.
For my primary user, startx was no longer recognized as a command.
I was still able to startx from root, so then I made a user test using all defaults and startx works here too... though after reboot, startx is also "not found" for test.
echo $PATH startx for the user:
/usr/local/bin:/bin:/usr/bin startx
echo $PATH startx for the superuser (su -l):
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/kde4/libexec:/usr/lib/qt/bin:/usr/share/texmf/bin startx
I have also tried copying .Xauthority from root to the user, but to no avail.
Another thing I tried was setting x to start using init scripts, but when it booted x, and I attempted to log in as user, it ignored my command until I logged in as root
visudoand addtest ALL = (root, test) ALLto the file, so that you cansudoas root from your test user... In case you're not familiar with the site here's all you need to know on the sudoers file – Elias Van Ootegem Mar 13 at 0:33