help with Xlib [SOLVED]

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



On Thursday 12 January 2006 04:53, Craig White wrote:
> On Thu, 2006-01-12 at 01:46 -0200, Rodrigo Barbosa wrote:
> > -----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@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.
>
> ----
> BING!!!
>
> Thanks - sorry I didn't make myself more clear earlier - thanks for the
> patience.
>
> Craig

<paranoia>
Using xhost almost allways has security implications. In this case any 
user/process on that machine can do anything to your X-server (including 
sniffing your passwords). There is malware in the wild that exploits this 
kind of weakness.
</paranoia>

/Peter

-- 
------------------------------------------------------------
  Peter Kjellstr?m               |
  National Supercomputer Centre  |
  Sweden                         | http://www.nsc.liu.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20060112/5c98c5a0/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux