Kevin wrote:
Please can you help with this error?Are you ssh'ing in to this box?
Below is the log, env and .bashrc
DISPLAY=debian:0.0;export DISPLAY
root@debian:/root # env
PWD=/root
PAGER=more
PS1=root@debian:$PWD #
USER=root
MAIL=/var/mail/root
EDITOR=vi
SSH_CLIENT=10.100.4.117 2842 22
DISPLAY=debian:0.0
LOGNAME=root
And then changing to root?
(It's not a good idea to run as root as a general rule; however, I can understand the need to run X as root temporarily.)
There's some security mechanisms in place with X and ssh, and even once those are satisfied, I'm not sure what the effect will be of becoming a different user.
However as a normal user, you need to do two things:
1) edit /etc/ssh/sshd_config and set the line "X11 Forwarding Yes" instead of "no" on the box being ssh'd into (and restart ssh -- "/etc/init.d/ssh restart").
2) On th machine from which you're ssh'ing, use the command "ssh -X <host>" instead of "ssh <host>".
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]