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

Re: how to use



cfk wrote:

I am still searching for the knowledge to change back and forth twixt Gnome and KDE with Debian and the knowldege to run X remotely from one of my other computers.

I can logon to the new Debian box with 'ssh -X xx.xx.xx.xx', but when I run kwrite, I get the message 'cannot connect to X server', even though I ran 'xhost +localhost' on the new Debian computer and rebooted it.
Don't do that (the 'xhost +localhost'); it has security issues that you don't want to deal with. Instead, edit "/etc/ssh/sshd_config" and find the "X11Forwarding" line and set it to "yes". Then restart ssh with "/etc/init.d/sshd restart".

BTW, don't run X as root; instead, install, configure, and learn to use "sudo". (I'm not saying you do run X as root, but a lot of newcomers to Debian don't realize the security issues/etc involved, so I mention it in passing.)

PS. Don't top post, like you did in this message. It's considered bad form on this list.

--
Kent



Reply to: