Autor |
Nachricht |
|
Titel: how do I edit a file
Verfasst am: 28.08.2006, 01:02 Uhr
|
|
Anmeldung: 28. Aug 2006
Beiträge: 2
|
|
here is what I get when I try to edit a file
bill@Kanotix:~$ su
Password:
root@Kanotix:/home/bill# kwrite /boot/grub/menu.lst
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
kwrite: cannot connect to X server :0.0
root@Kanotix:/home/bill#
any help would be appreciated |
|
|
|
|
 |
|
Titel: how do I edit a file
Verfasst am: 28.08.2006, 01:06 Uhr
|
|

Anmeldung: 05. Jul 2004
Beiträge: 121
Wohnort: Hannover
|
|
Hi!
Use "sux" instead of "su". |
|
|
|
|
 |
|
Titel: RE: how do I edit a file
Verfasst am: 28.08.2006, 01:06 Uhr
|
|
Anmeldung: 28. Jul 2005
Beiträge: 24
|
|
Try:
$ kdesu kwrite
and type in your root password when the window comes up and prompts you for it. I've found kdesu often works better than trying to directly launch from a root prompt. |
|
|
|
|
 |
|
Titel: RE: how do I edit a file
Verfasst am: 28.08.2006, 01:17 Uhr
|
|
Anmeldung: 26. Jun 2005
Beiträge: 389
|
|
or use mcedit in the terminal:
#mcedit /boot/grub/menu.lst
or just mc if you need to also navigate around your file system. |
|
|
|
|
 |
|
Titel: RE: how do I edit a file
Verfasst am: 28.08.2006, 02:09 Uhr
|
|
Anmeldung: 28. Aug 2006
Beiträge: 2
|
|
Thx all three suggestions work perfectly -- why doesn't "su" + pass not work. This is my first try at debian. |
|
|
|
|
 |
|
Titel: RE: how do I edit a file
Verfasst am: 28.08.2006, 02:25 Uhr
|
|
Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
|
|
su does transfer you x credentials. |
_________________ Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
|
|
|
|
 |
|
Titel: RE: how do I edit a file
Verfasst am: 28.08.2006, 02:29 Uhr
|
|
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
|
|
 |
|