View previous topic :: View next topic |
Author |
Message |
Boworr n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Jul 2004 Posts: 45 Location: England. Where the history comes from.
|
Posted: Fri Aug 20, 2004 6:43 am Post subject: Can't Remote my Display |
|
|
I can't figure this out and could use some help.
On my Thinkpad I open a terminal window, and type the following just to make sure X security is off. Then I SSH onto my remote PC and type Code: | export DISPLAY=<Thinkpad IP address>:0.0 | Then I start something like xclock. I always get the following error: Code: | Error: Can't open display: | .
I know Thinkpad's are capable of displaying on two screens, so I've also tried various combinations of 1.0 and 0.1 at the end of the export DISPLAY command.
I also tried with ssh -X to force X forwarding and that didn't help either.
Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cuardin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Fri Aug 20, 2004 7:22 am Post subject: |
|
|
You are making it more complicated than you should, and besides you are mixing some things up.
Now, first of all, X is a pain in the but to understand. I don't. But I forward X exessively at home and therefore I leart the recepies.
When you SSH you let SSH take care of everything. So start by configuring SSH. On the ssh server, make sure "X11Forwarding yes" is set.
Then, on the client, run "ssh -Y <server>"
At this point, the ssh server will have created a virtual display on the server, probably :0.10 or some such. You do not need to know about this or care. However, all programs starded in you ssh session will attempt to connect to this display. When they do, the ssh server catches them and sends the info to your ssh client. Your client will then post the info you your current display.
So: Do not mess with the -display or anything else.
PS If you donät want to type -Y, make sure "ForwardX11 yes" and "ForwardX11Trusted yes" are set in the clients config. _________________ Part of "The adopt an unanswered post initiative" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
brian33x51 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1421615566454f559cdc565.gif)
Joined: 16 Jun 2002 Posts: 118
|
Posted: Tue Aug 31, 2004 5:51 pm Post subject: |
|
|
Ummm..I consider your answer to be the "wrong answer".
Setting the display variable and running an application has worked for the past 12 years as far as I know, that is until the xorg release.
My question, why is it broken and what tricks do I need to use to get it to work again?
Right now I have a mixtured of redhat 7.3 boxes and some fedora core2 boxes in addition to a small gentoo cluster. It's definitely an administrative pain to have to deal with this. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|