SCTP Discussions

Text archives Help


[SCTP-Discussion] Re: X-Windows


Chronological Thread 
  • From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
  • To: discussion AT sctp.de
  • Subject: [SCTP-Discussion] Re: X-Windows
  • Date: Mon Aug 27 12:20:02 2001
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University of Essen, Germany

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

On Friday, 24. August 2001 17:20, you wrote:
> I've been reading and executing sctplib/sctpd and sctplib/sctpd_programs to
> learn about using the new sctp daemon.

We will need to add some documentation about these programs in the
next release. That has high priority now, before new code changes
will be integrated !

> I found that I had to log in as root to eliminate the GTK Warning about not
> being able to open a window (or something like that) when I tried using
> programs in sctpd_programs in a superuser shell (su -). I figure that I
> need to learn more about UID and such to figure out why that is, but I would
> welcome a quick explanation from someone. That behavior exists with
> Ethereal too. I am running gnome desktop.

That is a feature of X-Windows. If you log in as root, (via su) your
normal user account will not enable the root user to connect to the
locally running X-Server. In order to allow that, your must allow
accesses to the local X-Server first (as your normal user id) via
prompt> xhost + localhost
and then (as root user) you need to export your TERMINAL environment
variable accordingly by saying
root-prompt# export TERMINAL=localhost:0
and then you should be fine (or setenv TERMINAL etc. in C-Shells) !

Regards,

Andreas

- --

- ------------------------------------------------------------------------
Dipl.-Ing. Andreas Jungmaier | _
Computer Networking Technology Group | ASCII ribbon campaign ( )
University of Essen | - against HTML email X
http://www.exp-math.uni-essen.de/~ajung | & vcards / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7ilcWd2Uw+xBvGUIRAuU9AKC09VdwkVJY1S24zZVkmi3PWEH6qACeO0vV
LMO9EN13UiqsAGcOSmPnmbg=
=Z8T9
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page