LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-23-2006, 02:13 AM   #1
Contrast
LQ Newbie
 
Registered: Oct 2006
Posts: 10

Rep: Reputation: 0
Can't start KDE...


I've been searching through forums for going on three hours trying to find a solution to this with no luck, and was hoping someone here might be able to help me. Changes since my last successful boot: 1) I was trying to make my MP3 files that are stored on my Windows desktop accessable to my Linux laptop (I was able to read them through Samba without a problem, but in order to play them, I had to copy and paste them to my laptop's HD). I typed "sudo smbmount //Main/C /mnt/windows" after creating the windows subdirectory under /mnt, as advised by a user on the Ubuntu community forums. 2) I let Adept download the latest updates (language packs from Ubuntu). 3) I moved /usr/src into the folder containing the files for Gnutella which I had just installed, since src appeared to only contain files relating to this program (I very possibly could've over-looked important system files), and moved this directory into /usr/share (I was concerned for a while that this was the problem, but I'm almost certain it's not, as I have since moved src back into /usr, as well as moving src and the gnutella folder to /home/mike/My_Files). I assumed I needed to reboot my system in order for Linux to mount the files from my desktop to my laptop, so I restarted. The load screen came up and everything appeared to load normally (The progress bar filled completely up). Then a blank screen briefly appeared, followed by a loading screen that was "stuck" - the progress bar stayed empty and no information appeared under it; the activity light on my computer was also completely inactive. I tried Ctrl+Alt+F7 to return to the GUI, which did nothing. Then I hit Alt+F1 and logged in. I've tried the following commands and gotten this feedback:

"mike@mikeslaptop:~$ kdeinit
kdeinit: Aborting. $DISPLAY is not set."

"mike@mikeslaptop:~$ kdeinit [after xset]
Link points to "/tmp/ksocket-mike"
kdeinit: Can't connect to the X Server.
kdeinit: Might no terminate at end of session.
Link points to "/tmp/kde-mike"
kded: cannot connect to X server 127.0.0.1:0
DCOP aborting call from 'anonymous-4915' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed."

"mike@mikeslaptop:~$ startx [with and without "-fullscreen" at the end"
xauth: creating new authority file /home/mike/.serverauth.4794 [This number is different every time I input this command, going up in increments of 21 with each attempt]

giving up.
xinit: Connection refused (errno 111) unable to connect to X server
xinit: No such process (errno 3): Server error."

"mike@mikeslaptop:~$ startkde
xsetroot: unable to open display ''
xset: unable to open display ""
xset: unable to open display ""
xsetroot: unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
kdeiit: Aborting. $DISPLAY is not set.
Warning: connect () failed: : No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Runnng shutdown scripts...
startkde: Done."

Following the advice given in responses to a few threads that seemed relevant to my situation, I tried the following commands with this feedback:
"mike@mikeslaptop:~$ export DISPLAY="127.0.0.1:0
[no feedback]"

"set DISPLAY=0:0
[no feedback]"

"mike@mikeslaptop:~$ xset -fullscreen
xset: unable to open display """

I'm becoming exceeding frustrated, and am really hoping someone can help me solve this. I haven't ruled out reinstalling Kubuntu as a last resort, but there are a good number of files on my laptop's HD that I'd like to back up beforehand if this is still possible, be it through command lines that will operate K3B or command lines that will copy them to my Windows desktop. My knowledge of Linux in general, and the command line especially, is very minimal, so any help that keeps that in mind (i.e., very specific instructions ) would be greatly appreciated.

Last edited by Contrast; 10-23-2006 at 02:29 AM.
 
Old 10-23-2006, 02:30 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi,

And welcome to LQ!

I'm moving the post over to the Ubuntu forum. As far as assessing what's going
on goes: have you tried to boot in Ubuntus equivalent of "safe mode" and examined
the logs in /var/log, namely Xorg.0.log ?


Cheers,
Tink
 
Old 10-23-2006, 03:02 AM   #3
Contrast
LQ Newbie
 
Registered: Oct 2006
Posts: 10

Original Poster
Rep: Reputation: 0
"root@mikeslaptop:~$ /var/log/Xorg.0.log
bash: /var/log/Xorg.0.log: Permission denied"

I thought the sudo prefix was only required when not logged in as root, but I figured I'd try it given the above response.

"root@mikeslaptop:~$ sudo /var/log/Xorg.0.log
sudo: /var/log/Xorg.0.log: command not found"

Thanks anyway, Tinkster.

Following are a few other commands and responses following my logging in as root.

"root@mikeslaptop:~$ startx 0
xauth: creating ew authority file /root/.serverauth.3897

X: warning: process set to priority -1 instead of requested priority 0
giving up
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error."

I've also deleted /mnt/windows, which I thought would unmount it from my system, but when the computer is shutting down, "Unmounting remote filesystems" is still in its list of processes - It completes this process successfully. I then tried remounting //Main/C to /mnt/windows so that I could unmount it using the proper command (umount) - "Could not resolve mount points."

Still haven't made a bit of real progress over the course of 5+ hours. I'm ready to give up. Can anyone tell me how to tell me how to back up /home/Mike/My_Files from the command line? Please keep in mind that I'm a complete newbie, so I would need to know what to type in the command line verbatim as I'm still unfamiliar with 99% of the commands for Terminal. Thanks.

Last edited by Contrast; 10-23-2006 at 03:32 AM.
 
Old 01-13-2007, 03:48 PM   #4
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
cd /
tar -cvf home.tar home

(Try man tar for explanation)
 
Old 01-13-2007, 03:49 PM   #5
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
To restore home directory

tar -xvf home.tar
 
Old 01-14-2007, 03:44 AM   #6
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by Contrast
"root@mikeslaptop:~$ /var/log/Xorg.0.log
bash: /var/log/Xorg.0.log: Permission denied"

I thought the sudo prefix was only required when not logged in as root, but I figured I'd try it given the above response.

"root@mikeslaptop:~$ sudo /var/log/Xorg.0.log
sudo: /var/log/Xorg.0.log: command not found"

Thanks anyway, Tinkster.
You don't run the file, you look at it, it's a log file
Code:
less /var/log/Xorg.0.log
Quote:
Originally Posted by Contrast
Following are a few other commands and responses following my logging in as root.

"root@mikeslaptop:~$ startx 0
xauth: creating ew authority file /root/.serverauth.3897

X: warning: process set to priority -1 instead of requested priority 0
giving up
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error."

I've also deleted /mnt/windows, which I thought would unmount it from my system, but when the computer is shutting down, "Unmounting remote filesystems" is still in its list of processes - It completes this process successfully. I then tried remounting //Main/C to /mnt/windows so that I could unmount it using the proper command (umount) - "Could not resolve mount points."
Check /etc/fstab and make sure you aren't mounting more than one thing to the same place
Quote:
Originally Posted by Contrast
Still haven't made a bit of real progress over the course of 5+ hours. I'm ready to give up. Can anyone tell me how to tell me how to back up /home/Mike/My_Files from the command line? Please keep in mind that I'm a complete newbie, so I would need to know what to type in the command line verbatim as I'm still unfamiliar with 99% of the commands for Terminal. Thanks.
If you're going to back it up, you may want to compress it too
Code:
cd /home/Mike
tar cjvf my_files.tar.bz2 My_Files
then to restore it
Code:
cd /home/Mike
tar xjvf my_files.tar.bz2
 
  


Reply



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
Can't start KDE or run some KDE applications Per Mandriva 6 07-05-2006 11:34 AM
KDE crashes on start, so does any KDE app... asdfjkl Linux - Software 3 04-18-2006 03:19 AM
KDE start menu breaked on a self-compiled KDE kleag Mandriva 3 09-01-2005 08:17 AM
KDE won't start TazG Debian 23 04-19-2004 07:03 PM
KDE won't start helenvale Linux - Newbie 6 07-10-2003 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration