1 |
Volker Armin Hemmann wrote: |
2 |
> On Saturday 25 September 2010, Dale wrote: |
3 |
> |
4 |
>> Nikos Chantziaras wrote: |
5 |
>> |
6 |
>>> On 09/23/2010 04:18 AM, Dale wrote: |
7 |
>>> |
8 |
>>>> Nikos Chantziaras wrote: |
9 |
>>>> |
10 |
>>>>> On 09/22/2010 09:48 PM, Andrey Vul wrote: |
11 |
>>>>> |
12 |
>>>>>> When I launch X programs via sudo, I get the following: |
13 |
>>>>>> |
14 |
>>>>>> $sudo gui-admin |
15 |
>>>>>> No protocol specified |
16 |
>>>>>> gui-admin: cannot connect to X server :0 |
17 |
>>>>>> |
18 |
>>>>>> ( Assume gui-admin is an X program ) |
19 |
>>>>>> |
20 |
>>>>>> But (gk|kde)su(do)? works. This is somewhat confusing. |
21 |
>>>>>> |
22 |
>>>>> sudo doesn't keep the $DISPLAY environment variable by default. There |
23 |
>>>>> could be other issues too. Best stick to kdesu and friends; that's |
24 |
>>>>> what they are there for. |
25 |
>>>>> |
26 |
>>>> Well, I noticed after the recent upgrade to 4.5.1 that mine doesn't work |
27 |
>>>> either. It worked before but not now. I'm not sure what changed between |
28 |
>>>> 4.4 and 4.5.1 but it broke my konqueror as root and other programs as |
29 |
>>>> well. Still have some I haven't tried tho. Konqueror is the one I need |
30 |
>>>> most. Oh, I can get Dolphin to work tho. The conspiracy theory part in |
31 |
>>>> me is starting to think. |
32 |
>>>> |
33 |
>>>> Sure would like to get this working again too. |
34 |
>>>> |
35 |
>>> Again, use kdesu, not sudo. |
36 |
>>> |
37 |
>>> But if some reason you want sudo, /etc/sudoers has some info: |
38 |
>>> ## Run X applications through sudo |
39 |
>>> |
40 |
>>> Read the comments there and uncomment what suits you. Did I mention |
41 |
>>> that you should use kdesu instead of sudo? :-P |
42 |
>>> |
43 |
>> Well, I don't really know what it is using. I just set up the menu item |
44 |
>> to run the program as root. I don't know if it uses su -, kdesu, sudo |
45 |
>> or what. I just know it worked until the upgrade a few days ago. |
46 |
>> |
47 |
>> Since KDE proclaimed this was supposed to be ready for widespread use |
48 |
>> and cut off KDE3, I sure do wish they would make up their mind HOW |
49 |
>> things are going to work. I would think they need to know that before |
50 |
>> claiming something was ready for widespread use. Makes me want to go |
51 |
>> back to KDE 3.5. At least I could get everything I need to work and |
52 |
>> survive a upgrade too. ;-) |
53 |
>> |
54 |
>> Oh well. This is the new normal for KDE I guess. lol |
55 |
>> |
56 |
>> Dale |
57 |
>> |
58 |
>> :-) :-) |
59 |
>> |
60 |
> I don't know what you are talking about. Setting up menu items? wtf? |
61 |
> |
62 |
> |
63 |
|
64 |
I run my programs through the "K menu" thingy. You know, at the bottom |
65 |
left of the screen. I may be doing mine different but it seems KDE |
66 |
doesn't want much of anything being run as root, not the way you are |
67 |
trying to do it, not the way I have been doing it. |
68 |
|
69 |
Still puzzled that Dolphin will work but Konqueror does not. |
70 |
|
71 |
Dale |
72 |
|
73 |
:-) :-) |