Stephen Liu wrote:
Hi David, Thanks for your advice. While working as USER, I usually use following command on Konsole window to login as ROOT to do administration work, starting applications ssh -X root@localhost Because my Debian box is newly installed, not properly setup, X-window forwarding not configured. Besides I am not quite experienced on Debian commands. Therefore if I can login as ROOT directly at start it would simplify my work in setting up this Debian box. I never login as ROOT to do daily work.
Edit your /etc/ssh/sshd_config and change the line that with the X11Forwarding option from yes to no. Also, another option is to install and use "sudo" (a simple `apt-get install sudo' should get you started). You can then do things like sudo <command> and you become root for only that particular command. Yet another option is to just execute `su' (without the dash), which keeps you in the same shell (i.e., you can run X apps). -Roberto
Attachment:
pgpbYBmdBUNVT.pgp
Description: PGP signature