[LUG.ro] problema con kedit

Martin lugro@lugro.org.ar
Mon, 27 Nov 2006 23:19:50 -0300


no use mucho ubuntu, pero lanzando sudo kedit no lo ejecutas con
privilegios de root?¿?, sino lo que podes hacer es en tu usuario en X
aceptar las conexiones con un Xhost + localhost y dsp exportar el
display de root (export DISPLAY=localhost:0) y listo ^^

2006/11/27, Luciano <xanubisx@gmail.com>:
> otra vez me paso lo mismo :S
> trate de hacer lo del xhost y nada :(
>
> root@Luciano:/home/luciano# kedit /home/luciano/texto.txt
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> kedit: cannot connect to X server :0.0
> root@Luciano:/home/luciano# xhost +localhost
>
> root@Luciano:/home/luciano# xhost +localhost
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> xhost:  unable to open display ":0.0"
> root@Luciano:/home/luciano#
>
>
> salu2
> 2006/11/26, Luciano <xanubisx@gmail.com>:
> > ok gracias
> >
> > 2006/11/26, Martín Carr <tincarr@gmail.com>:
> > > 2006/11/26, Luciano
> > > > Perfecto ahora funciona !!!
> > > > ese comando que funcion tiene, asi voy a conosiendo mas el
> > > > funcionamiento de linux.
> > >
> > > Para saber rápido qué es un comando en general podés hacer:
> > > man comando
> > >
> > > En este caso, man xhost te dice:
> > > xhost - server access control program for X
> > > DESCRIPTION
> > >        The  xhost  program  is used to add and delete host names or
> > > user names to
> > >        the list allowed to make connections to the X  server.   In
> > > the  case  of
> > >        hosts,  this  provides a rudimentary form of privacy control
> > > and security.
> > >        It is  only  sufficient  for  a  workstation  (single  user)
> > > environment,
> > >        although  it does limit the worst abuses.  Environments which
> > > require more
> > >        sophisticated measures should implement the user-based
> > > mechanism  or  use
> > >        the  hooks  in  the  protocol for passing other authentication
> > > data to the
> > >        server.
> > >
> > > Y otras cosas.
> > >
> > > slds!
> > >
> > > _______________________________________________
> > > Lugro mailing list
> > > Lugro@lugro.org.ar
> > > http://www.lugro.org.ar/mailman/listinfo/lugro
> > >
> >
>
> _______________________________________________
> Lugro mailing list
> Lugro@lugro.org.ar
> http://www.lugro.org.ar/mailman/listinfo/lugro
>