RE: Problem Running a remote X session

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

 



Your problem is a simple one to solve, and you appear to be making it more
difficult.  You do not need to do anything with your X server.  When you ssh
into a server with the -X flag, it tells the server to route the X display
to your computer.  (I believe that this is the default, so you may not even
need the flag)  You do not need to do this manually.  All you need to do is
verify that the server contains the proper XFree86 config file (I am not
certain of what this is right now), or it's sshd will not turn on display
redirection when it is started.  To do this, I find it is easiest to have X
installed on the server.  It does not need to be running.

Once you ssh in, if the server does not support X redirect, it should tell
you right away.

-----Original Message-----
From: xfree86-admin@xxxxxxxxxxx [mailto:xfree86-admin@xxxxxxxxxxx]On
Behalf Of Dale Macdonald
Sent: Friday, March 18, 2005 12:57 PM
To: xfree86@xxxxxxxxxxx
Subject:  Problem Running a remote X session


I have an aplication where it will be beneficial to have an app running on a
powerful server. And to display the X-session on my less powerful machine
downstairs.

So I work thru a howto. Lets call the powerful machine "power" and my
machine (where I wish to view the app) "mine"

I , at this stage, am unconcerned about security, I can tighten this up
later, all I want is to get it to work.

So on mine I type xhost + - so any host can be a client of the X-server.

I ssh to power using all recomended switches :

mine# ssh -XY power

enter username and password, and cool, I am in.

so i try

power# xacctest -display mine:0 &

and it fails with : Cannot connect to x server mine.accpick.co.za:0.0

I have tried being root, and a regular user, using fully qualified domain
names, and still nothing.

It is extremely annoying.

I was however, able to connect from mine to a Red Hat 9 box happily

As a last resort, on power i enabled telnet, and tried that, to see if i had
an ssh problem - still no luck!

Since i can connect from mine (a slackware 10 box) to bool (a Red Hat 9 box)
I am assuming i need to do something else to power to get it to work

I really like slackware, so I hope somebody has a bright idea to help me out
here.

Incidentally, I am running KDE.

I live in hope

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux