su from root to user and gui applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again, 
the fist mail got a bit screwed up, so here again: 
 
Hi,           
I am logging in to remote hosts via ssh -X then i sux to root and i can start   

gui applications a root. but if i then as root su -l to another user, i cannot  

start a gui application.         
su - toootheruser from an ordinary user to another works, but not doing this 
from root.          
Xlib: connection to ":0.0" refused by server    
Xlib: No protocol specified       
kded: cannot connect to X server :0.0    
kded: ERROR: KUniqueApplication: Registering failed!    
kded: ERROR: Communication problem with kded, it probably crashed.    
Xlib: connection to ":0.0" refused by server    
Xlib: No protocol specified       
kdeinit: Can't connect to the X Server.    
kdeinit: Might not terminate at end of session.    
Xlib: connection to ":0.0" refused by server    
Xlib: No protocol specified       
kmail: cannot connect to X server :0.0    
DCOP aborting call from 'anonymous-9067' to 'kmail'    
ERROR: Communication problem with kmail, it probably crashed.       
 
everything works fine when i su from an ordinary user to another ordinary use 
and start a gui application. but when i su to root, the DISPLAY variable stays 
set, but when i then su to  another user, the DISPLAY variable went gone. 
and when i, now as the other ordinary user, try to start a gui appliccation i 
get the error i mentioned earlier (after setting the DISPLAY variable).  
 
any hint whats going wrong here or what can i do to find out myself whats 
wrong?   
i am using kde 3.4.1 rpm for suse and suse 9.3.    
kind regards   
sebastian       
--   
Sebastian Reitenbach            Tel.: ++49-(0)3381-8904-305        
RapidEye AG                     Fax: ++49-(0)3381-8904-101       
Friedrich-Franz-Str. 19         e-mail:reitenbach@xxxxxxxxxxx         
D-14770 Brandenburg             web:http://www.rapideye.de           
We are currently looking for Software developers, System Engineers and others 
to join our team: http://www.rapideye.de/Join/join_frames_aussen.htm 
 


___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux