Re: [opensuse] konqueror browser

2007-07-20 Thread Seth Arnold
On Sat, Jul 14, 2007 at 08:30:27PM -0400, Michael Derek Barnett wrote:
> If you have been playing around with it, go back through the apparmor
> profiles just to make sure you didn't set one on konq.

Do note that setting an AppArmor profile on ANY KDE application is
liable to give strange problems due to KDE's process model.

AppArmor attaches profiles to programs at exec() time, based on the
image that is used to execute the new process.

KDE starts a single process, kdeinit, that incurs all the runtime
startup costs associated with creating a new process. A typical KDE
application links in a ton of libraries; this takes time. KDE avoids the
startup time when creating new programs by simply cloning the kdeinit
task and jumping to the entry point in the right library to run whatever
program you need.

The upshot of all this is that if you run 'konqueror', it will simply
notify kdeinit to create a new instance of itself and run the konqueror
widget.

The first time a KDE program is run, it sets up this machinery..

So if you confine any KDE application, you run the risk that all your
KDE applications will run under that profile.

You can set the following environment variables to force KDE to avoid
the fast-start procedures, and allow more sane use of AppArmor profiles
with KDE:

export KDE_EXEC_SLAVES=1
export KDE_IS_PRELINKED=1

Hope this helps :) (though sadly not the original poster..)


pgpn5zAxKV7O7.pgp
Description: PGP signature


Re: [opensuse] konqueror browser [SOLVED]

2007-07-16 Thread Will Stephenson
On Sunday 15 July 2007, Gavin Chester said:
>
> BRILLIANT deduction, Raymond!! :-) :-) That was it. In the first
> instance, I simply shut down knetworkmanager and then konqueror was
> instantly able to load web pages as normal. FANTASTIC. It's a
> double-edged sword having all kde's app integration.
>
> Much appreciation to all who quickly and ably contributed suggestions to
> my problem that I had given up on before. Great work.

So we have a bug in the offline mode code that I added to the KDE that will go 
out in 10.3.  Would you mind helping me troubleshoot this?  I'm concerned 
because you didn't say that it was blocking network access when 
knetworkmanager was obviously offline.

If so, please open a bug at bugzilla.novell.com, assigned to me 
([EMAIL PROTECTED] there) and we can break it down step by step.  I have 
a number of questions for you and Raymond  but I'd rather do it in Bugzilla.

Will


-- 
Desktop Engineer
Interfaces and Applications Team
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser [SOLVED]

2007-07-14 Thread Gavin Chester
On Sun, 2007-07-15 at 07:29 +0200, Raymond wrote:
> On Sunday 15 July 2007 06:02:29 you wrote:
> > On Sat, 2007-07-14 at 20:30 -0400, Michael Derek Barnett wrote:
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > Gavin Chester wrote:
> > > > I know this is a shot in the dark for you all, but I am at a loss
> > > > completely ...
> > > >
> > > > No matter what settings I try I can't get konqueror to connect to the
> > > > web. No problems with any other browser or transfer process, just
> > > > konqueror.

-SNIP-

> Yet Another Shot In The Dark
> 
> I have found that knetworkmanager blocks konqueror and kde apps from internet 
> access.  If this is the case, quiting knetworkmanager using its systemtray 
> entry or killing it allow normal internet access once again.  Alternatively, 
> setting your network interfaces in Yast to "User controlled with Network 
> Manager" may also solve the problem.
> 
> Best of luck!
> 
> Raymond

BRILLIANT deduction, Raymond!! :-) :-) That was it. In the first
instance, I simply shut down knetworkmanager and then konqueror was
instantly able to load web pages as normal. FANTASTIC. It's a
double-edged sword having all kde's app integration. 

Much appreciation to all who quickly and ably contributed suggestions to
my problem that I had given up on before. Great work. 

Gavin 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser

2007-07-14 Thread Gavin Chester
On Sun, 2007-07-15 at 01:36 +0200, Theo v. Werkhoven wrote:
> Sat, 14 Jul 2007, by [EMAIL PROTECTED]:
> 
> > I know this is a shot in the dark for you all, but I am at a loss
> > completely ...
> > 
> > No matter what settings I try I can't get konqueror to connect to the
> > web. No problems with any other browser or transfer process, just
> > konqueror. I've checked proxy settings (none needed), I've checked it's
> > not set for working offline (duh!), I've checked ... , but all I get is 
> > "An error occurred while loading http://www.xxx.com:
> > Could not connect to host http://www.xxx.com";
> 
> And if you try to connect to that host's IP address? Lookup with
> 'dig' or 'host'.
> 
> Theo

Thanks, but your idea confirms it's not a dns issue, it made no
difference, sadly :-(

The summary so far:
1/ it's NOT a dns issue;
2/ it's NOT an apparmor issue;  
3/ it's NOT a firewall issue; 
4/ it's NOT set to 'work offline' (duh!)
5/ it's NOT a version issue - I upgraded to konqueror 3.5.5 from 3.5.4
on kde 3.5.5 opensuse 10.2 builds) and problem persisted. 

The only UNIQUE feature that I can think of is that I migrated/copied my
user settings from opensuse 10.1 to a new install of 10.2. Perhaps I
need to delete /home/gavin/.kde/share/apps/konqueror and let it be
recreated fresh? Would that help?  

Gavin

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser

2007-07-14 Thread Gavin Chester
On Sat, 2007-07-14 at 20:30 -0400, Michael Derek Barnett wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Gavin Chester wrote:
> > I know this is a shot in the dark for you all, but I am at a loss
> > completely ...
> > 
> > No matter what settings I try I can't get konqueror to connect to the
> > web. No problems with any other browser or transfer process, just
> > konqueror. I've checked proxy settings (none needed), I've checked it's
> > not set for working offline (duh!), I've checked ... , but all I get is 
> > "An error occurred while loading http://www.xxx.com:
> > Could not connect to host http://www.xxx.com";
> > 
> > I am running the opensuse latest kde desktop and latest version of
> > konqueror from opensuse repos on opensuse 10.2. I have another machine
> > with opensuse 10.1 and have never had problems.
> > 
> > Gavin 
> > 
> > 
> 
> Gavin, here's an equal shot in the dark. You didn't happen to set
> apparmor to watch konq, did you? I uh, managed to effectively kill
> dnsmasq the other day. Worked fine after I'd played with apparmor,
> /until/ i rebooted it and dnsmasq tried to read the config file. (I
> don't blame apparmor here, I just didn't know what I was doing.)
> 
> If you have been playing around with it, go back through the apparmor
> profiles just to make sure you didn't set one on konq.

Thanks for the suggestion. I hadn't played with apparmor, I remain
blissfully ignorant of its use ;-) but I checked that there was no
blocking in the default profile. I even checked firewall settings and
turned it off momentarily but it made no difference. Still stuck,
sadly :-(

Gavin   

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser

2007-07-14 Thread Michael Derek Barnett
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gavin Chester wrote:
> I know this is a shot in the dark for you all, but I am at a loss
> completely ...
> 
> No matter what settings I try I can't get konqueror to connect to the
> web. No problems with any other browser or transfer process, just
> konqueror. I've checked proxy settings (none needed), I've checked it's
> not set for working offline (duh!), I've checked ... , but all I get is 
> "An error occurred while loading http://www.xxx.com:
> Could not connect to host http://www.xxx.com";
> 
> I am running the opensuse latest kde desktop and latest version of
> konqueror from opensuse repos on opensuse 10.2. I have another machine
> with opensuse 10.1 and have never had problems.
> 
> Gavin 
> 
> 

Gavin, here's an equal shot in the dark. You didn't happen to set
apparmor to watch konq, did you? I uh, managed to effectively kill
dnsmasq the other day. Worked fine after I'd played with apparmor,
/until/ i rebooted it and dnsmasq tried to read the config file. (I
don't blame apparmor here, I just didn't know what I was doing.)

If you have been playing around with it, go back through the apparmor
profiles just to make sure you didn't set one on konq.

Derek
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGmWqjg39m4F98CH4RAm2YAKCKTQ8poPsJeOBpq8g3WITNPv//3wCfbErZ
UQ2MJzT5TIo7Z8rlbvKbAoI=
=v07l
-END PGP SIGNATURE-
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser

2007-07-14 Thread Theo v. Werkhoven
Sat, 14 Jul 2007, by [EMAIL PROTECTED]:

> I know this is a shot in the dark for you all, but I am at a loss
> completely ...
> 
> No matter what settings I try I can't get konqueror to connect to the
> web. No problems with any other browser or transfer process, just
> konqueror. I've checked proxy settings (none needed), I've checked it's
> not set for working offline (duh!), I've checked ... , but all I get is 
> "An error occurred while loading http://www.xxx.com:
> Could not connect to host http://www.xxx.com";

And if you try to connect to that host's IP address? Lookup with
'dig' or 'host'.

Theo
-- 
Theo v. WerkhovenRegistered Linux user# 99872 http://counter.li.org
ICBM 52 13 26N , 4 29 47E. +  ICQ: 277217131
SUSE 10.2  +   Jabber: [EMAIL PROTECTED]
Kernel 2.6.20  +   See headers for PGP/GPG info.
Claimer: any email I receive will become my property. Disclaimers do not apply.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser

2007-07-14 Thread Rajko M.
On Saturday 14 July 2007 11:46, Gavin Chester wrote:
> On Sat, 2007-07-14 at 18:13 +0200, Anders Johansson wrote:
> > On Saturday 14 July 2007 17:53:25 Gavin Chester wrote:
> > > I know this is a shot in the dark for you all, but I am at a loss
> > > completely ...
> > >
> > > No matter what settings I try I can't get konqueror to connect to the
> > > web. No problems with any other browser or transfer process, just
> > > konqueror. I've checked proxy settings (none needed), I've checked it's
> > > not set for working offline (duh!), I've checked ... , but all I get is
> > > "An error occurred while loading http://www.xxx.com:
> > > Could not connect to host http://www.xxx.com";
> > >
> > > I am running the opensuse latest kde desktop and latest version of
> > > konqueror from opensuse repos on opensuse 10.2. I have another machine
> > > with opensuse 10.1 and have never had problems.
>
> I should have added that I had a problem once a long time ago because of
> the interconnectedness of kde apps. That is, one time I couldn't get
> 'kget' to do any downloads until I finally realised that konqueror was
> set for 'working offline'. Of course, I have checked to best of my
> knowledge that there is no such blockage between apps this time ;-)
>


Hi Gavin,

can you see what is the version of Konqueror. 
Here is openSUSE 10.2, KDE 3.5.5-45.4 and Konqueror 3.5.5, and no problems at 
all. 

-- 
Regards,
Rajko.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser

2007-07-14 Thread Gavin Chester
On Sat, 2007-07-14 at 18:13 +0200, Anders Johansson wrote:
> On Saturday 14 July 2007 17:53:25 Gavin Chester wrote:
> > I know this is a shot in the dark for you all, but I am at a loss
> > completely ...
> >
> > No matter what settings I try I can't get konqueror to connect to the
> > web. No problems with any other browser or transfer process, just
> > konqueror. I've checked proxy settings (none needed), I've checked it's
> > not set for working offline (duh!), I've checked ... , but all I get is
> > "An error occurred while loading http://www.xxx.com:
> > Could not connect to host http://www.xxx.com";
> >
> > I am running the opensuse latest kde desktop and latest version of
> > konqueror from opensuse repos on opensuse 10.2. I have another machine
> > with opensuse 10.1 and have never had problems.

I should have added that I had a problem once a long time ago because of
the interconnectedness of kde apps. That is, one time I couldn't get
'kget' to do any downloads until I finally realised that konqueror was
set for 'working offline'. Of course, I have checked to best of my
knowledge that there is no such blockage between apps this time ;-)

Gavin.   

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser

2007-07-14 Thread Gavin Chester
On Sat, 2007-07-14 at 18:13 +0200, Anders Johansson wrote:
> On Saturday 14 July 2007 17:53:25 Gavin Chester wrote:
> > I know this is a shot in the dark for you all, but I am at a loss
> > completely ...
> >
> > No matter what settings I try I can't get konqueror to connect to the
> > web. No problems with any other browser or transfer process, just
> > konqueror. I've checked proxy settings (none needed), I've checked it's
> > not set for working offline (duh!), I've checked ... , but all I get is
> > "An error occurred while loading http://www.xxx.com:
> > Could not connect to host http://www.xxx.com";
> >
> > I am running the opensuse latest kde desktop and latest version of
> > konqueror from opensuse repos on opensuse 10.2. I have another machine
> > with opensuse 10.1 and have never had problems.
> 
> Try
> 
> echo "0" > /proc/sys/net/ipv4/tcp_window_scaling
> 
> and see if it works then

Thanks for prompt feedback. 
No, sadly it didn't change anything :-( What was that command attempting
to do with window scaling and how would that have made a change? Just
trying to understand your thinking ...

Gavin 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] konqueror browser

2007-07-14 Thread Anders Johansson
On Saturday 14 July 2007 17:53:25 Gavin Chester wrote:
> I know this is a shot in the dark for you all, but I am at a loss
> completely ...
>
> No matter what settings I try I can't get konqueror to connect to the
> web. No problems with any other browser or transfer process, just
> konqueror. I've checked proxy settings (none needed), I've checked it's
> not set for working offline (duh!), I've checked ... , but all I get is
> "An error occurred while loading http://www.xxx.com:
> Could not connect to host http://www.xxx.com";
>
> I am running the opensuse latest kde desktop and latest version of
> konqueror from opensuse repos on opensuse 10.2. I have another machine
> with opensuse 10.1 and have never had problems.

Try

echo "0" > /proc/sys/net/ipv4/tcp_window_scaling

and see if it works then
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] konqueror browser

2007-07-14 Thread Gavin Chester
I know this is a shot in the dark for you all, but I am at a loss
completely ...

No matter what settings I try I can't get konqueror to connect to the
web. No problems with any other browser or transfer process, just
konqueror. I've checked proxy settings (none needed), I've checked it's
not set for working offline (duh!), I've checked ... , but all I get is 
"An error occurred while loading http://www.xxx.com:
Could not connect to host http://www.xxx.com";

I am running the opensuse latest kde desktop and latest version of
konqueror from opensuse repos on opensuse 10.2. I have another machine
with opensuse 10.1 and have never had problems.

Gavin 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]