On 2010-03-02, Kevin the Drummer <(E-Mail Removed)> wrote:
> Kevin the Drummer wrote:
>> > On my Mandriva 2007.0 system X11 works over SSH. Here's my test
>> > case that I need to have working.
>> >
>> > 1. ssh -f somehost xterm
>> > 2. 'su' in the new xterm
Why? ssh somehost will take you in in a terminal. From there you can
run a program. No need to open an xterm first ( and slow things down)
>> > 3. run any graphical program from the su'd shell
>> >
>> > On the Mandriva 2007.0 system this works fine. On my 2010 system I
>> > get this error:
>> >
>> > Error: Can't open display: localhost:11.0
Does not sound like x11 forwarding is set up.
do
ssh somehost
echo $DISPLAY
Note that root may not have permission to log onto your X session.
>> >
>> > On both systems my SSH config is set like this:
>> >
>> > /etc/ssh/ssh_config: ForwardX11 yes
>> > /etc/ssh/ssh_config: ForwardAgent yes
>> > /etc/ssh/ssh_config: ForwardX11Trusted yes
>> > /etc/ssh/sshd_config: X11Forwarding yes
>> >
>> > I've been using X over SSH for a long time, and I've been
>> > able to get this to work fine on many systems since I started
>> > using this maybe 10 years ago. I re-read the FAQs for this.
>> > This time I'm stuck.
>
> I ran into an additional problem. The mingettys for my
> pseudo-terminals started spewing "respawning too fast" messages
> upon boot-up. I haven't seen that in over ten years, and tried
> all the usual fixes. Eventually, I reinstalled after saving all
> of my config stuff so I could just copy it all back into /etc.
> That took about two days of on/off work. After putting all the
> same config stuff back now everything works. Certainly, this
> isn't rigorous, but maybe the two problems were related somehow.
So the X now works as well?
>
> Thanks folks....
>
|