LinuxQuestions.org latest posts

LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.
Updated: 1 hour 41 min ago
Backports service becoming official
Backports service becoming official
===================================
The Debian Project is proud to announce that the backports service,
previously available at http://www.backports.org is now an official Debian
service and will be available from backports.debian.org
Backports are packages from the testing distribution recompiled for the
current stable (or even oldstable) to provide users of the stable
distribution with new versions of some packages, like the Linux kernel,
the Iceweasel browser or the OpenOffice.org suite, without sacrificing
the general stability of the system.
The archive currently has packages backported for the Lenny distribution
(how many?), but the infrastructure to accept packages for the upcoming
Squeeze release is already in place, to allow Debian Installer images to
configure the backports repository by default without generating errors
on user systems. The service for Squeeze will be enabled at a later
date, after the release.
Because of some limitations in the Debian Bug Tracking System, any bugs
relevant to backported packages still have to be reported to the
debian-backports list, which will now also move on lists.debian.org.
The website is up and working.
Instructions Quote: Add backports to your sources.list
1. Add this line
deb http://backports.debian.org/debian-backports lenny-backports main
to your sources.list (or add a new file to /etc/apt/sources.list.d/)
2. Run apt-get update
===================================
The Debian Project is proud to announce that the backports service,
previously available at http://www.backports.org is now an official Debian
service and will be available from backports.debian.org
Backports are packages from the testing distribution recompiled for the
current stable (or even oldstable) to provide users of the stable
distribution with new versions of some packages, like the Linux kernel,
the Iceweasel browser or the OpenOffice.org suite, without sacrificing
the general stability of the system.
The archive currently has packages backported for the Lenny distribution
(how many?), but the infrastructure to accept packages for the upcoming
Squeeze release is already in place, to allow Debian Installer images to
configure the backports repository by default without generating errors
on user systems. The service for Squeeze will be enabled at a later
date, after the release.
Because of some limitations in the Debian Bug Tracking System, any bugs
relevant to backported packages still have to be reported to the
debian-backports list, which will now also move on lists.debian.org.
The website is up and working.
Instructions Quote: Add backports to your sources.list
1. Add this line
deb http://backports.debian.org/debian-backports lenny-backports main
to your sources.list (or add a new file to /etc/apt/sources.list.d/)
2. Run apt-get update
mirroring system folders
In my case I'm trying to mirror an apt-cacher-ng cache between two computers.
I have apt-cacher-ng installed on my laptop, and I have another machine running apt-cacher-ng. In order to keep them both up to date with each other and to make sure all the computers have all the updates, I've been trying to find effective ways to keep them matched.
Unison looks like what I want, it would delete files that are deleted, and it would add files that are added. (the assumption is if they're deleted from one, they'd be deleted from others).
Rsync seemed quite a bit easier, especially with the advanced permissions issues. Apt-cacher-ng uses a user called apt-cacher-ng.
Instead of giving root an ssh password, I wanted to just ssh as apt-cacher-ng. Then I can still get the files over the network, but without the root account being open.
So I ran:
passwd apt-cacher-ng
and when I sshed, it looked like it was working until it logged me out (almost immediately).
So that's not working. What am I missing? anyone have any ideas?
Maybe there's a better tool then rsync for this?
I have apt-cacher-ng installed on my laptop, and I have another machine running apt-cacher-ng. In order to keep them both up to date with each other and to make sure all the computers have all the updates, I've been trying to find effective ways to keep them matched.
Unison looks like what I want, it would delete files that are deleted, and it would add files that are added. (the assumption is if they're deleted from one, they'd be deleted from others).
Rsync seemed quite a bit easier, especially with the advanced permissions issues. Apt-cacher-ng uses a user called apt-cacher-ng.
Instead of giving root an ssh password, I wanted to just ssh as apt-cacher-ng. Then I can still get the files over the network, but without the root account being open.
So I ran:
passwd apt-cacher-ng
and when I sshed, it looked like it was working until it logged me out (almost immediately).
So that's not working. What am I missing? anyone have any ideas?
Maybe there's a better tool then rsync for this?
Stuck with 640x480
If I missed a match in my search for resolution, then I'm sorry.
I made a total reinstall of Slack 13.1 the other day and all went seemingly well. After a lot of experimenting, and deciding I wanted the disk partitioned differently, a reinstall felt about right.
But when I started X the resolution was all too low. xorg.conf was adjusted with the properties of my screen (GDM 4011P). Once upon a time, the Xorg config-tool would ask me my opinion, but now it flashes by and I have to live with what it comes up with. Highly annoying!
The nVidia driver was installed (legacy for GeForce 3). I know the config is read, because it fails parsing if I have kHz with the sync-figures. But it otherwise disregard my wish to run at 1280x1024. In XFCE I can run the nVidia configuration tool, but it offers only auto, 320x240 or 640x480.
The screen is too small for me to click "ok" on several occasions.
The machine is capable of 64bit, 2GHz. But I installed the 32bit version of 13.1, it has 1,5GB RAM.
I made a total reinstall of Slack 13.1 the other day and all went seemingly well. After a lot of experimenting, and deciding I wanted the disk partitioned differently, a reinstall felt about right.
But when I started X the resolution was all too low. xorg.conf was adjusted with the properties of my screen (GDM 4011P). Once upon a time, the Xorg config-tool would ask me my opinion, but now it flashes by and I have to live with what it comes up with. Highly annoying!
The nVidia driver was installed (legacy for GeForce 3). I know the config is read, because it fails parsing if I have kHz with the sync-figures. But it otherwise disregard my wish to run at 1280x1024. In XFCE I can run the nVidia configuration tool, but it offers only auto, 320x240 or 640x480.
The screen is too small for me to click "ok" on several occasions.
The machine is capable of 64bit, 2GHz. But I installed the 32bit version of 13.1, it has 1,5GB RAM.
sudo for www user to run root shell script via browser
Hi
I need sudo for www (apache) user to run a shell script('ip.sh' contains iptables rules) from cgi-bin directory via browser using a per script.
I edit sudoers( www ALL=(ALL) NOPASSWD: ALL ),but when run the bellow command that's with err:
# sudo -u www sh /srv/www/cgi-bin/ip.sh
iptables v1.4.4: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
And:
# ls -al ip.sh
-rwxr-xr-x 1 root root 243 Sep 7 14:18 ip.sh
I edit sudoers so
'www ALL=(ALL) NOPASSWD: /srv/www/cgi-bin/ip.sh,/usr/sbin/iptables' too.
but it doesn't work too.
what's problem and how can I execute this script via browser ?
I need sudo for www (apache) user to run a shell script('ip.sh' contains iptables rules) from cgi-bin directory via browser using a per script.
I edit sudoers( www ALL=(ALL) NOPASSWD: ALL ),but when run the bellow command that's with err:
# sudo -u www sh /srv/www/cgi-bin/ip.sh
iptables v1.4.4: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
And:
# ls -al ip.sh
-rwxr-xr-x 1 root root 243 Sep 7 14:18 ip.sh
I edit sudoers so
'www ALL=(ALL) NOPASSWD: /srv/www/cgi-bin/ip.sh,/usr/sbin/iptables' too.
but it doesn't work too.
what's problem and how can I execute this script via browser ?
LXer: Wine 1.3.2 Released
Published at LXer:
The Wine development release 1.3.2 is now available. The source is available now, Binary packages are in the process of being built, and will appear soon at their respective download locations.
Read More...
The Wine development release 1.3.2 is now available. The source is available now, Binary packages are in the process of being built, and will appear soon at their respective download locations.
Read More...
How to build and install this iptables
I am trying to port netfilter on my embedded linux target board.
Target board has linux kernel 2.6.x I started with iptables tutorial.
Also,I extracted the iptables source code on my nfs root file system
But, I don't know how to build and install this iptables for my target board.
whenever I try to "make" and "insall" on my host, it always changes my host iptables not my target.
How can I build this iptables feature on my host for my target.
and which files should be copy(?) or install(?) into my target nfs file system.
--- This article is post on "linux network directory" too.
I don't know how to delete this post on linux-network.
so, I post this twice on linux-embedded and linux-network
If you let me know how to remove the article,I'll do that.
Sorry again.
Target board has linux kernel 2.6.x I started with iptables tutorial.
Also,I extracted the iptables source code on my nfs root file system
But, I don't know how to build and install this iptables for my target board.
whenever I try to "make" and "insall" on my host, it always changes my host iptables not my target.
How can I build this iptables feature on my host for my target.
and which files should be copy(?) or install(?) into my target nfs file system.
--- This article is post on "linux network directory" too.
I don't know how to delete this post on linux-network.
so, I post this twice on linux-embedded and linux-network
If you let me know how to remove the article,I'll do that.
Sorry again.
Fast image viewer: MIRAGE or EOG ?
Fast image viewer: MIRAGE or EOG ?
---
http://mirageiv.berlios.de/screenshots.html
or
http://projects.gnome.org/eog/
Which one do you favour?
- if possible, why such choice.
--
(All choices are matter of tastes and preferences, being respected, and all have 100pct right)
---
http://mirageiv.berlios.de/screenshots.html
or
http://projects.gnome.org/eog/
Which one do you favour?
- if possible, why such choice.
--
(All choices are matter of tastes and preferences, being respected, and all have 100pct right)
httpd futex readlock hang
Hi,
The environment is that one.
Apache 1.3/APC 3X/PHP 5
Great amount of http traffic
Some httpd process are hung at
futex(0x11b10c, FUTEX_WAIT, 2, NULL <unfinished ...>
indefinitely
I notice the were stuck with this trace gdb
#0 0x00b6e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00d001de in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#2 0x00cfce3b in _L_mutex_lock_35 () from /lib/tls/libpthread.so.0
#3 0x0964ba54 in ?? ()
#4 0x0011aff4 in ?? () from /lib/libnss_files.so.2
#5 0x00000200 in ?? ()
#6 0xbfe4d24c in ?? ()
#7 0xbfe4cee0 in ?? ()
#8 0x00114d09 in _nss_files_gethostbyname2_r () from /lib/libnss_files.so.2
#9 0x00114d09 in _nss_files_gethostbyname2_r () from /lib/libnss_files.so.2
and I notice also that they were stuck also reading
/etc/hosts
and never releasing the read lock.
Anyone suffer this behaviour too?
The environment is that one.
Apache 1.3/APC 3X/PHP 5
Great amount of http traffic
Some httpd process are hung at
futex(0x11b10c, FUTEX_WAIT, 2, NULL <unfinished ...>
indefinitely
I notice the were stuck with this trace gdb
#0 0x00b6e7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x00d001de in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#2 0x00cfce3b in _L_mutex_lock_35 () from /lib/tls/libpthread.so.0
#3 0x0964ba54 in ?? ()
#4 0x0011aff4 in ?? () from /lib/libnss_files.so.2
#5 0x00000200 in ?? ()
#6 0xbfe4d24c in ?? ()
#7 0xbfe4cee0 in ?? ()
#8 0x00114d09 in _nss_files_gethostbyname2_r () from /lib/libnss_files.so.2
#9 0x00114d09 in _nss_files_gethostbyname2_r () from /lib/libnss_files.so.2
and I notice also that they were stuck also reading
/etc/hosts
and never releasing the read lock.
Anyone suffer this behaviour too?
problems booting lfs system
finished, installed grub, the boot process gets to
Code: INIT: version 2.86 booting
Mounting kernel-based file systems /proc /sys [ OK ]
Setting the console log level to 7... [ OK ]
Populating /dev with device nodes...
/etc/rc.d/rsysinit.d/S10udev: line 61: /sbin/udevd: No such file or directory
/etc/rc.d/rsysinit.d/S10udev: line 66: /sbin/udevadm: No such file or directory
/etc/rc.d/rsysinit.d/S10udev: line 68: /sbin/udevadm: No such file or directory [ FAIL ]
Activating all swap files/partitions...
swapon /dev/sda2: stat failed: No such file or directory [ FAIL ]
mounting root file system in read-only mode... [ OK ]
Checking file systems..
fsck.ext3: No such file or directory while trying to open /dev/sda3
/dev/sda3:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8139 <device> [ FAIL ]
FAILURE:
File system errors were encountered that could not be fixed automatically. this system cannot continue to boot and will therefore be halted until those errors are fixed manually by a System Administrator.
After you press enter, this system will be halted and powered off.
Press Enter to continue... i will try and get you my fstab and grub.conf if you need it
Code: INIT: version 2.86 booting
Mounting kernel-based file systems /proc /sys [ OK ]
Setting the console log level to 7... [ OK ]
Populating /dev with device nodes...
/etc/rc.d/rsysinit.d/S10udev: line 61: /sbin/udevd: No such file or directory
/etc/rc.d/rsysinit.d/S10udev: line 66: /sbin/udevadm: No such file or directory
/etc/rc.d/rsysinit.d/S10udev: line 68: /sbin/udevadm: No such file or directory [ FAIL ]
Activating all swap files/partitions...
swapon /dev/sda2: stat failed: No such file or directory [ FAIL ]
mounting root file system in read-only mode... [ OK ]
Checking file systems..
fsck.ext3: No such file or directory while trying to open /dev/sda3
/dev/sda3:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8139 <device> [ FAIL ]
FAILURE:
File system errors were encountered that could not be fixed automatically. this system cannot continue to boot and will therefore be halted until those errors are fixed manually by a System Administrator.
After you press enter, this system will be halted and powered off.
Press Enter to continue... i will try and get you my fstab and grub.conf if you need it
LXer: Could Oracle fracture open source community?
Published at LXer:
An Oracle was a person or agency considered to be a source of wise counsel or prophetic opinion. How can that particular definition be applied to Oracle the company? It can't. In fact I would claim that Oracle, the company, is quite the opposite of "wise" or "prophetic".
Read More...
An Oracle was a person or agency considered to be a source of wise counsel or prophetic opinion. How can that particular definition be applied to Oracle the company? It can't. In fact I would claim that Oracle, the company, is quite the opposite of "wise" or "prophetic".
Read More...
fluxbox not starting "Error: couldn't connect to XServer"
I've just recently install slackware 13.1 on IBM R40e
laptop but every time i try to start fluxbox with
startfluxbox it just comes up:
xmodmap: unable to open display ''
Error: couldn't connect to XServer
however xdm works.
the specs of the computer:
IBM R40e 2684 L9G
2.4GHz Intel celeron processor
128MB ram
ATI radeon 330M 16MB integrated
30GB hard drive
DVD rom drive
I'm not sure if it's of any use but here's my xorg.conf file:
Code: Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath
"/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "dri2"
Load "dbe"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbOptions"
"grp:switch,grp:lswitch,grp:lwin_switch,grp:rwin_switch
,grp:win_switch,grp:caps_switch,grp:rctrl_switch,grp:to
ggle,grp:lalt_toggle"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>:
"True"/"False",
### <string>: "String", <freq>: "<f>
Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" #
[<bool>]
#Option "SWcursor" #
[<bool>]
#Option "Dac6Bit" #
[<bool>]
#Option "Dac8Bit" #
[<bool>]
#Option "BusType" #
[<str>]
#Option "CPPIOMode" #
[<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" #
[<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" #
[<bool>]
#Option "EnablePageFlip" #
[<bool>]
#Option "NoBackBuffer" #
[<bool>]
#Option "DMAForXv" #
[<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" #
[<bool>]
#Option "IgnoreEDID" #
[<bool>]
#Option "CustomEDID" #
[<str>]
#Option "DisplayPriority" #
[<str>]
#Option "PanelSize" #
[<str>]
#Option "ForceMinDotClock" #
<freq>
#Option "ColorTiling" #
[<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" #
[<bool>]
#Option "SubPixelOrder" #
[<str>]
#Option "ShowCache" #
[<bool>]
#Option "ClockGating" #
[<bool>]
#Option "VGAAccess" #
[<bool>]
#Option "ReverseDDC" #
[<bool>]
#Option "LVDSProbePLL" #
[<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" #
[<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" #
[<bool>]
#Option "DefaultTMDSPLL" #
[<bool>]
#Option "TVDACLoadDetect" #
[<bool>]
#Option "ForceTVOut" #
[<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" #
[<bool>]
#Option "DefaultTVDACAdj" #
[<bool>]
#Option "Int10" #
[<bool>]
#Option "EXAVSync" #
[<bool>]
#Option "ATOMTVOut" #
[<bool>]
#Option "R4xxATOM" #
[<bool>]
#Option "ForceLowPowerMode" #
[<bool>]
#Option "DynamicPM" #
[<bool>]
#Option "NewPLL" #
[<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "radeon"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:5:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
laptop but every time i try to start fluxbox with
startfluxbox it just comes up:
xmodmap: unable to open display ''
Error: couldn't connect to XServer
however xdm works.
the specs of the computer:
IBM R40e 2684 L9G
2.4GHz Intel celeron processor
128MB ram
ATI radeon 330M 16MB integrated
30GB hard drive
DVD rom drive
I'm not sure if it's of any use but here's my xorg.conf file:
Code: Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath
"/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "dri2"
Load "dbe"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbOptions"
"grp:switch,grp:lswitch,grp:lwin_switch,grp:rwin_switch
,grp:win_switch,grp:caps_switch,grp:rctrl_switch,grp:to
ggle,grp:lalt_toggle"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>:
"True"/"False",
### <string>: "String", <freq>: "<f>
Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" #
[<bool>]
#Option "SWcursor" #
[<bool>]
#Option "Dac6Bit" #
[<bool>]
#Option "Dac8Bit" #
[<bool>]
#Option "BusType" #
[<str>]
#Option "CPPIOMode" #
[<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" #
[<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" #
[<bool>]
#Option "EnablePageFlip" #
[<bool>]
#Option "NoBackBuffer" #
[<bool>]
#Option "DMAForXv" #
[<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" #
[<bool>]
#Option "IgnoreEDID" #
[<bool>]
#Option "CustomEDID" #
[<str>]
#Option "DisplayPriority" #
[<str>]
#Option "PanelSize" #
[<str>]
#Option "ForceMinDotClock" #
<freq>
#Option "ColorTiling" #
[<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" #
[<bool>]
#Option "SubPixelOrder" #
[<str>]
#Option "ShowCache" #
[<bool>]
#Option "ClockGating" #
[<bool>]
#Option "VGAAccess" #
[<bool>]
#Option "ReverseDDC" #
[<bool>]
#Option "LVDSProbePLL" #
[<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" #
[<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" #
[<bool>]
#Option "DefaultTMDSPLL" #
[<bool>]
#Option "TVDACLoadDetect" #
[<bool>]
#Option "ForceTVOut" #
[<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" #
[<bool>]
#Option "DefaultTVDACAdj" #
[<bool>]
#Option "Int10" #
[<bool>]
#Option "EXAVSync" #
[<bool>]
#Option "ATOMTVOut" #
[<bool>]
#Option "R4xxATOM" #
[<bool>]
#Option "ForceLowPowerMode" #
[<bool>]
#Option "DynamicPM" #
[<bool>]
#Option "NewPLL" #
[<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "radeon"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:5:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Identifying multiple ssh-tunnels
Hello guys, got the problem with multiple ssh-tunnels.
The case is:
I have 1 server running Slackware 13.0 with external ip and few windows-machines.
inetd daemon is running on the server, my script is listening on port 2345.
I create multiple ssh-tunnels from client machines to the 2345 port of the server in order to initiate script execution. For debugging reasons the script simply echoes the incoming information to the connection initiator.
This is how the connection is initiated.
#------------------------------------------------
Code: ssh <user>@<my_server_IP> -L 5555:<my_server_IP>:2345
echo "hello"|nc -vn 127.0.0.1 5555 (a port on a client-machine, that is forwarded to <my_server_IP>:2345)
gives "hello" output. Code: #------------------------------------------------
client1 port 5555|----ssh-tunnel----\ eth0|-------server---------------|
client2 port 5555|----ssh-tunnel----|-----|port-2345-|-inetd-|-myscript|
client3 port 5555|----ssh-tunnel----/ |----------------------------|
#------------------------------------------------ This is working fine even while having multiple simultaneous tunnels.
The problem is that i need my script to execute some commands (registry parsing) on a remote client machine with winexe utility. So I need to identify each tunnel or each connection in order to execute the command on each of the client workstations.
I need at least to have access to some ID of the ssh session or a tunnel, through which a certain connection was initiated and then use it to create a reverse tunnel or just connect to certain client via that client`s tunnel.
What should I do or where should I search?
The case is:
I have 1 server running Slackware 13.0 with external ip and few windows-machines.
inetd daemon is running on the server, my script is listening on port 2345.
I create multiple ssh-tunnels from client machines to the 2345 port of the server in order to initiate script execution. For debugging reasons the script simply echoes the incoming information to the connection initiator.
This is how the connection is initiated.
#------------------------------------------------
Code: ssh <user>@<my_server_IP> -L 5555:<my_server_IP>:2345
echo "hello"|nc -vn 127.0.0.1 5555 (a port on a client-machine, that is forwarded to <my_server_IP>:2345)
gives "hello" output. Code: #------------------------------------------------
client1 port 5555|----ssh-tunnel----\ eth0|-------server---------------|
client2 port 5555|----ssh-tunnel----|-----|port-2345-|-inetd-|-myscript|
client3 port 5555|----ssh-tunnel----/ |----------------------------|
#------------------------------------------------ This is working fine even while having multiple simultaneous tunnels.
The problem is that i need my script to execute some commands (registry parsing) on a remote client machine with winexe utility. So I need to identify each tunnel or each connection in order to execute the command on each of the client workstations.
I need at least to have access to some ID of the ssh session or a tunnel, through which a certain connection was initiated and then use it to create a reverse tunnel or just connect to certain client via that client`s tunnel.
What should I do or where should I search?
Another which distro should I use question. (With requirements at least)
First off I apologize for creating another "help me choose" thread but I would like some outside input because the distros I know are sub-optimal for my requirements.
I have a Dell Inspiron 640m that I am looking to reinstall Linux on after migrating Windows to a larger drive. The Linux installation is secondary to the Windows one and will be started via the media direct button (a secondary power button that boots a different partition than the Windows one). I have decided to make my choice of distro more targeted as Windows remains a more natural OS to work with for general use.
My plan is to have the Linux OS be a quick booting and/or lower power alternative to my Windows OS as such I have developed the following list of requirements for the distro to choose (in order of importance).
-Full hardware support for a Dell Inspiron 640m: highlights include wireless card, media buttons/fn modified keystrokes, and Intel Graphics Driver. Bluetooth is neither needed nor terribly wanted.
-Quick Boot time: Optimally I am targeting a faster boot than it takes Windows to resume from hibernate (2 GB RAM). I expect to have to modify whichever distro I choose to shave seconds to meet my lofty goal here.
-Ability to read NTFS partitions that are hibernated: Windows is hibernated more often than shut down. Access to the libraries stored in "My Documents" would be lovely.
-Low power use: probably inflexible given the Laptop's age but it would be nice to have my Linux OS last longer on battery than Windows
-Media capabilities: if the power usage preference can be met I would like to be able to use it to play DVD's (preferably images of to help power use) and MP3's
-GUI driven for general use: I have no problem navigating a terminal but want the actual use of it for media/internet/office to be GUI driven and leaving the terminal for configuration/development/advanced tasks
-boot loader contained in "/" and not on the MBR: I am using a proprietary boot loader for the novelty of the media direct button. Thus the MBR is off limits (I can restore the proprietary boot loader at will from windows if needed).
That is the base of what I am looking for. I have some Linux knowledge (plenty enough to get me in trouble) and have no problems learning more. I am just unsure of which distro will be the best fit for my intended use here. I know it will probably take tweaking to get to what I want but some starting points are better than others. I am thinking I may need to use Arch or Gentoo for this but am a bit weary of going into the deep end of the technical pool (I still am not sure where in the file system binaries I compile belong).
Thank you for your input.
I have a Dell Inspiron 640m that I am looking to reinstall Linux on after migrating Windows to a larger drive. The Linux installation is secondary to the Windows one and will be started via the media direct button (a secondary power button that boots a different partition than the Windows one). I have decided to make my choice of distro more targeted as Windows remains a more natural OS to work with for general use.
My plan is to have the Linux OS be a quick booting and/or lower power alternative to my Windows OS as such I have developed the following list of requirements for the distro to choose (in order of importance).
-Full hardware support for a Dell Inspiron 640m: highlights include wireless card, media buttons/fn modified keystrokes, and Intel Graphics Driver. Bluetooth is neither needed nor terribly wanted.
-Quick Boot time: Optimally I am targeting a faster boot than it takes Windows to resume from hibernate (2 GB RAM). I expect to have to modify whichever distro I choose to shave seconds to meet my lofty goal here.
-Ability to read NTFS partitions that are hibernated: Windows is hibernated more often than shut down. Access to the libraries stored in "My Documents" would be lovely.
-Low power use: probably inflexible given the Laptop's age but it would be nice to have my Linux OS last longer on battery than Windows
-Media capabilities: if the power usage preference can be met I would like to be able to use it to play DVD's (preferably images of to help power use) and MP3's
-GUI driven for general use: I have no problem navigating a terminal but want the actual use of it for media/internet/office to be GUI driven and leaving the terminal for configuration/development/advanced tasks
-boot loader contained in "/" and not on the MBR: I am using a proprietary boot loader for the novelty of the media direct button. Thus the MBR is off limits (I can restore the proprietary boot loader at will from windows if needed).
That is the base of what I am looking for. I have some Linux knowledge (plenty enough to get me in trouble) and have no problems learning more. I am just unsure of which distro will be the best fit for my intended use here. I know it will probably take tweaking to get to what I want but some starting points are better than others. I am thinking I may need to use Arch or Gentoo for this but am a bit weary of going into the deep end of the technical pool (I still am not sure where in the file system binaries I compile belong).
Thank you for your input.
VirtualBox problem USB to paralel port converter issue
Hi everybody
I am a newbie to VirtualBox
I have installed it on my Fedora 13 and installed win xp sp3 as a guest system and its ok except for 1 or 2 issues
I have a usb to paralel converter for the printer (Prolific Technology, Inc. PL2305 Parallel Port) which is greyed out in usb devices if I log as a normal user althought when i log to the Win XP as root it works fine 9 seems to be rights issue but don't know where to go
Second issue
I have a modem which is no discovered by the win XP
any help
I am a newbie to VirtualBox
I have installed it on my Fedora 13 and installed win xp sp3 as a guest system and its ok except for 1 or 2 issues
I have a usb to paralel converter for the printer (Prolific Technology, Inc. PL2305 Parallel Port) which is greyed out in usb devices if I log as a normal user althought when i log to the Win XP as root it works fine 9 seems to be rights issue but don't know where to go
Second issue
I have a modem which is no discovered by the win XP
any help
LXer: Previewing and tweaking Ubuntu 10.10
Published at LXer:
If a quick test of the beta by LinuxTrends is any indication, this new Ubuntu version could be the most user-friendly, full-featured desktop Linux distribution ever.
Read More...
If a quick test of the beta by LinuxTrends is any indication, this new Ubuntu version could be the most user-friendly, full-featured desktop Linux distribution ever.
Read More...
Firefox addon "mediaplayerconnectivity" and playing flash video in external player.
I would like to have browser-embedded flash videos played in an external payer of my choice (VLC or mplayer preferrably but any would do). The addon "mediaplayerconnectivity" seems to be just the thing and indeed it works fine for everything except embedded flash videos like those on youtube or cartoon sites featuring Family Guy videos and the-like.
The problem seems to be the fact that they're embedded in a flash application and are thus ".swf" files instead of ".flv" files. Even standalone flashplayers like "gnash" can't even play these files.
So what I would like to do is to extract the ".flv" video on the fly and pipe it directly to VLC or mplayer. Is this possible? I've been looking at tools such as flvtool2 but I can't seem to wrap my head around how it's done. But someone must have figured this out. Maybe using another method entirely. I'm open for suggestions anyone?
TIA, regards.
The problem seems to be the fact that they're embedded in a flash application and are thus ".swf" files instead of ".flv" files. Even standalone flashplayers like "gnash" can't even play these files.
So what I would like to do is to extract the ".flv" video on the fly and pipe it directly to VLC or mplayer. Is this possible? I've been looking at tools such as flvtool2 but I can't seem to wrap my head around how it's done. But someone must have figured this out. Maybe using another method entirely. I'm open for suggestions anyone?
TIA, regards.
Just how large is Jeremy's staff of Mods here?
Over at PCWorld Forums, I have seen a "Member List" that had a sub-section for moderators, so the users could see just how many Mods really did exist. Is there a similar thing on LQ, and if so, where is it located? I know when I click on "Currently active users" at the bottom of the page, I get basically vBulletin's equivalent of a 403 Forbidden error.
