Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-18-2005, 05:41 PM   #1
LQ Newbie
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
Unhappy Suse 8.2 Boots to CLI not to GUI

Hey guys, I am a total Linux newbie. Before you guys flame me for asking this question, understand that I've been googling all night long to try and solve my problem.

I just installed Suse 8.2 professional on my Gateway Solo 9500 laptop, which also has Win 98 on it (sorry, don't hate me for still having windows, I need to transition some how) . I went through the installation process, installed kde and gnome, and everything went well until I rebooted Suse and it went right to the command prompt. I entered in as root, and tried the command startx and initx and I got an error message. It directed me to check my XFree86.0.log.

I checked it by running the command

more /var/log/Xfree86.0.log

and it gave me a lot of stuff that I have no idea what it means.
And I also don't know how I can get any of that info on that screen onto here, like, is there a way to extract that log or copy it to an A disk and then transfer it onto this computer so that I can show it to you guys? I tried to look on my windows partition in the explorer to see if I could find the linux partition, but there wasn't a new drive.

Sorry that I'm so clueless, but this problem is totally stressing me out.

Thanks for any help you guys can give me,
Old 06-18-2005, 06:54 PM   #2
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Typically you need to run the startx command as a regular user instead of as root.

If you want to boot straight into X, edit /etc/inittab and change the default runlevel.

Create a regualr user if you haven't alreeady, log in as regular user, and then enter startx to run the X server from the CLI
Old 06-18-2005, 07:16 PM   #3
LQ Newbie
Registered: Jun 2005
Posts: 3

Original Poster
Rep: Reputation: 0
alright, I logged in under my regular user name, (not root) and I got the same error message.

I then typed
and I got an error that was a few lines long.

I dont know how to copy it, so Im retyping it

xdpyinfo: unable to open display "".
/usr/X11R6/bin/kde: line 233: [: -gt: unary operator expected
/usr/X11R6/bin/kde: line 234: [: -gt: unary operator expected
/usr/X11R6/bin/kde: line 235: [: -gt: unary operator expected
/usr/X11R6/bin/kde: line 236: [: -gt: unary operator expected
/usr/X11R6/bin/kde: line 237: [: -gt: unary operator expected
/usr/X11R6/bin/kde: line 168: add_desktop_position: command not found
cp: cannot create regular file '/Windows_C.desktop: Permission denied
/usr/X11R6/bin/kde: line 171: /Wincows_C.desktop: Permission denied
/usr/X11R6/bin/kde: line 172: /Wincows_C.desktop: Permission denied
/usr/X11R6/bin/kde: line 173: /Wincows_C.desktop: Permission denied
xsetroot: unable toopen display ''
ksplash: cannot connect to X server
kdeinit: ABorting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
startkde: shutting down . . .
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit
startkde: Running shutdown scripts...
startkde: Done.

That was what I saw. So I'm going to reinstall and see if i cant load kde again, although this is the third time ive reinstalled, so I have no idea what the problem is.

Once again, sorry for being a newbie, and sorry for not understanding any of this, so please be patient with me.
Old 06-18-2005, 07:24 PM   #4
LQ Newbie
Registered: Jun 2005
Location: Poland
Distribution: Arch Linux
Posts: 11

Rep: Reputation: 0
But why you are using Suse 8.2?? It won`t be easier to install some new version like Suse 9.2 or 9.3. The Suse 9.2 Professional was in the Linux Magazine or just download it from some ftp.

Old 06-18-2005, 07:25 PM   #5
LQ Newbie
Registered: Jun 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I bought Suse 8.2 like 2 years ago, and put it on my old desktop, just to see if I could, and I did.

I saw the disks lying around the other day and I wanted to put it on my laptop, so that is why I am at the current predicament I am in.
Old 06-22-2005, 08:27 AM   #6
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Try "startkde" instead of "kde" after your configure your X. As root,


Answer the questions and then try to startx or startkde again. Hope this helps.


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
boot CLI vs GUI weazy Linux - Software 2 08-04-2006 09:15 PM
changing gui from cli twistedrhymes Linux - Newbie 3 06-14-2005 02:44 AM
can only change network with GUI, not CLI learnfast Linux - Newbie 2 05-03-2005 06:30 AM
boots, but... no GUI/X only1gameguru Linux - General 3 08-18-2004 12:11 PM
boots to command but I need GUI coopns Linux - Newbie 9 05-27-2004 12:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:08 PM.

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