Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in XFree86

2004-07-19 Thread Jan Gregor
On Wed, Jul 14, 2004 at 01:50:00AM -0500, Branden Robinson wrote:
 On Mon, Jul 12, 2004 at 10:01:42PM +0200, Jan Gregor wrote:
   Why don't you set up your user session to set the variable how you like?
   Please see the Xsession(5x) and xinit(1x) manual pages.
 [...]
  
  You mean to put export LD_LIBRARY_PATH= ... into .xinitrc ? Of course I
  tried it but again other exports are ok but this is ignored. Workaround
  is to put it into .bashrc which works for me.
 
 I mean to put it in .xsession.  .xinitrc will be ignored by any session
 that is started by a display manager (because it's xinit's RC file).
 
 If you do it that way, does it work?
 

No it doesn't work too. My ordinary way is to log into console and type
startx (and in that case .xinitrc is used).

Jan




Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in XFree86

2004-07-14 Thread Branden Robinson
On Mon, Jul 12, 2004 at 10:01:42PM +0200, Jan Gregor wrote:
  Why don't you set up your user session to set the variable how you like?
  Please see the Xsession(5x) and xinit(1x) manual pages.
[...]
 
 You mean to put export LD_LIBRARY_PATH= ... into .xinitrc ? Of course I
 tried it but again other exports are ok but this is ignored. Workaround
 is to put it into .bashrc which works for me.

I mean to put it in .xsession.  .xinitrc will be ignored by any session
that is started by a display manager (because it's xinit's RC file).

If you do it that way, does it work?

-- 
G. Branden Robinson| Never attribute to malice that
Debian GNU/Linux   | which can be adequately explained
[EMAIL PROTECTED] | by stupidity.
http://people.debian.org/~branden/ | -- Hanlon's Razor


signature.asc
Description: Digital signature


Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in XFree86

2004-07-13 Thread Jan Gregor
 Well, the X server wrapper is setuid root.  I hope you can appreciate the
 grave security implications of letting users redefine the dynamic loader's
 search path in the context of a process running with root privileges.

I didn't realize that, thanks.

  I also tried to start X with xinit command but with same result. After
  return from X variable is set right.
  
  LD_LIBRARY_PATH is needed by java to point to directory /usr/lib/jni used
  for non-java libraries such as libJavaEditline.so.
 
 Why don't you set up your user session to set the variable how you like?
 Please see the Xsession(5x) and xinit(1x) manual pages.
 

You mean to put export LD_LIBRARY_PATH= ... into .xinitrc ? Of course I
tried it but again other exports are ok but this is ignored. Workaround
is to put it into .bashrc which works for me.

Jan



Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in XFree86

2004-07-13 Thread Aaron M. Ucko
Jan Gregor [EMAIL PROTECTED] writes:

 You mean to put export LD_LIBRARY_PATH= ... into .xinitrc ? Of course I
 tried it but again other exports are ok but this is ignored. Workaround

xterm is setgid utmp, and therefore triggers the same (justified)
dynamic loader paranoia.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger [EMAIL PROTECTED] (NOT a valid e-mail address) for more info.




Processed: Re: Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in XFree86

2004-07-10 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 257730 xserver-common
Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in 
XFree86
Bug reassigned from package `xserver-xfree86' to `xserver-common'.

 retitle 257730 xserver-common: X server wrapper scrubs environment of 
 LD_LIBRARY_PATH
Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in 
XFree86
Changed Bug title.

 tag 257730 + moreinfo
Bug#257730: xserver-common: X server wrapper scrubs environment of 
LD_LIBRARY_PATH
There were no tags set.
Tags added: moreinfo

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in XFree86

2004-07-10 Thread Branden Robinson
reassign 257730 xserver-common
retitle 257730 xserver-common: X server wrapper scrubs environment of 
LD_LIBRARY_PATH
tag 257730 + moreinfo
thanks

On Sun, Jul 04, 2004 at 02:56:28PM +0200, Jan Gregor wrote:
 Package: xserver-xfree86
 Version: 4.3.0.dfsg.1-4
 Severity: normal
 
 XFree86 unset LD_LIBRARY_PATH variable, so in X is blank.

Well, the X server wrapper is setuid root.  I hope you can appreciate the
grave security implications of letting users redefine the dynamic loader's
search path in the context of a process running with root privileges.

 I also tried to start X with xinit command but with same result. After
 return from X variable is set right.
 
 LD_LIBRARY_PATH is needed by java to point to directory /usr/lib/jni used
 for non-java libraries such as libJavaEditline.so.

Why don't you set up your user session to set the variable how you like?

Please see the Xsession(5x) and xinit(1x) manual pages.

-- 
G. Branden Robinson|   If atheism is a religion, then
Debian GNU/Linux   |   health is a disease.
[EMAIL PROTECTED] |   -- Clark Adams
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


Bug#257730: xserver-xfree86: enviroment variable LD_LIBRARY_PATH unset in XFree86

2004-07-05 Thread Jan Gregor
Package: xserver-xfree86
Version: 4.3.0.dfsg.1-4
Severity: normal

XFree86 unset LD_LIBRARY_PATH variable, so in X is blank. I also tried
to start X with xinit command but with same result. After return from X
variable is set right.

LD_LIBRARY_PATH is needed by java to point to directory /usr/lib/jni
used for non-java libraries such as libJavaEditline.so.


Jan

-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx1 root root   20 kvě  8  2003 /etc/X11/X - 
/usr/bin/X11/XFree86
-rwxr-xr-x1 root root  1745132 kvě 29 14:33 /usr/bin/X11/XFree86

Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04)
01:00.0 Class 0300: 102b:0525 (rev 04)

/var/lib/xfree86/XF86Config-4.md5sum does not exist.

XFree86 X server configuration file status:
-rw-r--r--1 root root 4918 čec  4 14:21 /etc/X11/XF86Config-4

Contents of /etc/X11/XF86Config-4:
Section ServerLayout
Identifier Default Layout
Screen  0  Default Screen 0 0
InputDeviceGeneric Keyboard
InputDeviceConfigured Mouse
EndSection

Section ServerFlags
Option StandbyTime 10
Option SuspendTime 15
Option Offtime 20
EndSection

Section Files
FontPath /usr/lib/X11/fonts/misc/:unscaled
#   FontPath /usr/lib/X11/fonts/100dpi/:unscaled
FontPath /usr/lib/X11/fonts/75dpi/:unscaled
FontPath /usr/lib/X11/fonts/TrueType
FontPath /usr/lib/X11/fonts/Type1/:unscaled
FontPath /usr/lib/X11/fonts/Speedo
#   FontPath /usr/lib/X11/fonts/75dpi
EndSection

Section Module
Load  ddc
Load  GLcore
Load  dbe
Load  dri
Load  extmod
Load  glx
#   Load  pex5
Load  record
#   Load  xie
Load  bitmap
Load  freetype
Load  speedo
Load  type1
Load  vbe
Load  int10
Load  v4l
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules xfree86
Option  XkbModel logiinternet
#   Option  XkbModel pc105
#   pc101
Option  XkbLayout us
Option  AutoRepeat 100 30
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
#   Option  Device /dev/mouse
Option  Device /dev/input/mice
#   Option  Protocol Microsoft
Option  Protocol ImPS/2
#   Option  Emulate3Buttons true
Option  ZAxisMapping 4 5
EndSection

Section Modes
Identifier my modes

#1024x768 @ 100Hz, 80.21 kHz hsync
#Modeline 1024x768   115.5  1024 1056 1248 1440   768  771  781  802 
-HSync -VSync

# 928x696 @ 106Hz, 76.9 kHz
#Modeline 928x696  100.0928 1022 1122 1300   696  702  711  725
#Modeline 928x696  100.0928 1022 1122 1300   696  702  711  733
Modeline 928x69690.0928 1022 1122 1300   696  702  711  735   
 

# 928x696 @ 95Hz, 69.2kHz
#   Modeline 928x69690.0   928 1022 1122 1300   696  702  711  725

# 800x600 100Hz
ModeLine 800x600 69.7   800  864  928 1088   600  604  610  640 
-hsync -vsync
# 800x600 90Hz - -
Modeline  800x600   69.70   800  868  932 1152   600  604  610  668 
-hsync -vsync
# 800x600 @ 85 Hz, 55.84 kHz hsync
Modeline  800x600   60.75   800  864  928 1088   600  616  621  657 
-HSync -VSync
# 800x600 @ 72 Hz, 48.0 kHz hsync
Modeline 800x60050  800  856  976 1040   600  637  643  666 
+hsync +vsync
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline 800x60040  800  840  968 1056   600  601  605  628 
+hsync +vsync
# 800x600 @ 56 Hz, 35.15 kHz hsync
ModeLine 800x60036  800  824  896 1024   600  601  603  625

# 768x576 @ 100 Hz, 61.5 kHz
ModeLine 768x57665.10   768  832  896 1056   576  580  586  616 
-HSync -VSync
# 768x576 @ 85.1 Hz, 51.7 kHz
ModeLine 768x57652.5768  802  826 1015   576  577  600  608 
-hsync -vsync
# 768x576 @ 75.0 Hz, 46.6 kHz (from xawtv FB)
ModeLine 768x57649.2768  800  928 1056   576  584  589  621

# 640x480 @ 72 Hz, 36.5 kHz hsync
#Modeline 640x48031.5640  680  720  864   480  488  491  521
Modeline 640x48031640  680  720  864   480  488  491  521  
# 640x480 @ 75 Hz, 37.50 kHz hsync
#ModeLine  640x480   31.5640  656  720  840   480  481  484  500 
-HSync -VSync
# 640x480 @ 100 Hz, 53.01 kHz hsync
Modeline