On Tue, Aug 15, 2006 at 06:50:39PM +0200, Michelle Konzack wrote: > Package: menu > Version: 2.1.24 > Severity: wishlist >
Hello Michelle, > I have the need to run a XTerm with su-to-root to get a terminal for root. > > Using fvwm the Menu entry is: > > Exec xterm -e su-to-root -c "/bin/bash -l" > > Now I have encountered that I have the same Environement variables a the > $USER "michelle.konzack" which ends in tonns of errors since ${TMPDIR} > and others environement variables are not from root You should do Exec xterm -e su-to-root -c "su -" or simply Exec xterm -e su - to avoid that problem. > Please can you solv this problem? I cannot, it is crucial the program can get access to the user environment variable, in particular $DISPLAY, else X11 programs will not work anymore. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]