[opensuse] Running X Programs Without HOME Set
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to run X applications without $HOME is set in the environment. However I receive "No protocol specified" error. I mean: $unset HOME $konsole throws the error(I keep DISPLAY variable as is). How can I overcome this? Thanks, Caglar -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkl5wnEACgkQ/nL+S5dojej2TgCeNwFKiY99IRWjHaYKSOJWK7cq Y54AmwVHHA+JsqGlOnTu2lEFKnbETafL =zAgn -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 23 January 2009 14:13:22 Yusuf Caglar AKYUZ wrote:
Hi,
I'm trying to run X applications without $HOME is set in the environment.
Why would you want to do that?
However I receive "No protocol specified" error. I mean:
$unset HOME $konsole
throws the error(I keep DISPLAY variable as is). How can I overcome this?
export XAUTHORITY=$HOME/.Xauthority unset HOME I think you will have problems running KDE programs though, since they expect to find a KDE_HOME somewhere, and if HOME isn't set, they will try to use /.kde (or /.kde4), which is unlikely to work. Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anders Johansson wrote:
On Friday 23 January 2009 14:13:22 Yusuf Caglar AKYUZ wrote:
Hi,
I'm trying to run X applications without $HOME is set in the environment.
Why would you want to do that?
I'm using Openembedded(OE) and bitbake for cross-compiling. However, OE clears all the env including HOME before calling any scripts.
export XAUTHORITY=$HOME/.Xauthority unset HOME
Thank you very much, this does the trick.
I think you will have problems running KDE programs though, since they expect to find a KDE_HOME somewhere, and if HOME isn't set, they will try to use /.kde (or /.kde4), which is unlikely to work.
Ok, then I'll choose gnome counterparts of KDE programs for utils. Thanks for the quick help, Caglar -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkl5yJYACgkQ/nL+S5dojeiQRACgm4rjowK40RBCSb3p0sPfBATa Tz8Ani7iRh/F2dohonqgFOtNfmZ0Le7X =KXBp -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Anders Johansson
-
Yusuf Caglar AKYUZ