Kwrite si Krusader cu drepturi de root

10 posts / 0 new
Last post
bbw
Kwrite si Krusader cu drepturi de root

Cand incerc sa pornesc din consola Kwrite ca si root, obtin urmatoarea eroare:

[bbw@localhost ~]$ su
Password:
[root@localhost bbw]# kwrite
Error: "/root/.kde4/socket-localhost" points to "/tmp/ksocket-root" instead of "/root/tmp/ksocket-root".
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
klauncher(6345) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!

Aceiasi chestie si pentru Krusader:

[bbw@localhost ~]$ su
Password:
[root@localhost bbw]# krusader
Cannot connect to the D-BUS session bus.
To start it, run:
        eval `dbus-launch --auto-syntax`
DBus Error: org.freedesktop.DBus.Error.Disconnected, Not connected to D-BUS server
krusader(6945) UserAction::UserAction: Initialisising useractions...
krusader(6945) UserAction::UserAction: 10  useractions read.
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
klauncher(6953) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!

Aveti vreo idee despre ce se intampla?

LE: In momentul in care dau Leave-Restart computer, imediat dupa ce se inchide serverul X (cand dispare totul de pe ecran  :P), apare atat Kwrite cat si Krusader, fara decoratiunile  ferestrelor.
Asta ca sa fie totul mai clar, chiar daca nu m-am exprimat prea tehnic  ;D

cgherman
cgherman's picture
Re: Kwrite si Krusader cu drepturi de root

ai facut update cumva?

bbw
Re: Kwrite si Krusader cu drepturi de root

Fresh install ieri, Mandriva 2009.0 Free, apoi am setat repositoarele cu Easyurpmi, apoi update din MCC.

Linux registered user #463806

cgherman
cgherman's picture
Re: Kwrite si Krusader cu drepturi de root

la mine, tot fresh install merge perfect

ing. Patkos Csaba
ing. Patkos Csaba's picture
Re: Kwrite si Krusader cu drepturi de root

Eu am avut probleme asemanatoare astazi cand vroiam sa rulez K3B ca si user. Am setat ca "proprietar" al ~/.kde sa fie user-ul meu, dupa aceea si-a revenit... O fi din cauza ca tu vrei sa rulezi niste chestii de kde3. Din cate am inteles, in kde4 nu se mai voloseste DCOP, totul merge pe DBUS, si DCOP se lanseaza doar in momentul in care ceva aplicatie vrea kde3, de fapt apare un kdeinit (pentru kde3), un krunner (kde3) si un kdialog (kde3) in plus.
Dupa setarea drepturilor trebuia sa omor manual procesele ce am amintit mai'nainte ca sa se reinitializeze corect cu noile drepturi pe foldere ...

Nu sunt sigur ca la tine e aceeasi treaba, dar o incercare merita.

Ce am mai observat, dupa ce am pus proprietate pe ~/.kde au aparut niste subfoldere, dar si astea erau cu proprietar root:root, asa ca trebuia sa repet procedura recursiv de 2-3 ori pana ce toate folderele noi au fost create...

PS: treaba asta a aparut recent, in timpul RC2-ului nu am avut astfel de probleme.

Csabi's BLOG

Linux registered user # 457717

bbw
Re: Kwrite si Krusader cu drepturi de root

Nu merge...
Si ai dreptate, la RC2 totul era OK...
Mai facem sapaturi  ;D

Linux registered user #463806

bbw
Re: Kwrite si Krusader cu drepturi de root

Rezolvat!

Many users are used to running individual applications as root by using the su command at a console and then launching the application, like this:

[adamw@lenovo ~]$ su
Password:
[root@lenovo adamw]# kwrite

However, for most KDE 4 applications in Mandriva Linux 2009, this will not work. To make it work, you must use the su - command, like this:

[adamw@lenovo ~]$ su -
Password:
[root@lenovo adamw]# kwrite

What this does is create a complete root environment rather than simply giving you root privileges, but the important thing is, this way it works.

;D Sunt mandru de mine!

Linux registered user #463806

ing. Patkos Csaba
ing. Patkos Csaba's picture
Re: Kwrite si Krusader cu drepturi de root

Bravo!  ;)

Csabi's BLOG

Linux registered user # 457717

bbw
Re: Kwrite si Krusader cu drepturi de root

Dupa ultimul update, Kwrite merge perfect, iar Krusader da o eroare (Could not start process. Cannot talk to klauncher: not connected to D-BUS server), dar totusi porneste. Cred ca baietii au inceput sa peticeasca pe ici, pe colo.

Linux registered user #463806

ing. Patkos Csaba
ing. Patkos Csaba's picture
Re: Kwrite si Krusader cu drepturi de root

La update-ul de ieri s-a updatat DBUS, un restart era necesar pentru ca noul dbus sa poate sa fie incarcat.

Csabi's BLOG

Linux registered user # 457717