[CentOS] help with Xlib

Thu Jan 12 03:46:17 UTC 2006
Rodrigo Barbosa <rodrigob at suespammers.org>

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

On Wed, Jan 11, 2006 at 08:34:56PM -0700, Craig White wrote:
> OK - I will play with this but I think you aren't understanding how I am
> accessing...
> 
> I am connecting to remote via ssh...
> 
> ssh -XC user at host
> 
> I can execute this program no problem by the './startconsole...'
> 
> But I really want to use a VNC session and run from there...so instead,
> I have vncserver start as my user and connect...
> 
> vncviewer localhost:1
> 
> Once I authenticate, I am running a VNC session and I can use things
> like firefox/evolution/etc.
> 
> I then open a terminal session, su - to root and then execute the
> command, which is when I get this error.
> 
> If this explanation helps...I am offering it. Basically, everything I am
> doing is not on my local machine but rather on the remote to which I am
> connected via ssh.

Ahhh.
After you open the terminal session and before running "su -", execute
xhost +localhost

That should work.

- -- 
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)

iD8DBQFDxdEJpdyWzQ5b5ckRAhApAKCa4eMtJ+GePiJMg53HU0bc+l9/igCeP8B5
Y2M8CwDrk+PQT1PxyugubEo=
=rzXN
-----END PGP SIGNATURE-----