LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-01-2004, 09:15 PM   #1
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Kubuntu 9.04 (workstation) Debian 3.1r4 (file server) Knoppix (troubleshooting)
Posts: 191

Rep: Reputation: 30
Exclamation 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.

 
Old 07-01-2004, 09:30 PM   #2
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Kubuntu 9.04 (workstation) Debian 3.1r4 (file server) Knoppix (troubleshooting)
Posts: 191

Original Poster
Rep: Reputation: 30
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.
 
Old 07-01-2004, 09:55 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
I am guessing that you changed the PATH environment variable for your user.

Do a

Code:
echo $PATH
I'm thinking it doesn't contain /usr/X11R6/bin/

If it doesn't, put the following in /etc/profile
export PATH=$PATH:/usr/X11R6/bin/
 
Old 07-01-2004, 10:45 PM   #4
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Kubuntu 9.04 (workstation) Debian 3.1r4 (file server) Knoppix (troubleshooting)
Posts: 191

Original Poster
Rep: Reputation: 30
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?
 
Old 07-01-2004, 10:51 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
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
 
Old 07-01-2004, 10:53 PM   #6
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Kubuntu 9.04 (workstation) Debian 3.1r4 (file server) Knoppix (troubleshooting)
Posts: 191

Original Poster
Rep: Reputation: 30
Thanx! I'll give that a shot when I'm done ripping this CD.
 
Old 07-02-2004, 12:24 PM   #7
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Kubuntu 9.04 (workstation) Debian 3.1r4 (file server) Knoppix (troubleshooting)
Posts: 191

Original Poster
Rep: Reputation: 30
Again, thanx darth. But alas this did not fix my particular challenge.

Any other suggestions?

Anyone?
 
Old 07-02-2004, 05:57 PM   #8
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 49
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
 
Old 07-04-2004, 07:41 AM   #9
gvaught
Member
 
Registered: Sep 2003
Location: MidWest
Distribution: Kubuntu 9.04 (workstation) Debian 3.1r4 (file server) Knoppix (troubleshooting)
Posts: 191

Original Poster
Rep: Reputation: 30
Thanx for that input. I'll try that suggestion when I get back home.

Happy 4th to all who are celebrating today!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI only starts as root xri Linux - Newbie 3 04-03-2005 11:14 AM
Help with using GUI as root Nei125 Linux - Newbie 6 02-25-2005 03:39 PM
root gui konqueror blinux1 Linux - Newbie 2 01-07-2005 02:53 PM
GUI root login? LinuxSeeker Linux - General 6 02-15-2004 09:02 AM
How to log in (root) without GUI thenewbster Mandriva 4 09-20-2003 03:44 PM


All times are GMT -5. The time now is 04:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration