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

Re: cannot open dislpay: debian:0.0



----- Original Message -----
From: "Kent West" <westk@acu.edu>
To: <debian-user@lists.debian.org>
Sent: Wednesday, January 01, 2003 6:30 AM
Subject: Re: cannot open dislpay: debian:0.0


> Kevin wrote:
>
> >Please can you help with this error?
> >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
> >
> >
> 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
> 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 debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>

> Are you ssh'ing in to this box?
Yes and no
I only run ssh to get env and the logs etc to email.

I get the error on the system when I run make xconfig.

Thanks Kevin.




Reply to: