-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Peter Ruskin wrote:
> Yes, but but when you log in to a non-X terminal you can still log 
> in - all you get is a message like "xmodmap:  unable to open 
> display ''".

Then execute those commands with a conditional test of the $DISPLAY env var...

test -n "$DISPLAY" && some_command_to_run_if_$DISPLAY_has_content

- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
SHOW DE FUTURABANDA - Sabado 18 de Agosto 2007 (Speed King, Capital Federal)
Entradas anticipadas a traves de www.futurabanda.com.ar - Punk Rock Melodico


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrzsKAlpOsGhXcE0RCgYFAJ0cgUsOKM1OPqndRZyaHiaXBYabegCfURrF
BB0+BtLtMTsKMepBZ5j/lEA=
=ThOQ
-----END PGP SIGNATURE-----
-- 
[EMAIL PROTECTED] mailing list

Reply via email to