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-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-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
InputDevice"Generic Keyboard"
InputDevice"Configured 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 "928x696"90.0928 1022 1122 1300   696  702  711  735   
 

# 928x696 @ 95Hz, 69.2kHz
#   Modeline "928x696"90.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 "800x600"50  800  856  976 1040   600  637  643  666 
+hsync +vsync
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600"40  800  840  968 1056   600  601  605  628 
+hsync +vsync
# 800x600 @ 56 Hz, 35.15 kHz hsync
ModeLine "800x600"36  800  824  896 1024   600  601  603  625

# 768x576 @ 100 Hz, 61.5 kHz
ModeLine "768x576"65.10   768  832  896 1056   576  580  586  616 
-HSync -VSync
# 768x576 @ 85.1 Hz, 51.7 kHz
ModeLine "768x576"52.5768  802  826 1015   576  577  600  608 
-hsync -vsync
# 768x576 @ 75.0 Hz, 46.6 kHz (from xawtv FB)
ModeLine "768x576"49.2768  800  928 1056   576  584  589  621

# 640x480 @ 72 Hz, 36.5 kHz hsync
#Modeline "640x480"31.5640  680  720  864   480  488  491  521
Modeline "640x480"31640  680  720  864   480  488  491  521  
# 640x480 @ 75 Hz, 37

Bug#176041: xserver-xfree86: XFree86 4.2.1 don't start on matrox G400

2003-01-09 Thread Jan Gregor
Package: xserver-xfree86
Version: 4.2.1-3
Severity: important

I had working XFree86 4.1, after change to 4.2.1 xserver don't start. Of
course I tried to upgrade also xlibs, xbase-clients ... too but result was
same. 

After Fatal server error: Caught signal 11.  Server aborting,
there are two more lines:

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
  after 0 requests (0 known processed) with 0 events remaining.

--

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

Section "ServerLayout"
Identifier "Default Layout"
Screen  0  "Default Screen" 0 0
InputDevice"Generic Keyboard"
InputDevice"Configured 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"
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

# 800x600 100Hz
ModeLine "800x600" 69.7 800 864 928 1088 600 604 610 640 -hsync 
-vsync
# 800x600 90Hz - -
Modeline "800x600"  69.70800  868  932 1152600  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 "800x600" 50 800  856  976 1040   600  637  643  666 
+hsync +vsync
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600" 40 800  840  968 1056   600  601  605  628 
+hsync +vsync
# 800x600 @ 56 Hz, 35.15 kHz hsync
ModeLine "800x600" 36 800  824  896 1024   600  601  603  625

# 768x576 @ 100 Hz, 61.5 kHz
ModeLine "768x576"   65.10 768  832  896 1056  576  580  586  616 
-HSync -VSync
# 768x576 @ 85.1 Hz, 51.7 kHz
ModeLine "768x576"  52.5  768  802  826 1015   576  577  600  608 
-hsync -vsync
# 768x576 @ 75.0 Hz, 46.6 kHz (from xawtv FB)
ModeLine "768x576"   49.2  768  800  928 1056  576  584  589  621

# 640x480 @ 72 Hz, 36.5 kHz hsync
Modeline "640x480" 31.5   640  680  720  864   480  488  491  521
# 640x480 @ 75 Hz, 37.50 kHz hsync
ModeLine  "640x480"31.5   640  656  720  840   480  481  484  500 
-HSync -VSync

ModeLine "320x200" 12.6 320 336 384 400 200 204 205 225 doublescan
EndSection

Section "Monitor"
Identifier   "Generic Monitor"
UseModes "my modes"
HorizSync30.0 - 96.0
VertRefresh  50.0 - 100.0
Option   "DPMS"
#   Gamma 1.4
EndSection

Section "Device"
Identifier  "Generic Video Card"
Driver  "mga"
#   Option  "NoAccel"
#   Option  "XaaNoCPUToScreenColorExpandFill"
#   Option  "XaaNoScreenToScreenColorExpandFill"
#   Option  "XaaNoScanlineCPUToScreenColorExpandFill"

#   Option "XaaNoCPUToScreenColorExpandFill"
Option "XaaNoColor8x8PatternFillRect"
Option "XaaNoColor8x8PatternFillTrap"
##  Option "XaaNoDashedBresenhamLine"
##  Option "XaaNoDashedTwoPointLine"
Option "XaaNoImageWriteRect"
Option "XaaNoMono8x8PatternFillRect"
Opti

Bug#176041: xserver-xfree86: XFree86 4.2.1 don't start on matrox G400

2003-01-09 Thread Jan Gregor
Package: xserver-xfree86
Version: 4.2.1-3
Severity: important

I had working XFree86 4.1, after change to 4.2.1 xserver don't start. Of
course I tried to upgrade also xlibs, xbase-clients ... too but result was
same. 

After Fatal server error: Caught signal 11.  Server aborting,
there are two more lines:

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
  after 0 requests (0 known processed) with 0 events remaining.

--

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

Section "ServerLayout"
Identifier "Default Layout"
Screen  0  "Default Screen" 0 0
InputDevice"Generic Keyboard"
InputDevice"Configured 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"
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

# 800x600 100Hz
ModeLine "800x600" 69.7 800 864 928 1088 600 604 610 640 -hsync -vsync
# 800x600 90Hz - -
Modeline "800x600"  69.70800  868  932 1152600  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 "800x600" 50 800  856  976 1040   600  637  643  666 +hsync 
+vsync
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600" 40 800  840  968 1056   600  601  605  628 +hsync 
+vsync
# 800x600 @ 56 Hz, 35.15 kHz hsync
ModeLine "800x600" 36 800  824  896 1024   600  601  603  625

# 768x576 @ 100 Hz, 61.5 kHz
ModeLine "768x576"   65.10 768  832  896 1056  576  580  586  616 -HSync -VSync
# 768x576 @ 85.1 Hz, 51.7 kHz
ModeLine "768x576"  52.5  768  802  826 1015   576  577  600  608 -hsync -vsync
# 768x576 @ 75.0 Hz, 46.6 kHz (from xawtv FB)
ModeLine "768x576"   49.2  768  800  928 1056  576  584  589  621

# 640x480 @ 72 Hz, 36.5 kHz hsync
Modeline "640x480" 31.5   640  680  720  864   480  488  491  521
# 640x480 @ 75 Hz, 37.50 kHz hsync
ModeLine  "640x480"31.5   640  656  720  840   480  481  484  500 -HSync 
-VSync

ModeLine "320x200" 12.6 320 336 384 400 200 204 205 225 doublescan
EndSection

Section "Monitor"
Identifier   "Generic Monitor"
UseModes "my modes"
HorizSync30.0 - 96.0
VertRefresh  50.0 - 100.0
Option   "DPMS"
#   Gamma 1.4
EndSection

Section "Device"
Identifier  "Generic Video Card"
Driver  "mga"
#   Option  "NoAccel"
#   Option  "XaaNoCPUToScreenColorExpandFill"
#   Option  "XaaNoScreenToScreenColorExpandFill"
#   Option  "XaaNoScanlineCPUToScreenColorExpandFill"

#   Option "XaaNoCPUToScreenColorExpandFill"
Option "XaaNoColor8x8PatternFillRect"
Option "XaaNoColor8x8PatternFillTrap"
##  Option "XaaNoDashedBresenhamLine"
##  Option "XaaNoDashedTwoPointLine"
Option "XaaNoImageWriteRect"
Option "XaaNoMono8x8PatternFillRect"
Option