You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, May 2nd 2003, 3:36pm

kdesu problems

Hey All,

I am a linux noob looking to ditch windows (except for gaming)

I have learned a lot about using linux over the weeks, and am now comfortable using it.

I have however, been having problems running 'kdesu' on RedHat 7.3 and RedHat 9.

It works fine on RedHat 8, but with the others...

I type 'kdesu konqueror' in a run box, type in the password when prompted, then konqueror appears, then disappears.

If I log into a terminal as root, and then run konqueror, it will stay open, but the terminal will print:
mcop warning: user defined signal handler found for SIG_PIPE, overriding


I know this is not kde related, but I feel that it is related to my problem...

If i type 'gnomemeeting' in a run box, it appears, then disappears, in a terminal:
PMutex acquired whilst locked by another thread
Multiple segmentation faults occurred; can't display error dialog

This happens for a multitude of programs when running redhat 7 and 9, but not 8.

I really want to be able to use RedHat 9, but if I cant fix these problems, I'll have to look elsewhere.

Can anyone assist me in the problem please.

Thankyouuuuuuu

Ladfromwales85

2

Friday, May 16th 2003, 4:35pm

I am having a similar problem with kdesu.

When I try to run KPPP under a user profile I get the message: "KDEInit could not launch kdesu".

Then, I can't launch any of the other applications (Mozilla, KMail, etc). The only choice I have is to click back on the KPPP icon (running in the panel) and interrupt the connection. It is when I get the error message.

I am using RedHat 9.0.

3

Monday, May 19th 2003, 12:48pm

If you can't launch applications during a kppp-session then kppp probably changes your hostname during the connection. You can check this in settings->tab accounts->edit->tab IP and look if the option set hostname automaticly on this ip-adres (or similar message, i'm using the Dutch version :) )
Unselect this option.

(because kppp changes the hostname into something else then the one your logged into, X Windows does not allow you to start any new x-connections (new applications), since it only accepts connections from the new hostname)
Help mee om KDE 3.5.5 in het Nederlands te vertalen

4

Thursday, May 22nd 2003, 2:42am

Thank you Rinse, but the option "Auto-configure hostname from this IP" was unchecked.

I believe it is a Linux security issue but I don't know what yet.

5

Thursday, May 22nd 2003, 7:59am

If your start applications from the commandline,
What error does Bash give?

Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

6

Saturday, May 24th 2003, 4:13am

I have 3 different situations, but in all cases I can access to the Internet (The answer to your question is in point #3).

1) When I just click on the KPPP icon (either from my desktop or task bar)

In this case, as soon as I am connected, I cannot click on any other icon of my desktop. Nothing happen. I can only click on the icons displayed in the task bar. Because that, I placed the icon of my web browser there (same for my mail client).

Then, when I stop KPPP, I get the error message "KDEInit could not launch kdesu".


2) When I run the command "kdesu kppp" (Alt+F2)

No problem in this case everything works and no error message.


3) When I run KPPP from a terminal session (Command line)

No problem either.

Here is the log:

______________________
Opener: received SetSecret
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 4801
Couldn't find interface ppp0: No such device
Kernel supports ppp alright.
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received RemoveSecret
Opener: received RemoveSecret
______________________

7

Saturday, May 24th 2003, 7:44am

Quoted

Original von linuxway

I have 3 different situations, but in all cases I can access to the Internet (The answer to your question is in point #3).

1) When I just click on the KPPP icon (either from my desktop or task bar)

In this case, as soon as I am connected, I cannot click on any other icon of my desktop. Nothing happen. I can only click on the icons displayed in the task bar. Because that, I placed the icon of my web browser there (same for my mail client).


OK, but can you start apps using the commandline in this case?
(like starting konqueror in xterm or konsole)

Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

8

Saturday, May 24th 2003, 7:44pm

Yes.

I can start kppp from a command line (xterm or konsole), it works fine. Don't get any error and then I can click on any icon of my desktop.

Here is a recap.

It works when I am using these 3 tools and I type the command,
- xterm: kppp
- konsole: kppp
- kdesktop: kdesu kppp

I have the problem when,
- I use kdesktop and I just type "kppp"
- Or when I click on the kppp icon

It sounds like KDE doesn't allow me to run kppp if I am not identified as root. In all cases, as a user, I need to type my root password before to get the kppp window, where I can click on "Connect".

When I am logged as root everything goes smoothly.

Thanks.

9

Saturday, May 24th 2003, 11:24pm

First, check with kmenuedit if the icon of kppp uses an extra option wich explains the fact that you need to be root to use kppp

Next, do [chmod +s path/to/kppp[/b] as root to allow kppp to open your modem.

Third, when kppp has made connection with internet, check if you can still open application (kmail, kword, kcalc, whatever...) as user from the commandline (e.g. in xterm/konsole)

Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

10

Wednesday, May 28th 2003, 12:59am

Thank you for trying to help me to solve this issue.

I followed your instructions but now I get the message "KDEInit could not launch kdesu" right when I click on the KPPP icon instead of after stopping KPPP.

11

Tuesday, June 3rd 2003, 4:04am

This solution has been provided by David, from another forum.

It does not work because /usr/bin/kppp was linked to consolehelper.

Please removed /usr/bin/kppp, and set up a link to /usr/sbin/kppp.
1.  rm /usr/bin/kppp
2.  ln -s /usr/sbin/kppp /usr/bin/kppp
3.  chmod /usr/sbin/kppp 4711

It worked in my case. I hope it will help others.

12

Tuesday, June 3rd 2003, 9:25am

Apperently this is a very common problem.
This topic uses the same solution :)

http://www.kde-forum.org/viewtopic.php?t=725
Help mee om KDE 3.5.5 in het Nederlands te vertalen