super , keep LD_LIBRARY_PATH

2015-03-31 Thread sanyechong12
Hi everybody! How can I keep the enviromet variable LD_LIBRARY_PATH when I excute a super command? I have modified /etc/super.tab: :global env=PATH,LD_LIBRARY_PATH,PYTHONPATH bzytest /root/test admin /root/test: #!/bin/bash export I can get PATH, PYTHONPATH ke

RE: super , keep LD_LIBRARY_PATH

2015-03-31 Thread sanyechong12
setenv not work as well. From: sanyechon...@live.com To: ubuntu-devel-discuss@lists.ubuntu.com Subject: super , keep LD_LIBRARY_PATH Date: Tue, 31 Mar 2015 08:13:42 + Hi everybody! How can I keep the enviromet variable LD_LIBRARY_PATH when I excute a super command? I have modifie

RE: tk8.5.18 error in ubuntu 13.04

2015-03-31 Thread Subodh Konhor
You need the header files for compilation. Install libx11-dev package. Thanks, Subodh Sent from my Windows Phone From: alok kumar Sent: ‎3/‎31/‎2015 11:22 AM To: ubuntu-devel-discuss@lists.ubuntu.com

RE: super , keep LD_LIBRARY_PATH

2015-03-31 Thread sanyechong12
http://manpages.ubuntu.com/manpages/hardy/man5/super.tab.5.html#contenttoc6 From: skon...@movik.com To: sanyechon...@live.com; ubuntu-devel-discuss@lists.ubuntu.com Date: Tue, 31 Mar 2015 05:48:51 -0400 Subject: RE: super , keep LD_LIBRARY_PATH Did you try the solution given at http://stackoverf

RE: super , keep LD_LIBRARY_PATH

2015-03-31 Thread Subodh Konhor
Did you try the solution given at http://stackoverflow.com/questions/8633461/how-to-keep-environment-variables-when-using-sudo From: ubuntu-devel-discuss-boun...@lists.ubuntu.com [mailto:ubuntu-devel-discuss-boun...@lists.ubuntu.com] On Behalf Of sanyechon...@live.com Sent: 31 March 2015 14:54

RE: super , keep LD_LIBRARY_PATH

2015-03-31 Thread sanyechong12
Addtion: when config sudo with: Default env_keep +="LD_LIBRARY_PATH" This way can not keep LD_LIBRARY_PATH as well. What I need is to use super to gain privilge and keep enviroment variable LD_LIBRARY_PATH. super manpage: http://manpages.ubuntu.com/manpages/hardy/ma

Re: super , keep LD_LIBRARY_PATH

2015-03-31 Thread Simon Raffeiner (SCC)
Hi, you can't. The variable is not removed by super or sudo, but by the dynamic linker for security reasons. >From the manpage of ld.so(8): "LD_LIBRARY_PATH A colon-separated list of directories in which to search for ELF libraries at execution-time. Similar to the PATH environment variable.

Why nouveau is used instead of Intel on a Intel-Optimus-Nvidia laptop?

2015-03-31 Thread piotr maliński
I did a clean install of Xubuntu 15.04 beta 2 and all seems to worked except of some apps having slow UI animations (like text scrooling in Kate, slow rendering of Chromium UI, laggy YouTube in Firefox or Chromium). At first I was thinking that instead of Intel it's running in VESA mode, but after

Re: Why nouveau is used instead of Intel on a Intel-Optimus-Nvidia laptop?

2015-03-31 Thread Simon Raffeiner (SCC)
Hi, there is a possible explanation for this on the nouveau page regarding Optimus (http://nouveau.freedesktop.org/wiki/Optimus/): "It is also possible, that a GPU is hardwired to the internal panel, so the other GPU cannot possibly drive the internal panel. The same goes for external monitor ou

Re: Why nouveau is used instead of Intel on a Intel-Optimus-Nvidia laptop?

2015-03-31 Thread piotr maliński
I was using external HDMI display in this case. With 14.10/04 it wasn't a problem (and I was playing at some time with phoronix benchmarks and both graphics). 2015-03-31 18:59 GMT+02:00 Simon Raffeiner (SCC) : > Hi, > > there is a possible explanation for this on the nouveau page regarding > Opti

Re: Why nouveau is used instead of Intel on a Intel-Optimus-Nvidia laptop?

2015-03-31 Thread Dimitri John Ledkov
I believe both are dynamically used by default, as Ubuntu has fully enabled hybrid graphics card support in such configurations. Regards, Dimitri. On 31 March 2015 at 17:30, piotr maliński wrote: > I did a clean install of Xubuntu 15.04 beta 2 and all seems to worked except > of some apps havin

amavisd-new

2015-03-31 Thread spamvoll
Hi all, are there any plans for updating amavisd-new from the three years old 2.7.1 to 2014-10-26: amavisd-new-2.10.1 ? Regards Hans Peter -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubun

RE: super , keep LD_LIBRARY_PATH

2015-03-31 Thread sanyechong12
Thanks a lot. After checking the super document carefully, it seems like there's no easy way to slove this problem with super. Then I try to excute shell export before my script. It works: $ export LD_LIBRARY_PATH=/whatever/ But when I use python to set the LD_LIBRARY_PATH, it failed: os.environ