debian root set display

it’s been a while since my last post …
here just a short solution of a problem i had with some debian boxes:


emacs /etc/inetd.conf
Invalid MIT-MAGIC-COOKIE-1 keyemacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.


cb0@localhost:~$ su -
root@localhost:~# xauth merge ~cb0/.Xauthority #replace cb0 with your username
root@localhost:~# export DISPLAY=:0.0
#now you are able to open emacs
root@localhost:~# emacs .bashrc

backspace problem with screen in remote debian with os x

Every time I use terminal in combination with an ssh connection to a remote host and the execute screen I’m not able to use the backspace key.
Found a soultion in the comment section of atomized

just put the following line into your ~/.bash_login script

export TERM=xterm