Re: [expert] Xlib: Connectio to 10.x.x.x:0.0 refused by server

2002-05-27 Thread J. Craig Woods

Alfredo Cole wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi:
 
 I'm trying to connect to a LM8.0 server using ssh and running a
 konsole on my terminal. The command I use is:
 
 ssh 10.x.x.x
 
 Then,
 
 export DISPLAY=my.ip.add.ress:0
 
 If I enter:
 
 konsole
 
 I get:
 
 Xlib: Connection to my.ip.add.ress:0.0 refused by server
 Xlib: Client is not authorized to connect to Server
 
 Where should I look to fix this problem? Thank you.
 

Did you try running the command xhost +localhost (do not use quotation
marks when running it) on the remote server you are attempting to
connect to? It appears that your remote box in not providing access to
the X server for localhost.

drjung

-- 
J. Craig Woods
UNIX/NT Network/System Administration
http://www.trismegistus.net/resume.html
Character is built upon the debris of despair --Emerson



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Xlib: Connectio to 10.x.x.x:0.0 refused by server

2002-05-27 Thread Brian Parish

On Tue, 2002-05-28 at 05:27, Alfredo Cole wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi:
 
 I'm trying to connect to a LM8.0 server using ssh and running a 
 konsole on my terminal. The command I use is:
 
 ssh 10.x.x.x
 
 Then,
 
 export DISPLAY=my.ip.add.ress:0
 
 If I enter:
 
 konsole
 
 I get:
 
 Xlib: Connection to my.ip.add.ress:0.0 refused by server
 Xlib: Client is not authorized to connect to Server
 
 Where should I look to fix this problem? Thank you.
 
 - -- 
 Alfredo J. Cole

ssh -Xl userid 10.x.x.x

works for me.  I don't need the export step for anything I've used so
far.

HTH
Brian




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Xlib: Connectio to 10.x.x.x:0.0 refused by server

2002-05-27 Thread Brian Parish

On Tue, 2002-05-28 at 11:09, J. Craig Woods wrote:
 Alfredo Cole wrote:
  
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Hi:
  
  I'm trying to connect to a LM8.0 server using ssh and running a
  konsole on my terminal. The command I use is:
  
  ssh 10.x.x.x
  
  Then,
  
  export DISPLAY=my.ip.add.ress:0
  
  If I enter:
  
  konsole
  
  I get:
  
  Xlib: Connection to my.ip.add.ress:0.0 refused by server
  Xlib: Client is not authorized to connect to Server
  
  Where should I look to fix this problem? Thank you.
  
 
 Did you try running the command xhost +localhost (do not use quotation
 marks when running it) on the remote server you are attempting to
 connect to? It appears that your remote box in not providing access to
 the X server for localhost.
 
 drjung
 
 -- 
While the doctor is in, do you have any idea why I can ssh -X to my
server and run any GUI app EXCEPT DrakConf?

thanks
Brian




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Xlib: Connectio to 10.x.x.x:0.0 refused by server

2002-05-27 Thread Tom Badran

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 28 May 2002 2:27 am, Brian Parish wrote:
 While the doctor is in, do you have any idea why I can ssh -X to my
 server and run any GUI app EXCEPT DrakConf?

Drackconfi rigged by msec to only work on local machine ? (guess)

Tom
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE88jdeXCpWOla2mCcRAkGHAJ9it5G4NiVrFG1rve1DFq1/d1Hy+ACgyM9s
TGdJUDNXhYeOdZUXUCY8Q3k=
=QP2/
-END PGP SIGNATURE-




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Xlib: Connectio to 10.x.x.x:0.0 refused by server

2002-05-27 Thread J. Craig Woods

Brian Parish wrote:
 
 While the doctor is in, do you have any idea why I can ssh -X to my
 server and run any GUI app EXCEPT DrakConf?
 
 thanks
 Brian
 
 
LOL!

Hey Brian, I wish I did. I really try to stay away from most of the GUI
stuff that is used for network/system configuration. If I can not do it
with vi, then I probably do not really need it. I have seen your
quandary posted here a time or two. Have you checked out the ownership
and perms for the binary that launches DrakConf. There might be
something different about it (as opposed to the other programs that do
launch via ssh). I guess if I really needed to do what you want to do
with DrakConf, I would first launch it locally with the CLI but I would
do so with a strace. I would also do a strace on a program (again do all
this at the CLI) that I can export via ssh. Start looking at what is
different about DrakConf. Compare the two strace results, the one from
DrakConf, and the one from the program that does work with ssh -X. See
if anything pops up as suspicious. And totally check all log files for
any errors that might be poping up when you are trying to export
DrakConf. If all that fails, *yell* at the mandrake folks, such as civ
or Vincent. After all, when it comes to Mandrake, they are really the
*only* experts here.

Good luck,
drjung
 
-- 
J. Craig Woods
UNIX/NT Network/System Administration
http://www.trismegistus.net/resume.html
Character is built upon the debris of despair --Emerson



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Xlib: Connectio to 10.x.x.x:0.0 refused by server

2002-05-27 Thread Brian Parish

On Tue, 2002-05-28 at 12:01, J. Craig Woods wrote:
 Brian Parish wrote:
  
  While the doctor is in, do you have any idea why I can ssh -X to my
  server and run any GUI app EXCEPT DrakConf?
  
  thanks
  Brian
  
  
 LOL!
 
 Hey Brian, I wish I did. I really try to stay away from most of the GUI
 stuff that is used for network/system configuration. If I can not do it
 with vi, then I probably do not really need it. I have seen your
 quandary posted here a time or two. Have you checked out the ownership
 and perms for the binary that launches DrakConf. There might be
 something different about it (as opposed to the other programs that do
 launch via ssh). I guess if I really needed to do what you want to do
 with DrakConf, I would first launch it locally with the CLI but I would
 do so with a strace. I would also do a strace on a program (again do all
 this at the CLI) that I can export via ssh. Start looking at what is
 different about DrakConf. Compare the two strace results, the one from
 DrakConf, and the one from the program that does work with ssh -X. See
 if anything pops up as suspicious. And totally check all log files for
 any errors that might be poping up when you are trying to export
 DrakConf. If all that fails, *yell* at the mandrake folks, such as civ
 or Vincent. After all, when it comes to Mandrake, they are really the
 *only* experts here.
 
 Good luck,
 drjung
  
 -- 
 J. Craig Woods

Thanks Craig,

Call me an opportunist :-)

I must admit that the longer I use linux, the less this is an issue, but
there are a couple of things that DrakConf makes quick and easy.  Hmmm -
can't think of them right now ;-)

Anyway, I appreciate the response in terms of a general method from
finding out a little more about what goes on under the hood.

cheers
Brian




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com