Re: Thin-X-Client-Laptop
On Fri, 20 Jul 2001, Schoppitsch Dieter wrote:
> Hi folks - thanks for all of your hints regarding my problem.
> I think I am close to the solution - maybe you can help me again?
>
> >I want to run X-Applications on my (old) laptop (486; Debian 2.0) while
> >connected (via PLIP) to the Server (Pentium, Suse 7.1).
>
> Some data of my configuration:
> * laptop name: boneless
> * PC name: freeze
> * username on PC: nutzer
>
> What I tried (and many variations of that):
> * start on the laptop (in text mode) "ssh -l nutzer freeze",
> than change to root with "su" and "cd /root"
> * in this ssh-channel I tried "export DISPLAY=boneless:0",
> than "xhost +boneless"
Hmmmm I don't think that this is what you want to do... I mean that ssh
doesn't require you to set DISPLAY (nor change permissions with xhost).
Infact you'll find that DISPLAY on freeze is set to freeze:15.0 or some
high number that doesn't refer to any real display as sshd fakes a display
and than channels all the info thorugh the ssh channel.
> * than I got the message "unable to open display "boneless:0"" (?)
> * starting "X" in this ssh-channel starts X on the PC
One would think that starting X on the laptop, starting an xterm in X and
giving the command 'ssh nutzer@freeze' it should work... The only problem
would arise if sshd on freeze or ssh on the laptop disable X11 forwarding
by default (try something like 'ssh -v nutzer@freeze' and see whether you
get messages about X11Forwarding/connections being disabled/refused).
<disclaimer> Other and more fancy solutions were suggested before: I am
not arguing that this is better! Infact it probably isn't, but, as you
seem stuck, I thought to add another hint to your list of possibilities...
</disclaimer>
matteo
---------------
Matteo Semplice
Wadham College
Oxford OX1 3PN
U.K.
Reply to: