At 10:31 PM 5/17/2000 -0400, Benjamin Scott wrote:

ah ha!  that is what i need - the export DISPLAY!

can i just put that in my .bashrc file?

>On Tue, 16 May 2000, Kurth Bemis wrote:
> > in win2k i use eudora pro.  on freshmeat there are several GUI mail
> > clients for gnome, however none of them support pop3 mail!
>
>   Mail in Unix is traditionally handled by an MTA (Mail Transport Agent) at
>the system level, and then read using an MUA (Mail User Agent).
>
>   A very good MTA for POP3 is fetchmail, which is included in most
>distributions.  It is, at its core, a command-line program, but I wouldn't be
>surprised if someone has designed a GUI front-end for it by now.
>
> > ben said something about running the xserver as root.
>
>   I don't recall exactly what we were talking about at the time, but it was
>likely either:
>
>   - A mention of the fact that the X server itself runs SUID to root, in 
> order
>     to obtain permission to manipulate the graphics adapter.
>
>   - Explanation of why I was logging in as root.  At one point, we were
>     playing with the configuration of XFree, and you need to be root to edit
>     the XF86Config file.
>
> > i have always run it as a user.  if i was to run x as root and then
> > connect to it.  how would i do that?
>
>   Not sure what you're after here...
>
>   The X server automatically runs with root privileges; you don't have to
>worry about that.  This is because the X server executable itself has the SUID
>(Set User IDentification) bit set, and is owned by root.
>
>   If you want to login as root from the console and start an X session, or
>login to an XDM session as root, you can do that without any significant
>changes to the procedure you follow as a user.  You might need to add
>"/usr/bin/X11" to root's PATH in some cases.
>
>   If you want to "su" to root and then run X programs, you can do that, 
> too.
>Start by opening an xterm as a user.  Issue "su -" and enter the password.
>Then use "export DISPLAY=:0" to tell programs in that session to access the
>local display.  You may also have to do an "xhost +localhost" before the "su"
>command.
>
>--
>Ben Scott <[EMAIL PROTECTED]>
>| "You may have a fresh start any moment you choose, for this thing we 
>call   |
>| 'failure' is not the falling down, but the staying down."  -- Mary 
>Pickford |
>
>
>
>**********************************************************
>To unsubscribe from this list, send mail to
>[EMAIL PROTECTED] with the following text in the
>*body* (*not* the subject line) of the letter:
>unsubscribe gnhlug
>**********************************************************

Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.net

[EMAIL PROTECTED]
http://www.usaexpress.net/kurth
ICQ - 6624050
Call Sign - N1TYW
PGP key available - http://www.usaexpress.net/kurth/pgp

Fight Weak Encryption!  Donate your wasted CPU cycles to Distributed.net 
(http://www.distributed.net)


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to