Re: cannot open dislpay: debian:0.0
Please can you help with this error?
Below is the log, env and .bashrc
root@debian:/root # env
SSH_CLIENT=10.100.4.117 2842 22
Are you ssh'ing in to this box?
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
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 --
2) On th machine from which you're ssh'ing, use the command "ssh -X
<host>" instead of "ssh <host>".