Hello
 
 
In order to edit /etc/apt/sources.list I opened Konsole, and typed "su -" to get root-privileges. Become root, I typed 
 
Code: 
 
# kwrite /etc/apt/sources.list
 
 
 
and I got this answer:
 
Code: 
 
Invalid MIT-MAGIC-COOKIE-1 keykwrite: cannot connect to X server :0.0
 
 
 
 
I tried another time, but typing "sux" instead of "su -" and all worked fine.
 
Which is the right command to get root-privileges and be able to launch graphical applications like kwrite?
 
 
Thanks for the help |