[CentOS] help with Xlib

Rodrigo Barbosa rodrigob at suespammers.org
Thu Jan 12 03:23:21 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jan 11, 2006 at 08:17:39PM -0700, Craig White wrote:
> On Thu, 2006-01-12 at 01:04 -0200, Rodrigo Barbosa wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On Wed, Jan 11, 2006 at 07:37:30PM -0700, Craig White wrote:
> > > Xlib: connection to "MYHOSTNAME:1.0" refused by server
> > > Xlib: no protocol specified
> > > 
> > > Clues?
> > 
> > xhost(1)
> > 
> > Also make sure your local X server is configured to accept tcp
> > connections, and you have no iptables rules blocking those.
> > 
> > Among other places, you will want to check for the DisalowTCP
> > tag on /etc/X11/gdm/gdm.conf, if you are using gdm (standard for
> > CentOS). I don't remember what the default is.
> > 
> ----
> thanks but you are still over my head.
> 
> xhost +localhost returns the same error.

On your local workstation, you should do:

xhost +remote

Where remote is either the hostname (should be possible to lookup)
or IP Address (to make sure it will work).

> DisallowTCP is commented in /etc/X11/gdm/gdm.conf

Uncomment and set to "false".

> The issue seems to be that gdm isn't running...is it supposed to be
> running in runlevel 3?

You should set those value on your local workstation (console),
not the remote one. This is the workstation you call MYHOSTNAME.

You might also want to access MYHOSTNAME:0.0, not 1.0.

> If so...what is the right way to start it?

- -- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

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

iD8DBQFDxcuppdyWzQ5b5ckRAunKAJ9+2EChRLCiqfDEWt+rSjGsbw+7KACcCVOK
lKtIHbBMLA+w65yKvn4VUyI=
=1FpW
-----END PGP SIGNATURE-----



More information about the CentOS mailing list