LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-16-2003, 11:24 PM   #1
Budha
LQ Newbie
 
Registered: Sep 2003
Location: Winnipeg, MB, Canada
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
Unhappy How do I include the error message?


I had Debian successfully installed with the 2.2 kernel. On it, Window Maker was working just fine. I found a site that mentioned a program called Synaptic. Gotta tell ya, I love that program!!

I'd like to have a system that is as functional as Windows (the other OS on the same machine but different physical drive) but isn't Windows. From what I'm seeing, I'm sure it can be done.

I tried installing KDE. Granted it's a large package, but it seems to have lots of stuff I want. The problem is, I can no longer log into Xwindows (startx). It tries to log in using the KDE interface, gives me the KDE splash screen, and then dies with this long error message.

I've read in a few threads that it's a good idea to include the whole error message when asking for help.

How do I do that? On my Debian system, I only have a command prompt. I am, however, able to access the Internet as the apt-get command works just fine.

Also, if it's easier, perhaps someone can just tell me how to remove the KDE package and I'll try other things through Window Maker in the mean time.

Thanks to anyone who can help.

Budha.
 
Old 10-16-2003, 11:39 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
hmm, if you are typing at a command prompt
simply append
2> *filename*.txt
to the end of the command you are running to redirect any error messages generated to the file *filename*.txt
then just copy and paste into the web browser for posting
 
Old 10-16-2003, 11:41 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
p.s.
'>' is a redirect at the command prompt
0> redirects input
1> or simply > redirects standard output
2> redirects standard error messages
hope this helps
 
Old 10-16-2003, 11:43 PM   #4
Budha
LQ Newbie
 
Registered: Sep 2003
Location: Winnipeg, MB, Canada
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks, but how can I paste anything into a browser if I'm only getting a command prompt?
 
Old 10-17-2003, 12:14 AM   #5
tearinox
Member
 
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348

Rep: Reputation: 30
if you open the program in terminal, the error usually pops up in there. Then select the text (click and hold and there should be an edit at the top or right click should have something like "copy" then go to browser and in the edit menu there should be something like "paste"

usually you can jus use this
hotkeys: "ctrl + c" "ctrl + v"
 
Old 10-17-2003, 12:24 AM   #6
Budha
LQ Newbie
 
Registered: Sep 2003
Location: Winnipeg, MB, Canada
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks everyone...I've gone ahead and just re-installed Debian with the 2.4 kernel. Window Maker is back up and running, and Synaptic as well.

So, I guess, for now, we can start worrying about this.

Thanks again.
 
Old 10-17-2003, 05:38 PM   #7
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Quote:
Originally posted by Budha
Thanks, but how can I paste anything into a browser if I'm only getting a command prompt?
i see i'ts a little late for this one, but what that does is ouputs it to a file then you can copy it to a disk and paste it into a web browser on another machine
 
Old 10-18-2003, 02:29 AM   #8
Budha
LQ Newbie
 
Registered: Sep 2003
Location: Winnipeg, MB, Canada
Distribution: Gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
Ok. I believe I save the error message to a .txt file. The command I used to redirect the error message was:

startx 2> xerror.txt

I also did startx 2> /floppy/xerror.txt which, I thought, should write it directly to the floppy disk.

After running the 1st command, I tried to copy it to a floppy disk with this command:

cp /home/budha/xerror.txt /floppy

According to everything I can see, this worked. While still at the command prompt, cause I can't seem to login to KDE, I can navigate to /floppy directory, and when I run the ls command, it lists the file. I type in the ls command at the debian:/floppy# prompt and lists the file and takes me back to a prompt...like this:

debian:/floppy# ls
xerror.txt
debian:/floppy#

What am I not getting here? When I moved the floppy disk over to another PC (Win XP), there's nothing showing up on the disk.

It's probably something I overlooked, but I can't put my finger on it.

Thanks for your help so far everyone. I've learned quite a bit in the last couple of days.
 
  


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
Matplotlib: Need help fixing weird include error Neruocomp Linux - Software 1 09-15-2005 07:56 PM
Error when compiling 2.4.26(can't find the include files) iZvi Slackware 2 05-25-2004 06:27 AM
multiple #include 'Error' Hady Programming 6 02-07-2004 10:53 AM
/usr/include/linux/version.h #error ? jeppe Linux - Newbie 6 09-01-2003 02:15 AM
#include <iostream> ERROR alexrm1x Programming 9 03-14-2003 11:04 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration