no GUI except as root
Greetings and apologies if this comes as a repost. I have spent a couple of hours reading previous posts along these lines (most on other distros) and none have solved my problem.
My biggest problem is going to be H.U.B. syndrome. I installed Sarge (netinst worked just peachy for me) and got things working well. And I was dinking around in KDE one day, modifying settings that looked pretty inocuous but making things "better" for me. One of the settings I changed was to enable the GUI login using gdm. No biggie, it worked and life was pretty non-geekish for a couple of weeks. But I wanted my geeky CLI login back - after all I can spell startx. Here is where I ran into trouble, once I thought I had the settings correct, I rebooted and ran into a series of errors like I'd never wanted. Anyway, about a week later, I have things back to "usable". I have apt-get removed kdm and gdm and am back to my CLI login. My big problem is that I can't get startx to work under any login except root. The errors I get have nothing to do with my /home slice being full - it's a brand new 120GB drive dedicated to that fs. I did check and my .Xauthority in my /home/user directory was 0 bytes. I copied the file from /root but that didn't help. I figured that it wouldn't hurt, but now I don't know if I'll ever get back to my original user login on KDE. Anyway, can someone help me with this? I can provide whatever info you would need, except, of course, things that would compromise the security of the system or network. I am really happy with this distro and don't want to screw things up ("Too late!") any worse. :( :confused: :cry: :scratch: :study: |
okay, I just attempted it again (I figured SOMEONE out there would want the error msgs) and here is what I get:
$:startx hostname: Host name lookup failure xauth:error while loading shared libraries:libXmuu.so.1:cannot open shared object file:No such file or directory (6 times) I hope that helps someone to slap me on the back of the head and say "Duh! <insert corrective action here>". Thanx. |
I am guessing that you changed the PATH environment variable for your user.
Do a Code:
echo $PATH If it doesn't, put the following in /etc/profile export PATH=$PATH:/usr/X11R6/bin/ |
darth,
You are correct. /usr/X11R6/bin is not in the $PATH for the user account. It is also not in the $PATH for the root account, either. Does that make a difference? |
I think I found you answer. On LQ no less!!
- type ldconfig, hit enter - type startx, hit enter From: http://www.linuxquestions.org/questi...hreadid=191098 |
Thanx! I'll give that a shot when I'm done ripping this CD.
|
Again, thanx darth. But alas this did not fix my particular challenge.
Any other suggestions? Anyone? |
As root, with your favorite editor add these lines in your /home/user_name/.xsession
#!/bin/sh xhost +localhost reboot, just to make sure, hope this helps |
Thanx for that input. I'll try that suggestion when I get back home.
Happy 4th to all who are celebrating today!!! |
All times are GMT -5. The time now is 01:09 AM. |