LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-02-2004, 03:40 PM   #16
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47

Quote:
Originally posted by Micro420
This whole konqueror business is just all confusing and inconsistent. I hope Mandrake fixes this problem soon because it's stumping a lot of people on Mandrakeclub forums.
I fixed it by not using KDE! I use IceWM and Firefox, Thunderbird, and Midnight Commander. (I think Midnight Commander is plain screwy, but I've got very fond of it like you learn to like a peculiar friend sometimes.)

But seriously, KDE seems like a good environment, if a little slow, I've experimented with it--I hope your
problems will get fixed soon.

On a related note, a few times recently I've had trouble with Firefox and wanted to see if Konqueror could
access a website or do something I couldn't get done (temporarily) with Firefox.

I could never get it to work as a browser, and I could not find in any of the dozens of KDE menus how to
make it (temporarily) the default browser. I never once got to use it as a browser.

In earlier releases of Mandrake, I could invoke Konqueror and use it as a browser with no changes at all.

(I have all the KDE stuff loaded, just in case, you might say--and because it's easier to install that way. I have
plenty of disk space so it's not really a problem.)

Last edited by jonr; 11-02-2004 at 03:42 PM.
 
Old 11-02-2004, 03:42 PM   #17
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Actually it's quite consistent.

If the machine doesn't know it's own hostname, X cannot launch programs due to security concerns. (It doesn't know which machine is launching the program.).

Fix the machine name and the problem goes away.

Mandrake should:

a) Provide additional handholding so that the user gets this right
b) Improve dealing with NICless machines which are also usually not named properly
c) Deal with the naming issue when a nic is not detected during setup and startup.
 
Old 11-02-2004, 03:46 PM   #18
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by opjose
Actually it's quite consistent.

If the machine doesn't know it's own hostname, X cannot launch programs due to security concerns. (It doesn't know which machine is launching the program.).

Fix the machine name and the problem goes away.

Mandrake should:

a) Provide additional handholding so that the user gets this right
b) Improve dealing with NICless machines which are also usually not named properly
c) Deal with the naming issue when a nic is not detected during setup and startup.
I sure agree. Something that I cannot understand is how hard it is to find, through Google search or a search here or elsewhere in Linux resources, the simple matter of how to set the hostname.

I finally found the really good way through a post on LQ just the other day. Once I did it that way, my sendmail and sm-client loaded instantly as compared to a total of four minutes of fumbling around looking for a useful hostname. And I imagine it accomplished other improvements, too.

A lot of information about setting hostnames that I've found in searches is well-meaning but incomplete, if not downright wrong.

If I had the link to the good advice I finally found here, I'd include it, but I didn't save it.... It was a recent post.
 
Old 11-02-2004, 04:01 PM   #19
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Please post the link if you find it. PLEASE! LOL

I plan on doing a clean install this weekend and actually setting a proper hostname.
 
Old 11-02-2004, 04:10 PM   #20
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by Micro420
Please post the link if you find it. PLEASE! LOL

I plan on doing a clean install this weekend and actually setting a proper hostname.
My face is kinda red at this point, Micro420. As soon as I saw your name, it rang a little bell (bing!) and
I thought, hey, I think that post was in this thread!

Well, it wasn't, but my post echoing what had been advised, and WORKED, is at

http://www.linuxquestions.org/questi...77#post1268577

Basically I was just following the excellent advice given by the other guy. When I find the original
post I'll put the link in here, too, as an edit.
 
Old 11-02-2004, 04:12 PM   #21
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by Micro420
Please post the link if you find it. PLEASE! LOL

I plan on doing a clean install this weekend and actually setting a proper hostname.
My face is kinda red at this point, Micro420. As soon as I saw your name, it rang a little bell (bing!) and
I thought, hey, I think that post was in this thread!

Well, it wasn't, but my post echoing what had been advised, and WORKED, is at

http://www.linuxquestions.org/questi...77#post1268577

Basically I was just following the excellent advice given by the other guy. When I find the original
post I'll put the link in here, too, as an edit.

EDIT: I found it. It's in the thread "Hostname and Sendmail" at

http://www.linuxquestions.org/questi...+hundred+times
 
Old 11-02-2004, 04:17 PM   #22
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
jonr, I don't know much about this stuff, but what what do I do here in my /etc/hosts file?

Code:
127.0.0.1  localhost.localdomain   localhost   MyHomeServer
I don't understand the localhost.localdomain part. How do I find out what to put there?

Also, the guy in the link of the post you posted writes:

Quote:
If/When you finally assign an IP address to eth0 for this system on your home lan, then change /etc/hosts to something like:
Code:
127.0.0.1     localhost.localdomain        localhost
192.168.1.3   MyHomeServer.localdomain     MyHomeServer
how do I assign my computer an IP address as he does in his example (192.168.1.3). I am connected to a router and I think it is DHCP so it's not the same everytime?

 
Old 11-02-2004, 04:42 PM   #23
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Quote:
Originally posted by Micro420
jonr, I don't know much about this stuff, but what what do I do here in my /etc/hosts file?

Code:
127.0.0.1  localhost.localdomain   localhost   MyHomeServer
I don't understand the localhost.localdomain part. How do I find out what to put there?

Also, the guy in the link of the post you posted writes:



Code:
127.0.0.1     localhost.localdomain        localhost
192.168.1.3   MyHomeServer.localdomain     MyHomeServer
how do I assign my computer an IP address as he does in his example (192.168.1.3). I am connected to a router and I think it is DHCP so it's not the same everytime?
If it's DHCP, it is the same every time, isn't it? I thought that was for static addressing... I'm probably wrong.

Anyway, "localhost.localdomain" is to be taken literally--use those words. It works. The word "localhost" after that is literal, too. Then the name of your machine, whatever you choose it to be. The post by me that I gave the link to, shows exactly what I put in my /etc/hosts and /etc/rc.sysinit files that works for me. What you can do if you feel uneasy about doing this, is to comment out (# as the very first non-space character of the line) the original lines in those files, then put your own in, and if things don't work better, just go back and put them back the way they were before. Or back up the original files so you can replace the altered ones, but the commenting I find much easier and also if you look at such a file later it reminds you of what you did.

I hope this helps! I would say, "I don't see why Linux has to be so complicated," but I won't, because I know some of the reasons why, and also because it always starts people complaining that if you don't want to become an expert, use Windows. Which I won't do, period.
 
Old 11-02-2004, 07:13 PM   #24
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
To add further confusion and problems, Mandrake also supports the eminently USEFULL, profiles.

If you've enabled profiles, Mandrake keeps a copy of your initial settings elsewhere in the system.

Then depending upon the choosen profile, Mandrake will revert back to the stored settings upon the next boot.

Again this is not explained.

This is GREAT for a laptop which may move from network to network, but causes undue confusion to a home user who finds that they set something, and upon reboot everything goes back to the way they were!

The profiles are at work in this case.
 
Old 11-02-2004, 11:06 PM   #25
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Kubuntu 10.04, Mint 8 and Puppy 4.3.1
Posts: 355
Blog Entries: 1

Rep: Reputation: 31
Same thing for me

My konqueror use to work fine, as well as my external firewire drive.

Yesterday after I configured a firewall with Kmyfirewall I noticed soon after that Konqueror would not respond an that my external drive fat32 partition was corrupted and unaccesible. What happens is it appears on the taskbar for a brif period with the hourglass, but it dissapears and nothing happens.

I reformated my ext. drive and rebooted. After much playing around I established that as long as my external drive was unplugged from the PC Konqueror worked just fine. When I mount my drive. Nothing again.

I then installed the file manager Krusader, witch by the way is great. With Krusader I have no problem at all mounting my drive and accessing it. I also tried a few other file manager and they also work fine.

The thing is I would like Konqueror to work because it is needed sometimes by other KDE apps.

I will try the solutions posted here and read up on the Mandrake forums and post my results back.

Konqueror is unfortunately very much emmbedded into KDE and cannot be merely uninstalled and reinstalled. If it were that easy, geees!
 
Old 11-02-2004, 11:10 PM   #26
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Re: Same thing for me

Quote:
Originally posted by Steel_J

Konqueror is unfortunately very much emmbedded into KDE and cannot be merely uninstalled and reinstalled. If it were that easy, geees!
This dependence of one module or application on another, or many others, is a strength and a weakness at once!

Best of luck in getting it working. If you find any new problem-solving shortcuts that work, there will be many other users they may help.
 
Old 11-03-2004, 12:41 AM   #27
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Kubuntu 10.04, Mint 8 and Puppy 4.3.1
Posts: 355
Blog Entries: 1

Rep: Reputation: 31
Lightbulb Eureka!!! Konqueror wont start problem

Found a permanent solution that works in the MandrakeUsers.org forums.

It can be found here, the fix is in the last post: http://mandrakeusers.org/index.php?s...2&hl=konqueror

I tried it and it works all the way. The solution also makes a lot of sense with all the different symptoms reported. The problem is related to automated mount watching functions , i.e the app that watches for any device that needs to be automounted, like an external drive.

I had the exact same symptoms described in this post, including the KDED process taking up to 90-95% of my CPU.

A small downside is that you will lose the function that makes icons appear whenever you insert a cd or dvd, but to me this is unnecessary. You can create mounting icons yourself on your desktop that will be permanent.

After rebooting ,when I saw the fix worked I checked my running processes again and the KDED cpu hogging has stopped also, witch makes my system a lot more responsive. My external drive also works perfectly.

I am happy if this also helps others who have been plagued by this bug a while now.


Here is an excerpt:

Quote:
This bug is being widely reported so your not imagining things. See this link with a posted solution of editing /etc/hosts:

http://forum.mandrakeclub.com/viewto...d3b8a4027797b7

That works OK until you plug in a usb storage device(card reader, camera, hard drive, etc) then you'll be right back at square one and konqueror won't open even after removing the device. Also, your desktop icons wil start to refuse to load on login . I ran into this problem on both my laptop and my regular box. I tried to open konqueror from the command line and it just would hang w/o any error message. I then opened up another console to check the running processes with:

$ ps aux

and a process called "kded" was taking up 95% of my cpu!!! A little googling around and I came across this solution which seems to work:

The problem is with mountwatcher.desktop which is part of kded. It needs to be disabled but it's not easy to do that. First go to /usr/share/services/kded and you will see mountwatcher.desktop. It doesn't look like a text config file but it is; open it with your favorite text editor as root. Go to the last line which will read something like this:

X-KDE-Kded-load-on-demand=true

Change "true" to "false", save the changes. Go to kde control center>LookNFeel>Behavior>Device Icons and untick the "Show device icons" box. Log out and log back in.

That worked for me; no more problems with konqueror. Note, with the mountwatcher disabled, magicdev won't put an icon on your desktop when a cd is inserted and automounted. It will automount the cd which you can access through the mount point, but w/o an icon you have to unmount the drive from the command line. That got pretty old so I uninstalled magicdev and made mounting icons for my cd drives on my desktop just like in the old days.

This post has been edited by pmpatrick: Yesterday, 11:59 AM

Here are some keywords to help people find this thread: Mandrake 10 konq konqueror
will not open hangs bug

Last edited by Steel_J; 11-03-2004 at 02:02 PM.
 
  


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
could not open konqueror suguname Mandriva 7 02-02-2005 01:41 AM
Open PDF's in Konqueror qwijibow Linux - Software 2 08-22-2004 10:15 AM
Konqueror open new tab instead of a new instance zho40 Linux - Software 1 03-22-2004 04:12 PM
Konqueror Web Browser Does not open rahulnsoni Linux - Newbie 4 02-09-2004 06:48 AM
same problem with open office and konqueror cdavidson Linux - Software 1 01-21-2004 05:57 AM

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

All times are GMT -5. The time now is 01:10 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