Re: X-server problem
Hi, first of all thanks for help! On Wed, Mar 14, 2012 at 06:47:38PM +1300, Chris Bannister wrote: > [CCing Andriy, (I'm guessing he is not subscribed)] > > Andriy, if you are subscribed please let us know. i am indeed subscribed to the list > > On Tue, Mar 13, 2012 at 12:26:53PM +0100, Andriy Samsonyuk wrote: > > Hello, > > > > i am currenttly running debian 6.0 with 2.6.32-5-486 on CF-27 (toughbook) > > 300MHz Pentium II with 128MB RAM. > > > > I dont need a desktop (gnome, kde, etc) but would like to have X-server > > running. > > Fine. You should consider using a window manager like fvwm though. i intend to, but not fvwm, i prefer evilwm. But first i wanted to make sure X is running. > > > X starts for root, but not for non-root user > > user is in groups: users, tty, audio, video > ^^^ > Weird, a normal user isn't in that group by default. you are right, i put the user in the group (it did not helped) ;-) > > > /etc/X11/Xwrapper.config is set to > > allowed_users=anybody > > Mmmm, mine is set to: > allowed_users=console this did not helped too ;-) > > > Every time i start X i get: > > > > Fatal server error: > > xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) > > I have: > root@tal:~# ls -al /dev/tty0 > crw--- 1 root root 4, 0 Mar 14 16:04 /dev/tty0 > > I'm guessing that your results will be different! no its not > > > changing of the permissions of /dev/tty0 does not help. > > Right. ... Ok. ... My guess is that you couldn't get X to start, and so > decided to have a "play" with things and see if you could fix it. Am I > right or am I right? :) you are surprisingly right ;-) i am starting from scratch - reinstalled X + default configuration > > How are you starting X? We need to know the exact commands. i have a xinit line in my .profile and exec /.../evilwm in .xinitrc usual configuration, that always worked (at least at 5 different PCs) and here i am getting X: user not authorized to run the X server and after playing around with files, permissions i got: xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) > > > I would appreciate any suggestions! > > First of all, Don't Panic! The good thing about Debian is, it is > fixable. i know, thats why i like it so much > > Can you remember the changes you have done? mostly, aber i set everything to default configurations, just to be sure > > What is the result of: > apt-cache policy xorg xorg: Installed: 1:7.5+8+squeeze1 Candidate: 1:7.5+8+squeeze1 Version table: *** 1:7.5+8+squeeze1 0 500 http://ftp.de.debian.org/debian/ squeeze/main i386 packages 100 /var/lib/dpkg/status -- Q: How many Oregonians does it take to screw in a light bulb? A: Three. One to screw in the light bulb and two to fend off all those Californians trying to share the experience. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314095123.ga29...@theo.chemie.tu-muenchen.de
Re: X-server problem
On Tue, Mar 13, 2012 at 09:08:07PM +0100, Juergen F. Pennings wrote: > Andriy Samsonyuk wrote: > > Every time i start X i get: > > > > Fatal server error: > > xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) > > > Hello Andriy, > for me it looks strange that you want to start the X-Server on tty0. The > normal behaviour under debian is to start it on tty7 or higher. As much as > I remember tty0 is inhibited to start the X-Server on it. What is if you > start it on another console, maybe tty5? > Please post the content of your > /etc/inittab > In mine you can find: > # Note that on most Debian systems tty7 is used by the X Window System, > # so if you want to add more getty's go ahead but skip tty7 if you run X. > tty0 is not listed in my /etc/inittab. /etc/inittab is the same as on my working debian squeeze machine: *** # /etc/inittab: init(8) configuration. # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ # The default runlevel. id:2:initdefault: # Boot-time system configuration/initialization script. # This is run first except when booting in emergency (-b) mode. si::sysinit:/etc/init.d/rcS # What to do in single-user mode. ~:S:wait:/sbin/sulogin # /etc/init.d executes the S and K scripts upon change # of runlevel. # # Runlevel 0 is halt. # Runlevel 1 is single-user. # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot. l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 l2:2:wait:/etc/init.d/rc 2 l3:3:wait:/etc/init.d/rc 3 l4:4:wait:/etc/init.d/rc 4 l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 # Normally not reached, but fallthrough in case of emergency. z6:6:respawn:/sbin/sulogin # What to do when CTRL-ALT-DEL is pressed. ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now # Action on special keypress (ALT-UpArrow). #kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." # What to do when the power fails/returns. pf::powerwait:/etc/init.d/powerfail start pn::powerfailnow:/etc/init.d/powerfail now po::powerokwait:/etc/init.d/powerfail stop # /sbin/getty invocations for the runlevels. # # The "id" field MUST be the same as the last # characters of the device (after "tty"). # # Format: # ::: # # Note that on most Debian systems tty7 is used by the X Window System, # so if you want to add more getty's go ahead but skip tty7 if you run X. # 1:2345:respawn:/sbin/getty 38400 tty1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 4:23:respawn:/sbin/getty 38400 tty4 5:23:respawn:/sbin/getty 38400 tty5 6:23:respawn:/sbin/getty 38400 tty6 # Example how to put a getty on a serial line (for a terminal) # #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 # Example how to put a getty on a modem line. # #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 *** i am getting this error msg. after allowing user to write in /var/log/ - not a nice thing to do and changing the permissions of /usr/bin/X - i have never had to do it before without this changes root# xinit starts the X-server and user# xinit tells me X: user not authorized to run X server > > -- > Sch??ne Gre vom M??hnesee > > J??rgen > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/72m439-odq@acer.hebelweg.de > > -- Tuesday After Lunch is the cosmic time of the week. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314100218.gb29...@theo.chemie.tu-muenchen.de
Boot problem : how to make it verbose ?
Hello, I installed Debian Squeeze on a multi-boot PC where Ubuntu is the first and bootable distro. Using GRUB2, the options 'nosplash debug --verbose' are used, but Debian freezes silently. How to make boot verbose to see what happen ? Hereafter the /boot/grub/grub.cfg : menuentry "test Debian GNU/Linux, with Linux 2.6.32-5-amd64 (on /dev/sda4)" --class gnu-linux --class gnu --class os { insmod part_gpt insmod ext2 set root='(hd0,gpt4)' search --no-floppy --fs-uuid --set=root b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc ro nosplash debug --verbose initrd /boot/initrd.img-2.6.32-5-amd64 The original entry in grub.cfg was created by update-grub under Xubuntu. From this entry was added in file /etc/grub.d/40_custom the option 'quiet( was replaced by 'nosplash debug --verbose' as a try to obtain verbosity. Then again update-grub to update grub.cfg file. Thanks for attention and clue. Bruno -- Linux Counter # 353844 https://linuxcounter.net/user/353844.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314110604.horde.uxjhjl5-3onpyg2mhw7d...@webmail.costacurta.org
Cups init.d file missing
Hi! I just did an update and it seems that the cups init file is missing. I looked at the bug reports,didn't see anything. I am on unstable. Ralph Bacolod ,MT http://blog.devsphoto.com twitter: @rafiks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2078184933-1331726490-cardhu_decombobulator_blackberry.rim.net-1137247030-@b18.c14.bise6.blackberry
Re: X-server problem
No need to CC me, I am subscribed. Note: I am running Wheezy, but I am fairly sure this applies to Squeeze. On Wed, Mar 14, 2012 at 10:51:23AM +0100, Andriy Samsonyuk wrote: > > On Tue, Mar 13, 2012 at 12:26:53PM +0100, Andriy Samsonyuk wrote: > > > Hello, > > > > > > i am currenttly running debian 6.0 with 2.6.32-5-486 on CF-27 (toughbook) > > > 300MHz Pentium II with 128MB RAM. > > > > > > I dont need a desktop (gnome, kde, etc) but would like to have X-server > > > running. > > > > Fine. You should consider using a window manager like fvwm though. > i intend to, but not fvwm, i prefer evilwm. But first i wanted to make sure > X is running. > > > > > X starts for root, but not for non-root user > > > user is in groups: users, tty, audio, video > > ^^^ > > Weird, a normal user isn't in that group by default. > you are right, i put the user in the group (it did not helped) ;-) > > > > > /etc/X11/Xwrapper.config is set to > > > allowed_users=anybody > > > > Mmmm, mine is set to: > > allowed_users=console > this did not helped too ;-) But its back to "allowed_users=console", right? > i am starting from scratch - reinstalled X + default configuration Mmmm, unfortunately that won't overide any config files you may have changed. > > How are you starting X? We need to know the exact commands. > i have a xinit line in my .profile and exec /.../evilwm in .xinitrc > usual configuration, that always worked (at least at 5 different PCs) > and here i am getting > X: user not authorized to run the X server What version of Debian were you running when it last worked? Things *have* changed. For example, .xinitrc has been replaced with an .xsessionrc, also you no longer need any "exec /.../evilwm" stuff. (see below) errors go in to .xsession-errors - anything in there? So you know about checking "/var/log/Xorg.0.log"? > and after playing around with files, permissions i got: > xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory) I wouldn't play around with file permissions, unless you are correcting them. > > First of all, Don't Panic! The good thing about Debian is, it is > > fixable. > i know, thats why i like it so much Excellent! You'll be half way there then. > > Can you remember the changes you have done? > mostly, aber i set everything to default configurations, just to > be sure The error "X: user not authorized to run the X server" makes me a bit doubtful, although ... Right, first comment out any lines you have added to .profile 2nd - rename .xinitrc to .xsessionrc 3rd - comment out any exec stuff in your .xsessionrc Example === All I have is: tal% less .xsessionrc /home/chrisb/background.sh & xterm -fn 10x20 -xrm "XTerm.vt100.background: #CCA8AA" -xrm \ "XTerm.vt100.foreground: blue" -geom 50x25 & And believe it or not fvwm starts ... because root@tal:~# ls -al /etc/alternatives/x-window-manager lrwxrwxrwx 1 root root 14 Mar 14 2011 /etc/alternatives/x-window-manager -> /usr/bin/fvwm2 Have a look at "/etc/X11/Xsession.d/50x11-common_determine-startup" Hopefully you haven't altered any files under /etc/X11/, right? Is this enough to go on? Remember, "/var/log/Xorg.0.log" is your friend. :) Don't hesitate to post back if you are stuck. Good luck. P.S. We still haven't considered your graphics card yet, so there may still be problems. Again - Don't Panic! -- "Religion is excellent stuff for keeping common people quiet." -- Napoleon Bonaparte -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314121821.GA9864@tal
does anyone know where to get the latest aacraid module for squeeze latest version x86 ?
I am running an ibm x3650 7979 ServRaid 8K controller that comes with the x3650 I would like to get the latest version of aacraid module. This looks to be my issue - i get a lot of aacraid hanging errors after the install and the login screen seems to hang. I would like : 1. get the latest version - seems to hang with the current version of squeeze. 2. how can i install it during the installaiton process of sqeeze thanks mjh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAK3ER7un0y2FVaBvpHaQC8xz_F0nC+CkcAQ_Y22=sBDa9z5A=w...@mail.gmail.com
Re: Cups init.d file missing
On Wed 14 Mar 2012 at 12:01:29 +, Ralph Bacolod wrote: > Hi! I just did an update and it seems that the cups init file is > missing. I looked at the bug reports,didn't see anything. I am on > unstable. /etc/init.d/cups is not there? The same upgrade here went without a hitch. Try 'apt-get remove cups' followed by a reinstall. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314124139.GX4889@desktop
RE: Unnecessary rebooting (was Re: Bash argument expanded inside alias)
> From: Chris Bannister , Date: Wed, 14 Mar 2012 > 18:00:24 +1300 > > [Please, don't top post in this mailing list] > > Just logout then log back in again, or even better, type: > "source .bashrc" at a command prompt. :) > -- > "Religion is excellent stuff for keeping common people quiet." > -- Napoleon Bonaparte Dear Chris, Thanks for this great tip "source". I must admit I google for something like that, but I was trying to find in "man bash" some argument to let bash or sh to run in the same environment. I think its an old trick, and 'source' is newer, but I'm not sure and I didn't find anything. Dear Camaleón, Unfortunately, this nice command of yours doesn't seem to work. Is it me typing something wrong, or there is really a problem? :~$ alias muda='find $1 -name "*" -mtime $2' :~$ muda /home/cheetara -4 find: invalid arg `-4' for `-mtime' Funny is that no matter if I change $2 to $1, the error is the same. Look: :~$ alias muda='find $2 -name "*" -mtime $1' :~$ muda /home/aluno -4 find: invalid arg `-4' for `-mtime' Even worse, I tell it to use $1, but give two args in the command line, and get: :~$ alias muda='find . -name "*" -mtime $1' :~$ muda /home/cruelbash -4 find: invalid arg `-4' for `-mtime' That is just to chitchat, as for now the function solution works great! Thanks, Beco. PS. Sorry for an earlier "top post", and an warning of "non html". It'll not happen again. PPS. I think I need to change the list subscription from digest to normal emails. I tried subject:help to debian-user-request, but the message that came back was of no help. (Maybe this is offtopic here -- in this email of course, and in the list in general)? A quick indication will do. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALuYw2wS1C=iezrpfaooovwtyh-rjrbgmvsoj2-xvsmqtm0...@mail.gmail.com
Re: Cups init.d file missing
I did that and still no go. I notice that during install. I get this message. "Removing any system startup links for /etc/init.d/cups ..." Ralph Bacolod ,MT http://blog.devsphoto.com twitter: @rafiks -Original Message- From: Brian Date: Wed, 14 Mar 2012 12:41:39 To: Subject: Re: Cups init.d file missing On Wed 14 Mar 2012 at 12:01:29 +, Ralph Bacolod wrote: > Hi! I just did an update and it seems that the cups init file is > missing. I looked at the bug reports,didn't see anything. I am on > unstable. /etc/init.d/cups is not there? The same upgrade here went without a hitch. Try 'apt-get remove cups' followed by a reinstall. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314124139.GX4889@desktop -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1654028793-1331730697-cardhu_decombobulator_blackberry.rim.net-1000663919-@b18.c14.bise6.blackberry
Re: Boot problem : how to make it verbose ?
On Wed 14 Mar 2012 at 11:06:04 +0100, Bruno Costacurta wrote: > I installed Debian Squeeze on a multi-boot PC where Ubuntu is the first > and bootable distro. > Using GRUB2, the options 'nosplash debug --verbose' are used, but Debian > freezes silently. > How to make boot verbose to see what happen ? > > Hereafter the /boot/grub/grub.cfg : > > menuentry "test Debian GNU/Linux, with Linux 2.6.32-5-amd64 (on > /dev/sda4)" --class gnu-linux --class gnu --class os { > insmod part_gpt > insmod ext2 > set root='(hd0,gpt4)' > search --no-floppy --fs-uuid --set=root b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc > linux /boot/vmlinuz-2.6.32-5-amd64 > root=UUID=b6ebc0b2-59cc-4ceb-81ba-c60d90be2fdc ro nosplash debug > --verbose > initrd /boot/initrd.img-2.6.32-5-amd64 Are 'nosplash' and 'debug --verbose' parameters the kernel knows about? Anyway, when GRUB comes up edit the entry (hit the 'e' key) to remove them and then boot. > The original entry in grub.cfg was created by update-grub under Xubuntu. > From this entry was added in file /etc/grub.d/40_custom the option > 'quiet( was replaced by 'nosplash debug --verbose' as a try to obtain > verbosity. > Then again update-grub to update grub.cfg file. The usual place to put kernel parameters is /etc/default/grub. Just removing 'quiet' should get you more verbosity. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314130015.GY4889@desktop
Re: Bash argument expanded inside alias
rcb wrote: > mudafct() { find . -name "*" -mtime -$1; } Is there any reason why you're using a { -name "*" } part? A quick test suggests that you might as well discard it: mudafct() { find . -mtime -"$1"; } Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/njg639xh3g@news.roaima.co.uk
testing a udp socket with netcat
i've this udp daemon which is waiting for an incoming udp datagram. now i want test this daemon for random garbage to test how it behaves. My udp daemon is running because its shows on netstat. problem is if i issue following command for putting udp datagram : $nc -uvvz it does not output any thing. i have straced the udp daemon. which does not returns from recv() call. my goal is to put arbitrary data on the udp socket by netcat. i do not have any experience regarding netcat so i'm asking if anyone can help me out with this. thanks in advance. -- "You have a voice" The King's Speech Public Key : $ gpg --keyserver keyserver.ubuntu.com --recv-key C88CFC23 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1331731626.14655.7.camel@arifLaptop
Re: Cups init.d file missing
On Wed 14 Mar 2012 at 13:11:37 +, Ralph Bacolod wrote: > I did that and still no go. > > I notice that during install. I get this message. "Removing any system > startup links for /etc/init.d/cups ..." Do you have any output from the command 'lsb_release -is'? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314133952.GZ4889@desktop
Re: Cups init.d file missing
Ubuntu Ralph Bacolod ,MT http://blog.devsphoto.com twitter: @rafiks -Original Message- From: Brian Date: Wed, 14 Mar 2012 13:39:52 To: Subject: Re: Cups init.d file missing On Wed 14 Mar 2012 at 13:11:37 +, Ralph Bacolod wrote: > I did that and still no go. > > I notice that during install. I get this message. "Removing any system > startup links for /etc/init.d/cups ..." Do you have any output from the command 'lsb_release -is'? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314133952.GZ4889@desktop -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/669461232-1331735382-cardhu_decombobulator_blackberry.rim.net-566135862-@b18.c14.bise6.blackberry
Re: Unnecessary rebooting (was Re: Bash argument expanded inside alias)
On 14/03/12 12:50, rcb wrote: Dear Camaleón, Unfortunately, this nice command of yours doesn't seem to work. Is it me typing something wrong, or there is really a problem? :~$ alias muda='find $1 -name "*" -mtime $2' :~$ muda /home/cheetara -4 find: invalid arg `-4' for `-mtime' Command line paramaters aren't passed to the alias as arguments in $1, $2 etc - those will expand to "". Instead your parameters are being added to the end of the aliased command, giving you: find -name "*" -mtime /home/cheetara -4 for both this and the following form: Funny is that no matter if I change $2 to $1, the error is the same. Look: :~$ alias muda='find $2 -name "*" -mtime $1' :~$ muda /home/aluno -4 find: invalid arg `-4' for `-mtime' You can get a better idea of what is happening by using "set -x" before running your muda command, and "set +x" afterwards. The expanded aliases will be displayed when they are executed. Quoting the bash man page section on aliases: "There is no mechanism for using arguments in the replacement text. If arguments are needed, a shell function should be used" That is just to chitchat, as for now the function solution works great! Good to hear you got a result :-) -- Dom -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f60b09f.5000...@rpdom.net
Re: h.264 & WebM
On Tue, 13 Mar 2012 22:42:26 -0700, Kelly Clowers wrote: (...) > You could get the current version (10) from Mozilla (...) It should be "11" now :-P Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqbc0$3nj$3...@dough.gmane.org
Re: Cups init.d file missing
On Wed, Mar 14, 2012 at 9:29 AM, Ralph Bacolod wrote: > Ubuntu > Ralph Bacolod ,MT > http://blog.devsphoto.com > twitter: @rafiks > > -Original Message- > From: Brian > Date: Wed, 14 Mar 2012 13:39:52 > To: > Subject: Re: Cups init.d file missing > > On Wed 14 Mar 2012 at 13:11:37 +, Ralph Bacolod wrote: > >> I did that and still no go. >> >> I notice that during install. I get this message. "Removing any system >> startup links for /etc/init.d/cups ..." > > Do you have any output from the command 'lsb_release -is'? So why are you asking here on a Debian list? You want one of these: https://lists.ubuntu.com/#Community+Support -- Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caoevnyuftcwup-jwq-us16ocvjs3l-xegukydh8btsmthnf...@mail.gmail.com
Re: testing a udp socket with netcat
On 14/03/12 13:27, Arif Hossain wrote: i've this udp daemon which is waiting for an incoming udp datagram. now i want test this daemon for random garbage to test how it behaves. My udp daemon is running because its shows on netstat. problem is if i issue following command for putting udp datagram : $nc -uvvz -z zero-I/O mode [used for scanning] it does not output any thing. i have straced the udp daemon. which does not returns from recv() call. my goal is to put arbitrary data on the udp socket by netcat. i do not have any experience regarding netcat so i'm asking if anyone can help me out with this. I *think* you are connecting to the UDP port but not sending anything, which is why the daemon isn't responding. What if you omit -z? What if (in both cases) you hammer some keys on the netcat prompt and hit enter? (or try piping e.g dmesg into the nc process: dmesg | nc -uvv -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f60b268.1000...@debian.org
Re: vsftp problems
Try running /usr/sbin/vsftpd by hand (as root) from a session on your server. Does it print any diagnostic output? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f60b2bd.2070...@debian.org
Re: Cups init.d file missing
On Wed 14 Mar 2012 at 14:29:41 +, Ralph Bacolod wrote: > Ubuntu brian@desktop:~$ lsb_release -a Distributor ID: Debian Description:Debian GNU/Linux unstable (sid) Release:unstable Codename: sid In the cups package the preinst file checks for an Ubuntu installation and removes /etc/init.d/cups if 'lsb_release -is' reports one. You could put the file back and reverse what update-rc.d did. That still leaves you with tracking down what you did to alter Sid's identity! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314145036.GA4889@desktop
Re: Cups init.d file missing
I may have installed some Ubuntu packages in the past. And I know I have Ubuntu repos on my sources.list. Thanks for pointing me in the right direction. Ralph Bacolod ,MT http://blog.devsphoto.com twitter: @rafiks -Original Message- From: Brian Date: Wed, 14 Mar 2012 14:50:36 To: Subject: Re: Cups init.d file missing On Wed 14 Mar 2012 at 14:29:41 +, Ralph Bacolod wrote: > Ubuntu brian@desktop:~$ lsb_release -a Distributor ID: Debian Description:Debian GNU/Linux unstable (sid) Release:unstable Codename: sid In the cups package the preinst file checks for an Ubuntu installation and removes /etc/init.d/cups if 'lsb_release -is' reports one. You could put the file back and reverse what update-rc.d did. That still leaves you with tracking down what you did to alter Sid's identity! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314145036.GA4889@desktop
Re: Bash argument expanded inside alias
On Tue, 13 Mar 2012 23:17:41 -0300, rcb wrote: >> From: Camaleón >> Date: Tue, 13 Mar 2012 18:06:11 + (UTC) >> >> > does not work to do what your intuition imagine what I want it to do? >> It's not the alias but the command itself. *** >> alias muda='find . -name "*" -mtime $1' *** >> And pass the negative value "-n" as argument (e.g., "muda -2") > > > Dear Camaleón, > > That is definitely the most elegant solution. Thanks! > > I was wondering, why the "-" cannot be there? Can we "escape" it? You're trying to assing a negative value to the argument, regardless the argument's value. My guess is that you may need to make the conversion first -using sed?- and then use the resulting output as argument. > I mean, what if it was a file name, we can always concatenate, lets say > "file-$1-$2.pdf", can't we? You mean you want to find for "file1.pdf", "file2.pdf", "filen.pdf"...? Mmm, maybe you can adapt your command line for that, for instance: *** alias muda='find . -name $1 -or -name $2 -mtime $3' *** Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqco0$3nj$4...@dough.gmane.org
Re: Cups init.d file missing
I do have debian its just the output of "lsb_release " command. ;-) Don't be to harsh on me kind sir. Ralph Bacolod ,MT http://blog.devsphoto.com twitter: @rafiks -Original Message- From: "Christofer C. Bell" Date: Wed, 14 Mar 2012 09:59:18 To: debian Subject: Re: Cups init.d file missing On Wed, Mar 14, 2012 at 9:29 AM, Ralph Bacolod wrote: > Ubuntu > Ralph Bacolod ,MT > http://blog.devsphoto.com > twitter: @rafiks > > -Original Message- > From: Brian > Date: Wed, 14 Mar 2012 13:39:52 > To: > Subject: Re: Cups init.d file missing > > On Wed 14 Mar 2012 at 13:11:37 +, Ralph Bacolod wrote: > >> I did that and still no go. >> >> I notice that during install. I get this message. "Removing any system >> startup links for /etc/init.d/cups ..." > > Do you have any output from the command 'lsb_release -is'? So why are you asking here on a Debian list? You want one of these: https://lists.ubuntu.com/#Community+Support -- Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caoevnyuftcwup-jwq-us16ocvjs3l-xegukydh8btsmthnf...@mail.gmail.com
Re: big problem with TP-LINK WiFi card
On Wed, 14 Mar 2012 02:41:03 +0100, Bernard wrote: > Camaleón wrote: (...) >>> Is this kernel likely to have taken into account the bug that concerns >>> my PCI wireless card ? >>> >>> >> Can't confirm on this, this is "test & try". >> >> > As for the right way to connect to Squeeze-backports, you were entirely > right. As soon as I called the proper apt-get install command, the > install of kernel 3.2.0 did start and proceeded successfully to the end. > Well, it wasn't bootable right away. Indeed, when upgrading from Lenny > to Squeeze, I had choosen to remain with GRUB 1, and, on my > /boot/grub/menu.lst, the lines related to the newly installed 3.2.0 > kernel did not have anything about 'initrd'. I had to manually add the > expected line, and then, after that, the new kernel did boot all right. > > So far, everything seems to work all right with this new kernel... but I > haven't tested everything yet... Good! > HOWEVER, as far as my TP-LINK pci wireless card is concerned, THIS IS > EXACTLY THE SAME THING AS BEFORE ! Connexion is quick and strong, but > it only lasts anytime from 30 seconds to one and a half minute, after > what the system freezes and the only way to get out is to disconnect > mains power ! Then you can open a bug report for that, including the full logs as well as what package versions are you using (wireless-tools and the firmware file for the card, if any). > I can see that newer 3.2.x kernels are available to compile and install > from scatch. But how shall I know which one - if any - has taken into > account and corrected the bug that concerns wireless connexions with my > TP-LINK pci card ? You don't know, you try and test :-) > As for the Squeeze distro with newer kernels that one can boot from a > CD, where - at what url - should I download the iso image to burn ? Not Squeeze, but another distribution of your choice that includes an updated kernel... maybe aptosid, Fedora, openSUSE? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqddf$3nj$5...@dough.gmane.org
Re: does anyone know where to get the latest aacraid module for squeeze latest version x86 ?
On Wed, 14 Mar 2012 08:56:58 -0400, Joey L wrote: > I am running an ibm x3650 7979 ServRaid 8K controller that comes with > the x3650 I would like to get the latest version of aacraid module. This > looks to be my issue - i get a lot of aacraid hanging errors after the > install and the login screen seems to hang. Have you reported it? > I would like : > 1. get the latest version - seems to hang with the current version of > squeeze. > 2. how can i install it during the installaiton process of sqeeze AFAIK, "aacraid" it's included in the kernel, so the latest kernel you have the latest version for "aacraid" you get. Another option could be using Adaptec's own implementation but its availability will depend on the card's manufacturer, you can check if they provide any driver for the card that you can compile and load at installation time (there's a menu entry in the menu that allows loading external drivers). Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqe4f$3nj$6...@dough.gmane.org
Re: Boot problem : how to make it verbose ?
On Wed, 14 Mar 2012 11:06:04 +0100, Bruno Costacurta wrote: > I installed Debian Squeeze on a multi-boot PC where Ubuntu is the first > and bootable distro. Are you chainloading GRUB2s or are you loading Debian directly from Ubuntu's own GRUB2 version? > Using GRUB2, the options 'nosplash debug --verbose' are used, but Debian > freezes silently. > How to make boot verbose to see what happen ? (...) The changes you have done should be enough. In what stage is the system hanging at? What can you see in the screen? Can you at least reach the GRUB2 boot menu? I would try to load Debian from SuperGrub2Disk or any other LiveCD just to test if it hangs at the same point. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqej8$3nj$7...@dough.gmane.org
Re: Video server and client
On Tue, 13 Mar 2012 20:18:18 -0400, Mark Neidorff wrote: > Suppose that I want to put up some in house tutorials on a linux server > and have users on linux workstations view (and listen to, of course) > these videos. What is a good way to do this? You mean broadcasting media streaming? VideoLAN could do the job but also a simple local web server :-) More options: http://en.wikipedia.org/wiki/Comparison_of_streaming_media_systems Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqfpd$3nj$8...@dough.gmane.org
Re: X-server problem
Andriy Samsonyuk wrote: > /etc/inittab is the same as on my working debian squeeze machine: > > *** This looks OK for me. You should find out why the X-Server starts on tty0 and not on tty7. Maybe that is the problem, but it's only a guess. Does anybody here in this Forum know where this can be configured? -- Regards from Moehnesee Jürgen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/9ur639-6iv@acer.hebelweg.de
Re: does anyone know where to get the latest aacraid module for squeeze latest version x86 ?
I would like to check the manufacture website..i know it is adaptec. I just do not know which card it is - they call it something different on their site. Also need the steps to install On Wed, Mar 14, 2012 at 11:39 AM, Camaleón wrote: > On Wed, 14 Mar 2012 08:56:58 -0400, Joey L wrote: > >> I am running an ibm x3650 7979 ServRaid 8K controller that comes with >> the x3650 I would like to get the latest version of aacraid module. This >> looks to be my issue - i get a lot of aacraid hanging errors after the >> install and the login screen seems to hang. > > Have you reported it? > >> I would like : >> 1. get the latest version - seems to hang with the current version of >> squeeze. >> 2. how can i install it during the installaiton process of sqeeze > > AFAIK, "aacraid" it's included in the kernel, so the latest kernel you > have the latest version for "aacraid" you get. > > Another option could be using Adaptec's own implementation but its > availability will depend on the card's manufacturer, you can check if > they provide any driver for the card that you can compile and load at > installation time (there's a menu entry in the menu that allows loading > external drivers). > > Greetings, > > -- > Camaleón > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/jjqe4f$3nj$6...@dough.gmane.org > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAK3ER7s3L=y2t6yywsvszws5ns7zkfj1kh8vrrd6s-tzc9x...@mail.gmail.com
Re: does anyone know where to get the latest aacraid module for squeeze latest version x86 ?
On Wed, 14 Mar 2012 12:27:18 -0400, Joey L wrote: > On Wed, Mar 14, 2012 at 11:39 AM, Camaleón wrote: (...) >> AFAIK, "aacraid" it's included in the kernel, so the latest kernel you >> have the latest version for "aacraid" you get. >> >> Another option could be using Adaptec's own implementation but its >> availability will depend on the card's manufacturer, you can check if >> they provide any driver for the card that you can compile and load at >> installation time (there's a menu entry in the menu that allows loading >> external drivers). > I would like to check the manufacture website..i know it is adaptec. I > just do not know which card it is - they call it something different on > their site. "lspci -v | grep -i adaptec" will tell. Anyway, more that looking into Adaptec's site I would make a search at the IBM pages. > Also need the steps to install What you demand is far from easy :-), not the installation itself but having to deal with hard disk controller drivers. You have to decide first what path to follow: install an updated kernel, compile an updated driver for your current kernel, getting a pre-made module from IBM or adaptec site... then decide when to install it (at install time or once the system has been installed) and finally run your own tests to see if all works as expected. Needless to say that these operations can fail and thus lose your data (or make it unaccesible) so before starting to play with the raid driver make a full backup of the data available on the array(s). It would be better to have no data on the arrays at all. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqif3$3nj$9...@dough.gmane.org
Re: h.264 & WebM
On Wed, Mar 14, 2012 at 07:52, Camaleón wrote: > On Tue, 13 Mar 2012 22:42:26 -0700, Kelly Clowers wrote: > > (...) > >> You could get the current version (10) from Mozilla > > (...) > > It should be "11" now :-P Ah, yes. As of last night... at least I wasn't too far behind. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAFoWM=_2912dsfq_rb3br+3d0vewomsxtb+smhba9thdwfj...@mail.gmail.com
Re: h.264 & WebM
On 13/03/12 10:42 PM, Kelly Clowers wrote: However, WebM support is in as of FF/IW 4. Most YouTube content is available as WebM now, certainly more than is h.264. You could get the current version (10) from Mozilla, or you could get Iceweasel backports: http://mozilla.debian.net/ The backport is installed and it qualifies for the YouTube HTML5 trial. Thanks, ... Peter E. -- Telephone 1 360 639 0202. bcc: peter at easthope.ca "http://carnot.yi.org/"; "http://members.shaw.ca/peasthope/index.html#Itinerary"; -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f60ca67.9030...@easthope.ca
Re: vsftp problems
On Tue, 13 Mar 2012 11:49:43 -0700, Gary Roach wrote: > Hi Hi... please, avoid using html :-) > Setting up vsftp should be a snap. Just follow the howto. Right. With > listen=YES in the .conf file and try to ftp the server from another > system on my network, I get: > > On the server: > root@x2:/etc# service vsftpd start > Started FTP server: vsftpd > > Note: ps xaf doesn't show vsftpd to be running Maybe this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629910 > On the client > > root@xx1:/etc# ftp xx2 > Connected to xx2.home. > 421 Service not available, remote server has closed connection > ftp> (...) Mmm, are you using the sparc package? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630387 Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqm1v$3nj$1...@dough.gmane.org
Re: Chromium, the sync server is busy, please try again later (6.0.472.63 (59945) Built on Debian 6.0, running on Debian 6.0.4)
On Sun, Feb 26, 2012 at 4:12 PM, Camaleón wrote: > On Fri, 24 Feb 2012 22:45:22 +0100, Bernard van de Koppel wrote: > >> Hi, > > Hi. Please, no html formatted messages, thanks :-) > >> I ran into an issue, where chromium in my Debian laptop won't sync with >> my my profile. >> I already removed the date from the google dashboard ( >> https://www.google.com/dashboard/?hl=nl), but this does not seem to >> help. >> >> Signing in to the account works fine (before and after the "stop >> synchronisation and remove data from google (translate from dutch)). But >> after the "configure sync" window, I get the error "The sync server is >> busy, please try again later." > > Have you already checked if the account has been confirmed? This usually > means that your e-mail address is properly verified. > > Are you seeing further errors/warnings on your account settings? > > Greetings, > > -- > Camaleón Hi, I run into the same problem. The problem is that the chromium version is too old. I tried to solve it, but no success. Then I tried to backport the chromium from sid, but some packages are too old in squeeze to do that. At the end I recompile chromium with the source that I downloaded from http://www.chromium.org/ Another option is to install chrome... but I do like that. It would be great to have a newer version in chromium in backports. That is a big problem with Debian. I do not mind to have old versions of the software, indeed I prefer to have a stable system. But the browser should be updated, or at least have the option to use an updated version of the browser. Best, Daniel -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAK00fOKUMoUrShM-taM7VD95J5vfT2gMYU8rK3-6=+zom6v...@mail.gmail.com
NFS portmap - is it really needed and if so where is it?
Hello All I is trying to set up NFS for my LAN. The NFS-HOWTO says that portmap, usually resident in /sbin or /usr/sbin, is essential as it has to be started first. Well, I don't have it and it does not appear in the Contents-i386.gz for sid on ftp.uk.debian.org. So has it been superseded? What do I need to get my NFS server working? Any help much appreciated. -- Sian Mountbatten Algol 68 Specialist -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jjqoof$3ht$1...@speranza.aioe.org
Re: Re: Bash argument expanded inside alias
On Tue 13 Mar 2012 15:49:52 +(+), Clive Standbridge wrote: > Oh I think I misunderstood the question. > On second thoughts, I think you probably meant to use an alias inside > a shell script, and to use the script's argument in the alias. In that > case, the problem would be shell parameters are not expanded inside > single quotes. You would need to use double quotes, for example > > alias muda="find . -name '*' -mtime -$1" > > > -- > Cheers, > Clive Hi Clive, Just for the record, I tried to include in ~./bash_aliases the following command: alias muda="find . -mtime -$1" (As Chris Davies correctly suggested I don't need -name "*", so I simplified it) But after run $source ~./bash_aliases $alias alias muda='find . -mtime -' Funny thing, I realized and run: $source ~./bash_aliases 10 $alias alias muda='find . -mtime -10' Finally I came to the conclusion I really can't use args inside alias, as you stated in an earlier message. All other answers to this email suggesting $1 inside an alias fail because of that. The alias is created using the script arguments, not the arguments passed to the alias during its usage. My last solution, very interesting, is that I don't need an argument at all. See what works! Inside ~./bash_aliases I wrote: alias muda="find . -mtime " Now, after run $source ~./bash_aliases $alias alias muda='find . -mtime ' And I can run my alias without using a function, just typing: $ muda -10 It will concatenate the whole alias with the arg and run. Thats a nice solution without using any function at all. Also, it explains why you changing the -$1 to $1 (passing a negative value, instead of keeping the 'minus' in the alias and passing a positive value) works. Actually, all $1 is substituted to an empty string, and it is just like the alias above. Unfortunately, you cannot, for example, change the directory with an argument, because 'find' can't accept a command in an inverted order like: $find -mtime -10 /home/kilemal in case which your alias could be just alias muda='find -mtime'. You need a function to achieve that. Thanks all for your help and patience, -- Beco Linux Counter #201942 The man who revived a pentium 200 MMX from 1997, with debian squeeze and made a server with it! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALuYw2wis+aT4-whf+LWNbpYWGR1U6dZ=eafd4otd+0onje...@mail.gmail.com
OT chromium/chrome sandbox
Hi, I installed chrome and also new version of chromium, but I installed both only for a single user that I only use to use chrome/chromium. I installed chrome in /home/user/opt. Usually I do that with programs that I download from internet. Interestingly I noticed that chrome/chromium use some kind of sandbox to isolate the process that renders the page. That is a good idea for security purposes, but it requires to the executable chrome-sandbox to have suid root access. I do not understand that. How about if there is a bug in chrome-sandbox? Then some malicious code could get root access which is even worse. I am running chrome with the option --no-sandbox, and I didn't set the root suid to chrome-sandbox. Do you think that this is a good idea? Best, Dan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAK00fOKtcY1PpQAbbFPGZY8qN7V1AhHFkofTYrQ-6-=z3uj...@mail.gmail.com
Re: NFS portmap - is it really needed and if so where is it?
2012/3/14 Sian Mountbatten > Hello All > > I is trying to set up NFS for my LAN. The NFS-HOWTO says that portmap, > usually resident in /sbin or /usr/sbin, is essential as it has to be > started first. Well, I don't have it and it does not appear in the > Contents-i386.gz for sid on ftp.uk.debian.org. > > So has it been superseded? What do I need to get my NFS server working? > you need rpcbind BTW nfs-common depends on it regards -r -- *L'unica speranza di catarsi, ammesso che ne esista una, resta affidata all'istinto di ribellione, alla rivolta non isterilita in progetti, alla protesta violenta e viscerale.*
Re: OT Apache Open Office
On Tue, Mar 13, 2012 at 16:45, Jon Dowland wrote: > On Tue, Mar 13, 2012 at 01:36:58PM +0200, Dotan Cohen wrote: >> Thanks, I will start enumerating the differences between OpenOffice and >> LibreOffice here: >> http://dotancohen.com/eng/difference_openoffice_libreoffice.html > > That's going to be one hell of a moving target. That is why I ask for the community's help. I don't expect to notice all the differences, but when major disparities of functionality are identified, I would like to have them enumerated in an easy-to-find resource. Hence the page. > What audience are you trying > to serve with that page? > Two audiences: 1) Those who are deciding between the two suites. 2) Those who are having trouble with a specific aspect of one of the suites, which may be addressed in the other. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cakdxfkmgzidzszkcyybj1-18sjghhcr70b_1bg5ccwk2pn7...@mail.gmail.com
Changing subscription from -digest to normal [was: Re: Unnecessary rebooting (was Re: Bash argument expanded inside alias)]
On Mi, 14 mar 12, 09:50:11, rcb wrote: > PPS. I think I need to change the list subscription from digest to > normal emails. I tried subject:help to debian-user-request, but the > message that came back was of no help. (Maybe this is offtopic here -- > in this email of course, and in the list in general)? A quick > indication will do. Why would it be offtopic? It's just a good idea to not mix more problems in the same mail and use an apropiate subject (like I did) Anyway, 'help' works only with majordomo@l.d.o and it goes in the body (not the subject), but for what you need I'm guessing you have unsubscribe the digest and subscribe the normal list, and this can be done with the proper subject to the corresponding -request list. Hope this helps, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: NFS portmap - is it really needed and if so where is it?
On 14/03/12 18:41, Sian Mountbatten wrote: Hello All I is trying to set up NFS for my LAN. The NFS-HOWTO says that portmap, usually resident in /sbin or /usr/sbin, is essential as it has to be started first. Well, I don't have it and it does not appear in the Contents-i386.gz for sid on ftp.uk.debian.org. So has it been superseded? What do I need to get my NFS server working? Any help much appreciated. Package: rpcbind Version: 0.2.0-7 Architecture: i386 Maintainer: Anibal Monsalve Salazar Installed-Size: 145 Depends: libc6 (>= 2.3.6-6~), libtirpc1, libwrap0 (>= 7.6-4~), lsb-base (>= 3.2-14), insserv (>= 1.14.0-2.1) | file-rc, initscripts (>= 2.88dsf-13.3) Conflicts: portmap Provides: portmap Section: net Priority: standard Homepage: http://sourceforge.net/projects/rpcbind/ Filename: pool/main/r/rpcbind/rpcbind_0.2.0-7_i386.deb Size: 43416 MD5sum: 568abefe9d0894efb841eefc12b4 Description: converts RPC program numbers into universal addresses The rpcbind utility is a server that converts RPC program numbers into universal addresses. Not quite sure why this isn't a depends or suggests of the nfs server package. Perhaps someone can enlighten me? -- Dom -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f60f434.6040...@rpdom.net
Re: OT chromium/chrome sandbox
On Mi, 14 mar 12, 20:09:10, Dan wrote: > > Interestingly I noticed that chrome/chromium use some kind of sandbox > to isolate the process that renders the page. That is a good idea for > security purposes, but it requires to the executable chrome-sandbox to > have suid root access. I'm not very familiar with chrome/chromium, but this sounds wrong. Could you please point me to where this is documented? Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: Boot problem : how to make it verbose ?
I installed Debian Squeeze on a multi-boot PC where Ubuntu is the first and bootable distro. Are you chainloading GRUB2s or are you loading Debian directly from Ubuntu's own GRUB2 version? I boot direclt from the Ubuntu's own GRUB2 version. Using GRUB2, the options 'nosplash debug --verbose' are used, but Debian freezes silently. How to make boot verbose to see what happen ? (...) The changes you have done should be enough. However other options were also tried without any result. In what stage is the system hanging at? What can you see in the screen? Can you at least reach the GRUB2 boot menu? I would try to load Debian from SuperGrub2Disk or any other LiveCD just to test if it hangs at the same point. Yes, the GRUB2 menu is reached (in fact, it's used to boot the other system on same PC). The Debian system hangs direcly. Nothing is displayed. Yes, a LiveCD Debian 6 works fine (however it was a i386, the installed Debian is a amd64, the working Xubuntu is also a amd64). Bye, Bruno -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314204803.horde.xkkaj75-3onpypxzxwj1...@webmail.costacurta.org
Re: OT chromium/chrome sandbox
On Wed, Mar 14, 2012 at 8:40 PM, Andrei POPESCU wrote: > On Mi, 14 mar 12, 20:09:10, Dan wrote: >> >> Interestingly I noticed that chrome/chromium use some kind of sandbox >> to isolate the process that renders the page. That is a good idea for >> security purposes, but it requires to the executable chrome-sandbox to >> have suid root access. > > I'm not very familiar with chrome/chromium, but this sounds wrong. Could > you please point me to where this is documented? > > Kind regards, > Andrei Hi Andrei, Here you can find the doc for the sandbox: http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox http://www.chromium.org/developers/design-documents/sandbox And some discussion: http://scarybeastsecurity.blogspot.com/2009/10/chromium-and-linux-sandboxing.html The idea is good but in Linux requires root access, which I do not like. It seems that it might be possible use the sandbox in a SELinux environment but I do not know how to do that: http://code.google.com/p/chromium/wiki/LinuxSandboxing Best regards, Dan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAK00fOLJ_61QZQTobxfDBjCLBQKowmCcpAJ7cPZ8hfqsmA=+t...@mail.gmail.com
Re: OT chromium/chrome sandbox
Dan wrote: > Andrei POPESCU wrote: > > Dan wrote: > >> Interestingly I noticed that chrome/chromium use some kind of sandbox > >> to isolate the process that renders the page. That is a good idea for > >> security purposes, but it requires to the executable chrome-sandbox to > >> have suid root access. > > > > I'm not very familiar with chrome/chromium, but this sounds wrong. Could > > you please point me to where this is documented? I don't know if this is documented anywhere other than in the source code but this is the helper executable under discussion: $ ls -ld /usr/lib/chromium/chromium-sandbox -rwsr-xr-x 1 root root 18720 Mar 8 17:36 /usr/lib/chromium/chromium-sandbox > Here you can find the doc for the sandbox: > http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox > http://www.chromium.org/developers/design-documents/sandbox > > And some discussion: > http://scarybeastsecurity.blogspot.com/2009/10/chromium-and-linux-sandboxing.html > > The idea is good but in Linux requires root access, which I do not > like. It seems that it might be possible use the sandbox in a SELinux > environment but I do not know how to do that: > http://code.google.com/p/chromium/wiki/LinuxSandboxing If you don't accept that sometimes such as this one running as root can enable more security then at your option you can disable it with the --no-sandbox option. chromium --no-sandbox But as noted that prevents it from setting up the chroot jail and actually decreases security by the associated amount. However other browsers don't that that feature so probably no worse than other simply using browsers. Bob signature.asc Description: Digital signature
QuickCam Orbit AF Pan/Tilt Broken in Sid
Hi all, I have a Logitech QuickCam Orbit AF (USB ID 046d:0994). The Pan/Tilt controls work fine under Debian Squeeze, but they fail under Debian Sid. When I plug in the camera, udev runs uvcdynctrl to load the pan/tilt controls into the driver. On Debian Squeeze, this works OK, but here is what happens on Debian Sid: Executing command: 'uvcdynctrl -d /dev/video0 --addctrl=046d:0994' [libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a non-contiguous range of choice IDs found [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009A0901, name = 'Exposure, Auto' checking dir: /usr/share/uvcdynctrl/data found dir: 046d found: /usr/share/uvcdynctrl/data/046d/logitech.xml Parsing: /usr/share/uvcdynctrl/data/046d/logitech.xml Importing dynamic controls from file /usr/share/uvcdynctrl/data/046d/logitech.xml. ERROR: Unable to import dynamic controls: Invalid device or device cannot be opened. (Code: 5) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: device 'video0' skipped because the driver 'uvcvideo' behind it does not seem to support dynamic controls. In an attempt to narrow down the problem, I rebooted my machine to the Squeeze kernel (2.6.32-5-686-bigmem), and the error message changed: Importing dynamic controls from file /usr/share/uvcdynctrl/data/046d/logitech.xml. /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Pan (relative)' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Tilt (relative)' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Pan Reset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Tilt Reset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Pan/tilt Reset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Focus' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'LED1 Mode' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'LED1 Frequency' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Disable video processing' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Raw bits per pixel' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 22: Invalid argument) I downgraded libwebcam0, uvcdynctrl, and uvcdynctrl-data to the versions in Squeeze. At this point the pan/tilt controls started working OK. When I rebooted back to the current Sid kernel (3.2.0-2-686-pae), I got the original error again. This leads me to believe there is a problem with the kernel, but I wanted to try asking here before filing a bug report. Has anyone else encountered this problem? Any thoughts on what I should try next? I can't use 2.6.32 for day-to-day operations, so I'm kind of stuck in a bind. Please CC me as I'm not subscribed to the list. Cheers, Mike.
Re: Bash argument expanded inside alias
rcb wrote: > And I can run my alias without using a function, just typing: > $ muda -10 > Unfortunately, you cannot, for example, change the directory with an > argument, because 'find' can't accept a command in an inverted order > like: > $find -mtime -10 /home/kilemal And the function is trivial. Just pop it in your .bashrc muda() { local M="$1" D="$2"; find "${D:-.}" -mtime -"${M:-1}"; } muda # Find from "." anything modified within 1 day muda 3# Find from "." anything modified within 3 days muda 2 /tmp # Find from "/tmp/" anything modified within 2 days Or if you really don't want a function, create a script and drop it into $HOME/bin mkdir -p "$HOME"/bin; cat > "$HOME"/bin/muda
Re: testing a udp socket with netcat
Arif Hossain wrote: > i've this udp daemon which is waiting for an incoming udp datagram [...] > problem is if I issue following command for putting udp datagram : > $nc -uvvz > it does not output any thing UDP is connectionless, so you cannot check whether there is something listening simply by connecting to the port. This is documented in the netcat man page: CAVEATS UDP port scans will always succeed (i.e. report the port as open), rendering the -uz combination of flags relatively useless. Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2cc739x6kr@news.roaima.co.uk
Re: OT chromium/chrome sandbox
On Mi, 14 mar 12, 21:20:58, Dan wrote: > > Here you can find the doc for the sandbox: > http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox > http://www.chromium.org/developers/design-documents/sandbox > > And some discussion: > http://scarybeastsecurity.blogspot.com/2009/10/chromium-and-linux-sandboxing.html > > The idea is good but in Linux requires root access, which I do not > like. It seems that it might be possible use the sandbox in a SELinux > environment but I do not know how to do that: > http://code.google.com/p/chromium/wiki/LinuxSandboxing Interesting (though I only skimmed through). I'm by far not an expert on these matters, but considering the exposure of chrome/chromium I'm guessing that code has seen at least some scrutiny by knowledgeable people. I'm not worried :-) Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: sshfs and permissions
2012/3/9 Tom H : > On Thu, Mar 8, 2012 at 1:28 PM, Camaleón wrote: >> On Wed, 07 Mar 2012 18:27:29 +0100, Pierre Penninckx wrote: >> >> (...) >> >>> So like I said I didn't manage to make permission 100% work through >>> sshfs, though it works on the server or through DokanFS. The ACL on the >>> /srv/movies folder is: # file: movies >>> # owner: root >>> # group: videos >>> # flags: -s- >>> user::rwx >>> group::rwx >>> other::r-x >>> default:user::rwx >>> default:group::rwx >>> default:other::r-x >>> (and the default user umask is 0022) >>> >>> When creating a file in this directory while connect through the server >>> (or with DokanFS), the file has these permissions: >>> rw-rw-r-- fine. >>> But when creating it through sshfs it have: >>> rw-r--r-- bad. >>> And rwxr-xr-x for folders. >>> >>> First, thanks for reading my long post. Second, do you have any >>> suggestions ? I don't really know what to test. >> >> I Googled a bit and found some information about this problematic. For >> instance, this blog article explains the issue quite well: >> >> SSHFS: fix for wrong file permissions on server >> http://andre.frimberger.de/index.php/linux/sshfs-fix-for-wrong-file-permissions-on-server/ >> >> I don't know if that matches for your current situation nor if it helps >> you in any way but maybe can trigger a light in your head :-) > > The first paragraph of that URL mentions sftp, "SSHFS normally > propagates the umask of the client to the server. This works great > when the sftp server doesn’t care about the umask while creating files > or directories. But the problem is, that the openssh sftp server > indeed cares about the server side umask", so I checked the sshfs man > page and it says "On the remote computer the SFTP subsystem of SSH is > used". You should therefore be able to set the umask for sftp via the > usual wrapper script and get the umask that you want. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/caodoszina6w+ru6jtgmdbu9y03mvtpqqej+-xdbutcedh+...@mail.gmail.com > First, thank you for your help and sorry for the response delay. Here are the options I used: `-o uid=501 -o gid=20 -o umask=002` For what I understand, the main purpose of these options are to fool the client permissions. In fact, it seems there's no relation between the permissions on the server and the permissions seen from the client. >From the client, all the folders and files are owned by 501/20 (user/group) and have a 775 permission (files also have 775 and not 664). But the permissions are still working: the server does not allow me to do actions I don't have permission to do. For example, if on the server I create a file with touch a && chmod 000 a on the server if I `ls -l` it gives me: -- a but on the client -rwxrwxr-x a @Camaleón: I will make remarks on the link you provided me. Approach 1: This doesn't work, for the reasons I said above. Approach 2 & 3: These approaches are technically the same: fixing the problem afterwards. This works great but I don't find it very neat so I will use it if really necessary. Also, `inotifywatch` should do the trick. @Rob Owens: I tried the `-o allow_other` but this only let me access the mounted directory with another user on the client side. This doesn't fix the problem. @ Tom H: This seems to be the problem but I must say that I don't really understand what this paragraph means, especially this: "But the problem is, that the openssh sftp server indeed cares about the server side umask [...] On the remote computer the SFTP subsystem of SSH is used. You should therefore be able to set the umask for sftp via the usual wrapper script and get the umask that you want." What wrapper script ? I must apologize if I didn't make it clear before, but the problem is not only a umask problem, it's also an ACL problem (I think). In fact, the umask of the user on the server is 002 and when I create a file through sshfs, the permissions are correct (755 or 644). The thing is I added default ACLs like the `default:group` option and it doesn't seem to be applied, though if I `getfacl` on the files created on the client side it seems the permissions are correct. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/camzgwy0tva-ukfqygkr+mnajffa3rzuy-raumta8hittnx3...@mail.gmail.com
Re: Boot problem : how to make it verbose ?
On Wed 14 Mar 2012 at 20:48:03 +0100, Bruno Costacurta wrote: > Yes, the GRUB2 menu is reached (in fact, it's used to boot the other > system on same PC). The Debian system hangs direcly. Nothing is > displayed. > Yes, a LiveCD Debian 6 works fine (however it was a i386, the installed > Debian is a amd64, the working Xubuntu is also a amd64). Go to the commandline from the GRUB menu. Type 'ls' for a list of the disks and partitions on them. It seems (hd0,gpt4) is where you have Debian. 'ls -l (hd0,gpt4) should allow you to check the UUID of the partition. With 'ls -l (hd0,gpt4)/boot' the kernel and initrd.img can be checked. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120314230720.GB4889@desktop
LED tube light
Dear Manager, How are you? Wish everything is fine with you. We are professional LED light manufacturer in China. We can provide you high quality LED lights which have CE and RoHS certification. We can provide T5,T8,T10 LED tube light, they have two diffirent style: led and SMD,like the pictures below. More information, please view our products link: http://www.clbulb.com/ProductClass-51-1.html Thanks and best regards Lorrine Email: lorr...@led-cl.com skype: chenglidianzi MSN: auto_l...@live.cn Tel: 0086-769-23394880 ChengLi Optoelectronic Co,,Limited Web: www.led-cl.com & www.clbulb.com & www.cl-car.com We can provide: 1.LED resident and commercial light: LED street light, LED flood light,LED high bay light,LED tube light,LED corn light,LED G4/G9/G24 light,LED E14/E27/B22 bulb and candle light,Led spotlight/cup lihgt: MR11/MR16/GU10 led/SMD light, New style 360 degree LED candle light,etc. 2. LED car light: LED strip light, LED car and bike wheel decoration light, LED daytime running light,etc. <>
Re: Cups init.d file missing
On Wed, Mar 14, 2012 at 10:16 AM, Ralph Bacolod wrote: > I do have debian its just the output of "lsb_release " command. ;-) > > Don't be to harsh on me kind sir. > > -Original Message- > From: "Christofer C. Bell" > Date: Wed, 14 Mar 2012 09:59:18 > To: debian > Subject: Re: Cups init.d file missing > > So why are you asking here on a Debian list? You want one of these: > > https://lists.ubuntu.com/#Community+Support Hah! You got me! Sorry, Ralph, I just see so many folks come into #debian for help, take up so much time for so many people, only to reveal "I'm using Ubuntu," late in the game. So my knee-jerk reaction is, "get outta here, kid!" :-) -- Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caoevnyvth1kdq5ossqrnikxgun6ytqg0uapnsm4tk-dcggz...@mail.gmail.com
Re: NFS portmap - is it really needed and if so where is it?
Dom wrote: > Not quite sure why this isn't a depends or suggests of the nfs server > package. Perhaps someone can enlighten me? But it does. $ apt-cache show nfs-kernel-server | grep --color nfs-common Depends: libblkid1 (>= 2.16), libc6 (>= 2.3), libnfsidmap2, libtirpc1, libwrap0 (>= 7.6-4~), nfs-common (= 1:1.2.5-4), ucf, lsb-base (>= 1.3-9ubuntu3) and then $ apt-cache show nfs-common | grep --color rpcbind Depends: libc6 (>= 2.3), libcap2 (>= 2.10), libcomerr2 (>= 1.01), libdevmapper1.02.1 (>= 2:1.02.20), libevent-2.0-5 (>= 2.0.16-stable), libgssapi-krb5-2 (>= 1.6.dfsg.2), libgssglue1, libk5crypto3 (>= 1.6.dfsg.2), libkeyutils1, libkrb5-3 (>= 1.6.dfsg.2), libmount1 (>= 2.19.1), libnfsidmap2, libtirpc1, libwrap0 (>= 7.6-4~), rpcbind, adduser, ucf, lsb-base (>= 1.3-9ubuntu3), initscripts (>= 2.88dsf-13.3) In recent versions it has changed dependencies from portmap to rpcbind. Not sure why or what is different between those programs but in theory they are equivalent and provide the same functionality. Bob signature.asc Description: Digital signature
Re: OT Apache Open Office
On Wed, Mar 14, 2012 at 2:17 PM, Dotan Cohen wrote: > On Tue, Mar 13, 2012 at 16:45, Jon Dowland wrote: >> On Tue, Mar 13, 2012 at 01:36:58PM +0200, Dotan Cohen wrote: >>> Thanks, I will start enumerating the differences between OpenOffice and >>> LibreOffice here: >>> http://dotancohen.com/eng/difference_openoffice_libreoffice.html >> >> That's going to be one hell of a moving target. > > That is why I ask for the community's help. I don't expect to notice > all the differences, but when major disparities of functionality are > identified, I would like to have them enumerated in an easy-to-find > resource. Hence the page. > > >> What audience are you trying >> to serve with that page? >> > > Two audiences: > 1) Those who are deciding between the two suites. > 2) Those who are having trouble with a specific aspect of one of the > suites, which may be addressed in the other. I'd also hope: 3.) LibreOffice developers who would like an overview of areas where LO is perhaps deficient compared to OOo, and are interested in correcting those issues. -- Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOEVnYst16nGC5=9qpacheovk44rkg+qt3r06gnlyc3oqd8...@mail.gmail.com