Compatible Support Forums: y2controlcenter: cannot connect to X server

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

y2controlcenter: cannot connect to X server

#1 User is offline   dipsae 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 16-October 04

Posted 16 October 2004 - 01:32 AM

I have this strange problem on SLES9.Things I did:

telnet from a SLES9 (A) machine to SLES9 (B)

su to root
export DISPLAY=A:0.0
When I try to bring up yast2 I get the error
y2controlcenter:cannot connect to X server..

This behavior is observed only on SLES 9 machine..I can bring up yast2 fine using Solaris or other SUSE linux and also RED HAT..

Appreciate any help towards this issue.
Thanks




0

#2 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2903
  • Joined: 30-August 02

Posted 16 October 2004 - 03:30 AM

I know nothing about SLES9, but it sounds like a permissions issue. Try the following;

type "xhost localhost" in a terminal window (without the quotes). This will grants the local
system rights to the X sessions.

Does this work?

If so, edit your .profile file in your home directory and add it. Then you will not have to enter it each time you are prompted.
0

#3 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 16 October 2004 - 03:34 AM

Also try:

sux -l root
0

#4 User is offline   martouf 

  • enthusiast
  • Group: Members
  • Posts: 338
  • Joined: 09-July 04

Posted 16 October 2004 - 08:20 PM

when logged in to host A, "xhost + localhost" is very similar to doing
"xhost + A" on host A. Note that you must specifically permit any user on
your host to make requests of your user's X server. Otherwise, the default
is to deny all except requests made by X clients initiated by you.

when logged in to host B, and you want the X client on host B to create
a window on host A, then you'll need to permit B to do so with "xhost + B"
on host A.

it's all a consequence of the new X server permission security-mindedness.


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users