Re: Console resolution
> I am not new to the linux way of things but I am new to the debain > way of things and I have some questions that need to be answered. To > start, I need to ket rid of nouveau as it's screwing with uvesafb > (produces an 'Error -22'). I added it to > /etc/modprobe.d/blacklist.conf but it's still being loaded. Nouveau > is > also only using the top-left quarter of my laptop's display and it's > rather annoying. Once I can get rid of Nouveau I can then work on > getting my nvidia driver loaded and I can use X ... as it stans > nouveau is also not working correctly with X ... I get a very > corrupt > display but otherwise functional, just very hard to see. > > P.S. I tried hitting freenode/#debian but they were utterly useless > in > trying to actually help, people there were actually rather rude to > me, > I was told more then once to search google (which btw offered no > real > solutions). > . This is from my install notes, may not be for the version of Debian you have installed, but hope it helps Tim. --- nvidia drivers I did this with lenny 5.x got this info from http://wiki.debian.org/NvidiaGraphicsDrivers make sure non-free is included in the /etc/apt/sources.list file remember to apt-get update after changing the sources file run the script at the following location to find out which drivers to use http://wiki.debian.org/NvidiaGraphicsDrivers?action=AttachFile&do=view&target=nvidia-versions.sh assuming you can use all / default drivers (My current card can) then do apt-get install module-assistant nvidia-kernel-common m-a auto-install nvidia-kernel-source apt-get install nvidia-glx in /etc/X11/xorg.conf add the line to the Device section Driver "nvidia" restart X and test, you want to see "direct rendering: Yes" with: glxinfo | grep rendering -- 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/ecd26527873559c6cbf66c8b801eb82c.squirrel@192.168.1.100
Re: Spam Rules, per argument (Re: Any package for surveys?)
> On 01/29/2011 12:01 AM, elbbit wrote: >> On 28/01/11 19:16, Chris Brennan wrote: >>> Off-list, BCC to postmaster@freebsd and debian lists >> Unfortunately, I think it is best if people see what you are >> saying. >> Read on for further understanding. >> >>> On Fri, Jan 28, 2011 at 12:56 PM, elbbit >>> wrote: On 28/01/11 16:50, Chris Brennan wrote: I am very content. >>> Then be content to find the right forum, this isn't the right >>> one. >> Could you be kind enough to indicate where the correct forum would >> be? >> According to the advice offered to me by the Zeitgeist Movement (a >> large >> collection of people) any forum is suitable for this issue. >> I forgive you for being misguided. >>> Eff you and your insufferable forgiveness. I do not forgive you, >>> I don't >>> care to forgive you and I most certainly do not want your >>> forgiveness. >> I forgive you all the same. >> I understand your frustration. However, I am asking if you know of any way in which we can move the world forward using free software as a means? You, me, the world, we are all here together, and a global awakening is happening. If it is not me it will be someone else, sooner or later. >>> Your in insufferable miscreant bastard, suck on that label. >> I forgive you again. >> I forgive you. The combination of words that I am currently writing into Thunderbird which will move through the system to your screen and into your consciousness for you to make a decision on what combination of words to write back... can be "spam" for you, or "idea" to another. >>> Spam is the abuse of electronic messaging systems (including most >>> broadcast >>> media, digital delivery systems) to send unsolicited bulk >>> messages >>> indiscriminately. ... >>> (http://en.wikipedia.org/wiki/Spam_(electronic)) >> Thank you for the reference to the definition. I peruse it at my >> leisure. >> I am no wiser than you. Nobody has once yet said "oh, yeah, you reckon you can change the world then, yeah, well, what do you reckon is gonna replace money?" >>> I have a baseball bat that would love to teach you wisdom. >>> BATTERS UP! >> I am showing the people who are aware of this discussion what you >> have >> implied. I forgive you for being so misguided. I do know if my >> family >> would be able to forgive, though, in the event anything may come >> of this. >> Instead, all I see is bickering over whether or not I am "permitted" to send mail to you. If we can work together on this problem, we will find the solution. >>> I'll give you something to bicker over you child. >> I forgive you. For the record, I am aged 30 years. >> Please direct me to etiquette, in particular, to the part which you feel I have not adhered to. >>> The mighty internet is at your fingertips, or so you have >>> claimed, the >>> information is readily there, GO LOOK IT UP! >> I request the same from yourself, only, whilst I will check your >> reference to the definition of SPAM, I ask that you search for the >> Zeitgeist Movement, and learn a little bit about the cause of my >> motivation. >> I understand that you are more motivated to forward mail with many key strokes instead of a single push of "DELETE." >>> You'll care, once you can no longer send e-mail. >> I forgive you for wanting to treat me this way. Others will see >> how you >> are treating me and judge for themselves if they approve of your >> character or not. >> I forgive you for being so misguided. >>> Let me be more plain, FUCK YOU >> Oh dear. I forgive you. I have hope for you. >> I forgive you. I do not know what the ISP will do, nor do I know if they will forgive you. >>> FUCK YOU AGAIN!! >> I forgive you. >> You are not superior to me, and you are not inferior to me. We are the same, as humans. >>> WHO FUCKING CARES!! I DON'T!! >> Are you saying that you don't care for other humans? >> I do not fear the truth. I am merely expressing an opinion. I am allowed to have an opinion, am I not? >>> No you are not you little cock-sucker, talk about freebsd on this >>> list and >>> you'll be surprised how receptive we are, talk about this dribble >>> and all >>> you do is piss us off. >> I forgive you. I think there are some who are watching this >> discussion >> and I further think we both have a feeling that some people may >> have >> been swayed by my argument. But - this is not a question of who >> is >> right or who is wrong, who has more supporters or what not: it is >> more >> of a chance crossing of two humans expressing themselves. >> I came from my mother, just as you came from yours. I am not sorry you are unable to accept that my opinion differs from yours, and I hope that we resolve this. >>> I DON'T WANT YOUR RESOLUTION, I WANT
Re: (OT) Re: Unidentified subject!
> On Thu, 23 Sep 2010 22:28:35 + (UTC) > Camaleón wrote: >> The Matrix, coming for us :-) >> >> Greetings, >> > > Quick, check for dead pixels! > > -- . I checked, and all the red pixies have disappeared -- 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/aeb1e68867f74ad28c832efa9887ba83.squir...@192.168.1.100
Re: need native app to listen to internet radios
> 2010/7/30 Madhurya Kakati > >> >> Is there any good native linux app for streaming online radio? I >> prefer shoutcast. >> Thanks >> vlc is good for both listening to streams and sending streams. Listening is incredibly easy, the following command will do it vlc -I dummy "$url" where $url = the url of the stream. Note the -I dummy part just the GUI from loading, ie it is ideal if you are running off a command line. You can safely omit that part and will get the vlc GUI displayed as well (assuming you have X running). sending streams is a little more complicated because you should define things like output port and codec type - for more info I would start with the docs on the vlc website, in particular http://www.videolan.org/doc/streaming-howto/en/ Regards, Tim. -- 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/1db5195e2bd890156e069232c191b170.squir...@192.168.1.100
Re: ALAC: decompressing to .wav.
can also do mplayer -vo null -vc dummy -ao pcm:waveheader:file="output.wav" "input.m4a" Cheers, Tim. -- 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/90c2935f3d5d888aa1b05ddffcfcbdad.squir...@192.168.1.100
Re: Torrents killing my conection
> On Mon, Jun 21, 2010 at 11:12 AM, Tim Clewlow > wrote: > >> >> I would still like to know the answer to one simple question. >> >> Does restarting the modem/router bring the network back up? >> >> If the answer is yes, then the problem is on the modem/router. >> > > How can this be true when the same machine, same hardware, different > OS's > downloads the torrent fine? The modem/router/ISP is common to all > situations here. If the modem/router needs to be brought back up > wouldn't > it be because something in Debian or the non-working Ubuntu isn't > handling > the torrents properly? > If the modem restart fixes things, then it must be a problem on the modem because nothing else has changed. In other words, the computers are all working fine, just waiting for the modem to start behaving normally again. As to why this happens at all. Not all operating systems are equal. Some systems can send bucket loads of new connections down the line very quickly, some (read windoze) have slow IO subsystems and so do not send multiple connection requests anywhere near as rapidly. I have seen modems (and had to throw them out) that worked fine on torrents from windows clients, but crashed very quickly when I ran nix/bsd torrent based clients. Tim. -- 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/759353addf0ccc3c6a14776aabb65316.squir...@192.168.1.100
Re: Torrents killing my conection
> On Mon, Jun 21, 2010 at 1:24 AM, ABS Doug wrote: > >> On Mon, Jun 21, 2010 at 2:04 AM, Mark wrote: >> >> > Exactly. I'm hoping his dvd download via Iceweasel fails, since >> that >> would >> > point directly to a driver issue. If it succeeds, that means >> the >> problemo >> > is with the torrent software. >> >> Iceweasel, jigdo both worked. Also I've tried I think 5 different >> torrent software. >> > > > Thanks for testing it, so at this point you know it has to be > something > specific to torrents - you can rule out any advice people are giving > about > buying a better router, blah blah blah, since it works in XP and > Ubuntu > 9.04. > > > On Mon, Jun 21, 2010 at 6:44 AM, Ron Johnson > wrote: > >> >> >> Then why does it succeed when XP is the client, and for me when >> the > torrent is "non-pirate"? > > > Yeah this is just a weird scenario now that he's said he can > download via > Iceweasel and jigdo in the same Debian installation. So it's not a > driver > issue apparently. > . I would still like to know the answer to one simple question. Does restarting the modem/router bring the network back up? If the answer is yes, then the problem is on the modem/router. Tim -- 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/1b60da54c70c6f5b36b8cdd74fd821c6.squir...@192.168.1.100
Re: Torrents killing my connection
> On Sat, Jun 19, 2010 at 9:21 PM, Andrew Reid > wrote: >> Â Is this only true of torrents, or is it also true of large >> downloads? Â What happens if you try to pull a few megs of >> something? > > Usenet seems to work fine. But there I'm downloading in pieces of > course. Is the anything else I can put through the paces to trouble > shoot? . torrents have many simultaneous connections open, on a badly designed modem this will fill the NAT table and cause traffic flow to become sluggish, or halt completely, on really bad modems they just crash and need a hard reset - a single connection download will not replicate this situation. Try dropping the maximum number of connections setting in the torrent client, perhaps cut in half each time for test, to see if it is the modems inability to manage a large NAT table. > >> Â I've had problems from time to time with MTU auto-discovery >> and TCP frame-size negotiations, and the symptoms are generally >> that small-packet, low-bandwidth traffic is fine, but big >> downloads stall out all the time. > > I'm getting it with uploading alone, downloading with the > connections > set to 6 & not going fast either. . If you max out the uploads then the downloads will slow to a crawl because the notification of receipt of each chunk will be stuck in the upload queue, and often dropped out if the queue fills, which means it takes much longer for your client to tell peers it is ready to receive another chunk. Try dropping max upload to half your real connection capacity, see what happens. >> Â Modern routers (including WRT54Gs) are pretty good about this, >> but network drivers play a role too, and they do differ between >> the various OSs you've tried. > > Don't know... is the driver different in UNR 9.10 & 10.04? How would > I check? . It could also be that *nix torrent clients have much heavier default settings than windows clients, and so windows clients never ask the network to do as much work as *nix clients do. Also, the windows stack itself is fairly lame and so doesnt load the nic as much as *nix stack does. Again, lower the default settings in your torrent client and see if that improves things (especially the maximum overall number of connections) Tim. -- 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/593eee4e638a682a460f13fc37994e3f.squir...@192.168.1.100
Re: Torrents killing my connection
> at some point, minutes, hours, > I'll loose my internet connection. . What do you have to do to get the connection back? Restart networking on the torrent client computer, or, restart the modem/router, or perhaps you have a separate firewall that requires a (networking) restart. The answer to this question will help determine where the problem is. Regards, Tim. -- 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/8b5435ee3fabf15404802bbe46676ce1.squir...@192.168.1.100
Re: Questions about RAID 6
> On 4/30/2010 6:39 PM, Ron Johnson wrote: >> On 04/26/2010 09:29 AM, Tim Clewlow wrote: >>> Hi there, >>> >>> I'm getting ready to build a RAID 6 with 4 x 2TB drives to start, >> >> Since two of the drives (yes, I know the parity is striped across >> all >> the drives, but "two drives" is still the effect) are used by >> striping, >> RAID 6 with 4 drives doesn't seem rational. > > We've taken OP to task already for this, but I guess it bears > repeating. > > Use multiple HW controllers, and at least 7-8 drives, I believe was > the > consensus, given that SW RAID 6 is a performance loser and losing a > controller during a rebuild is a real ruin-your-week kind of moment. > > But while some of us were skeptical about just how bad the > performance > of RAID 5 or 6 really is and wanted citation of references, more of > us > just questioned the perceived frugality. With four drives, wouldn't > a > RAID 10 be better use of resources, since you can migrate to bigger > setups later? And there we were content to let it lie, until... > > > >>> but the intention is to add more drives as storage requirements >>> increase. >>> >>> My research/googling suggests ext3 supports 16TB volumes if block >> >> Why ext3? My kids would graduate college before the fsck >> completed. >> >> ext4 or xfs are the way to go. > > I have ceased to have an opinion on this, having been taken to task, > myself, about it. I believe the discussion degenerated into a > nit-picky > banter over the general suitability of XFS, but I may be wrong about > this... > > _ > > > Seriously, ext4 is not suitable if you anticipate possible boot > problems, unless you are experienced at these things. The same is > true > of XFS. If you *are* experienced, then more power to you. > Although, I > would have assumed a very experienced person would have no need to > ask > the question. > > Someone pointed out what I have come to regard as the best solution, > and > that is to make /boot and / (root) and the usual suspects ext3 for > safety, and use ext4 or XFS or even btrfs for the data directories. > > (Unless OP were talking strictly about the data drives to begin > with, a > possibility I admit I may have overlooked.) > > > Have I summarized adequately? > > > MAA . First off, thank you all for the valuable information and experience laden information. For clarity, the setup has always been intended to be: one system/application drive, and, one array made of separate drives; the array protects data, nothing else. The idea is for them to be two clearly distinct entities, with very different levels of protection, because the system and apps can be quite quickly recreated if lost, the data cannot. More clarity, the data is currently touching 4TB, and expected to exceed that very soon, so I'll be using at least 5 drives, probably 6, in the near future. Yes, I know raid6 on 4 drives is not frugal, I'm just planning ahead. My reticence to use ext4 / xfs has been due to long cache before write times being claimed as dangerous in the event of kernel lockup / power outage. There are also reports (albeit perhaps somewhat dated) that ext4/xfs still have a few small but important bugs to be ironed out - I'd be very happy to hear if people have experience demonstrating this is no longer true. My preference would be ext4 instead of xfs as I believe (just my opinion) this is most likely to become the successor to ext3 in the future. I have been wanting to know if ext3 can handle >16TB fs. I now know that delayed allocation / writes can be turned off in ext4 (among other tuning options I'm looking at), and with ext4, fs sizes are no longer a question. So I'm really hoping that ext4 is the way I can go. I'm also hoping that a cpu/motherboard with suitable grunt and fsb bandwidth could reduce performance problems with software raid6. If I'm seriously mistaken then I'd love to know beforehand. My reticence to use hw raid is that it seems like adding one more point of possible failure, but I could be easily be paranoid in dismissing it for that reason. Regards, Tim. -- 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/8812562889f9881787e6378e770b269c.squir...@192.168.1.100
Re: Questions about RAID 6
> I don't know what your requirements / levels of paranoia are, but > RAID 5 is > probably better than RAID 6 until you are up to 6 or 7 drives; the > chance of a > double failure in a 5 (or less) drive array is minuscule. > . I currently have 3 TB of data with another 1TB on its way fairly soon, so 4 drives will become 5 quite soon. Also, I have read that a common rating of drive failure is an unrecoverable read rate of 1 bit in 10^14 - that is 1 bit in every 10TB. While doing a rebuild across 4 or 5 drives that would mean it is likely to hit an unrecoverable read. With RAID 5 (no redundancy during rebuild due to failed drive) that would be game over. Is this correct? Tim. -- 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/706fc98e51cb5ceddd4e32ea1bc05cc3.squir...@192.168.1.100
Re: Questions about RAID 6
> I'm afraid that opinions of RAID vary widely on this list (no > surprise) > but you may be interested to note that we agree (a consensus) that > software-RAID 6 is an unfortunate choice. > . Is this for performance reasons or potential data loss. I can live with slow writes, reads should not be all that affected, but data loss is something I'd really like to avoid. Regards, Tim. -- 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/c9c11079d529273f62a76ba3b0a00359.squir...@192.168.1.100
Re: Questions about RAID 6
Ok, I found the answer to my second question - it fails the entire disk. So the first question remains. Does ext3 (and relevent utilities, particularly resize2fs and e2fsck) on 32 bit i386 arch support 16TB volumes? Regards, Tim. -- 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/6f4fa734e37bf8efa066ae4152e01429.squir...@192.168.1.100
Questions about RAID 6
Hi there, I'm getting ready to build a RAID 6 with 4 x 2TB drives to start, but the intention is to add more drives as storage requirements increase. My research/googling suggests ext3 supports 16TB volumes if block size is 4096 bytes, but some sites suggest the 32 bit arch means it is restricted to 4TB no matter what block size I use. So, does ext3 (and relevent utilities, particularly resize2fs and e2fsck) on 32 bit i386 arch support 16TB volumes? I intend to use mdadm to build / run the array. If an unrecoverable read error (bad block that on disk circuitry cant resolve) is discovered on a disk then how does mdadm handle this? It appears the possibilities are: 1) the disk gets marked as failed in the array - ext3 does not get notified of a bad block 2) mdadm uses free space to construct a new stripe (from remaining raid data) to replace the bad one - ext3 does not get notified of a bad block 3) mdadm passes the requested data (again reconstructed from remaining good blocks) up to ext3 and then tells ext3 that all those blocks (from the single stripe) are now bad, and you deal with it (ext3 can mark and reallocate storage location if it is told of bad blocks too). I would really like to hear it is either 2 or 3 as I would prefer not to have an entire disk immediately marked bad due to one unrecoverable read error - I would prefer to be notified instead so I can still have RAID 6 protecting "most" of the data until the disk gets replaced. Regards, Tim. -- 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/6f1df414f4329ee27ada8e9b63a0c56d.squir...@192.168.1.100
Re: debian on a raid5 (4TB) issues
> Hi, maybe OT but, I\m trying to install debian lenny on a raid5 with > 4TB. OS sees one big sda with 4TB, I can particion /boot, / and swap > but it only recognize 78GB instead the 4TB available. Is this > because > the partition in booteable? Can I install debian OS on this hdd > with > these 3 partitions and use the rest for LVM? Thanks in advance, > . Seriously consider using Raid 6. If you use Raid 5 then the probability of an unrecoverable read error (URE) occurring while rebuilding the 4TB of data is IMO a little too high. With Raid 6 it would require 2 URE's that happen to be located in the same raid segment on both disks - the odds of that are extremely low. my 2c,- tim -- 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/b15e5b53f92a5f588f473e131f0b6409.squir...@192.168.1.100
Re: Which Simple Video Design Application?
> On Mon, 2010-03-15 at 15:30 -0700, Hugo Wau wrote: >> >> >> --- On Mon, 3/15/10, John A. Sullivan III >> wrote: >> >> From: John A. Sullivan III >> Subject: Re: Which Simple Video Design Application? >> To: "Hugo Wau" >> Cc: debian-user@lists.debian.org >> Date: Monday, March 15, 2010, 5:35 AM >> >> On Mon, 2010-03-15 at 00:46 -0700, Hugo Wau wrote: >> > Hello, >> > >> > Running Lenny do I want to create a simple but lengthy >> (up >> to three >> > hours) MP4 video in Youtube resolution which is made of >> nothing but >> > text. >> > The display should show transcript or translation of a >> speech >> > (actually MP3), which is being played back. >> > >> > Above the scolled text should be a permanent headline >> showing the >> > title and the chapter number and probably a timestamp. >> > Below this headline should the speech-text be scolled up >> (pixel line >> > by pixel line). >> > >> > I have not been successful in searching through google, >> maybe you can >> > give some hint concerning the expressions to seach for. >> > >> > I am an absolutely newbie concerning video. >> > With which applications or scripting tool can I achieve >> such >> in Debian >> > Lenny? >> > Do you know of examples? >> > What would you recommend? >> > >> > >> > >> There may be simpler ones for what you want to do but I >> have >> always used >> Cinelerra (http://www.cinelerra.org/) - John >> >> Thank you John, >> I have installed Cinelerra and it can apparently load my >> MP3 >> audio file. >> But now is the question, how to make the video part from >> text, >> which is in textfiles? >> Do I need a script, which displays and captures frame by >> frame? >> Or could I use a tool, which was designed to create >> subtitles >> for to display the transcript in synchronization with the >> audio? >> >> Hugo Wau >> >> > I'm no video expert so any advice is HIGHLY suspect. My son > is > actually a video editor (and would gladly contract any side work :) > ) > but I'm an ignoramus. I would guess you could take the text and turn > it > into a jpeg or png. Then you can create a frame from that png and > stretch it across the timeline where you want it to be visible. You > can > then do fancy things like fade it in and out, zoom in or out, or > move it > around the screen. Good luck - John > . One option is to create subtitle files and then use them to add hard subs, ie included in the image data - not as a separate file. The most time consuming part will be creating the sub file and having it sync properly with the audio. This tool looks like it can assist you with doing this. http://home.gna.org/subtitleeditor/ Once you have the sub file then you should be able to add them as a layer in a video editor (probably will be the only layer) and do things like fade in/out as well. Lastly add the audio file and then create the final. HTH, Tim. -- 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/c42a086934c0f154922945fad1bdd10c.squir...@clewlow.org
Re: this table in html how
I just had to - its probably a disorder :-D http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> body { margin:0px; } .left_column_50 { width:50%; float:left; text-align:center; margin:0px; } .right_column_50 { width:50%; float:right; text-align:center; margin:0px; } .left_column_33 { width:33%; float:left; text-align:center; margin:0px; } .center_column_34 { width:34%; float:left; text-align:center; margin:0px; } .right_column_33 { width:33%; float:right; text-align:center; margin:0px; } 50% 50% 33% 34% 33% -- 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/f88b131fe666e79c2c067f096c932787.squir...@192.168.1.100
RE: netstat ?
>> >> tcpdump host 172.16.4.1 -XX >> >> if you want to save the data in a file for later analysis >> >> tcpdump host 172.16.4.1 -XX >> somefile >> >> ** >> >> if you want to know why you are doing this >> >> man tcpdump >> >> Regards, Tim. >> >> >> > > Thank you for your reply . Sorry , Is this equal to the following ? > > #tcpdump dst 172.16.4.1 > > But the payload data is not human readable , even if adding '-XX' > switch . Can you please let me know if I need to use another > appropriate switch or it comes from the fact that the protocol is > some proprietary one ? x tcpdump dst 172.16.4.1 Will give you a summary of packets that are going to (dst) 172.16.4.1 If you want the payload you need the -XX switch, also, tcpdump defaults to only capture 96 bytes, if you want the full payload do tcpdump dst 172.16.4.1 -XX -s 0 This will give you hex and ascii representations of all data being sent to 172.16.4.1. However, the data may not be human readable. For example, if the data is actually a mp3 file, then converting the packet to ascii wont mean it makes any sense as ascii, but if the data is a text file, then converting the packet to ascii probably will make it readable. HTH, Tim. -- 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/d145ed05234b24ee6a9a52dc7c9382e1.squir...@192.168.1.100
RE: netstat ?
>> >> In , Hadi Motamedi >> wrote: >> >My Debian server is at @172.16.128.1 and the remote network >> element is at >> > @172.16.4.1 , > > Thank you for your reply . Sorry , you mean the tcpdump can be used > to monitor the exchanged packets toward an spesific ip address ? I > thought that it can just monitor all of the packets on my eth0 and > then I need to find the dedicated port to try to filter with . If it > can do that , please provide me with an example on how to use it to > monitor for an specific ip address ? >From your server (as root) the following command will dump traffic data to/from the remote network elemnt. tcpdump host 172.16.4.1 If you want to see the payload of each packet in hex and ascii (from previous posts I'm guessing you do) tcpdump host 172.16.4.1 -XX if you want to save the data in a file for later analysis tcpdump host 172.16.4.1 -XX >> somefile ** if you want to know why you are doing this man tcpdump Regards, Tim. -- 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/d35076bdb992d8bcae6b22454c5326c8.squir...@192.168.1.100
Re: how to convince that debian is one the three major choices for a stable server environment?
> On 22/02/2010 13:01, ÎιÏÏÎ³Î¿Ï Î Î¬Î»Î»Î±Ï wrote: >> (it is, isn't it? :-) ) >> >> So, yes, we are moving on from our 10year experience with gentoo, >> and >> are searching for our new environment. From my personal experience >> I >> would say debian stable - any hard evidence to support the claim? >> Server >> OS statistics? Statistics for stableness? Bugs? Any white papers >> showing >> debian's superiority? >> >> I am also doing my google research, but I'm asking if someone can >> point >> me to something like real hard evidence... >> >> Thanks, >> G. > > Depending on what you want to use the servers for, OpenBSD > > I second this - *bsd is very good for servers. Gnu/Linux is adequate for small scale enterprises but will not give you the hard core grunt that *bsd will. Also OpenBSD has a seriously secure core. -- 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/a7024514e5b7e2da8d39c888cf3563ac.squir...@192.168.1.100
RE: Decompiler?
>> >> > Dear All >> >> > >> >> > I have disassembled the object file on my Debian server , by >> the >> >> following : >> >> > >> >> > #objdump wmain >> >> > >> >> > In the output , I have recognized the intended subroutine >> that I >> >> need to >> >> > find the exact command syntax that it sends out. To this end, >> I >> >> asked >> >> > you guys on how to capture it through 'tcpdump' but didn't >> >> success. I >> >> > read this segment assembly language code but it is somewhat >> >> difficult to >> >> > decode. Can you please let me know what Debian decompiler is >> >> suitable for >> >> > this case? I tried with 'decompyle' but it didn't get >> through. >> >> >> >> First, let me make sure I understand what you are asking. You >> have >> >> some >> >> binary object code and you want to transform it back into the C >> >> source >> >> code that it came from. Is that right? Or did I misunderstand >> you? >> >> >> >> If that is what you want, then I doubt that it is possible. >> I've >> >> never >> >> heard of a decompiler. I have heard of a disassembler, but even >> >> they >> >> have their limitations. I myself have done extensive work as a >> >> programmer >> >> on a disassembler for the s390 platform. It happens to be the >> >> disassembler >> >> resident in the TRACK for z/VM freeware program. So I am >> speaking >> >> from >> >> experience here. Even a disassembler is a guess. Here are some >> >> things that >> >> you lose, even in a disassembler: >> >> >> >> 1. All comments. >> >> 2. The names of all variables >> >> 3. The distinction between code and data >> >> >> >> For example, if I encounter the hex string '41101004' that >> could >> >> be a >> >> >> >> LA 1,4(,1) >> >> >> >> instruction. But it might not be an instruction. It might be >> data. >> >> It >> >> might be >> >> >> >> DC F'1091571716' >> >> >> >> Or maybe it's a floating point number in traditional s390 >> >> hexadecimal >> >> floating point format. Or maybe it's part of an escape sequence >> of >> >> codes >> >> to be sent to a printer. You can never be sure. All these >> >> uncertainties >> >> are present in a disassembler. In assembly language, there is >> >> pretty much >> >> a one-to-one correspondence between assembler instructions and >> >> machine >> >> instructions. But in a high-level language, that is not so. A >> >> single >> >> statement in source code may generate a long sequence of >> machine >> >> instructions. >> >> How do you know where one statement ends and another begins? >> >> >> >> In short, I doubt if it is possible. Even if you do find >> something >> >> that >> >> purports to be a decompiler, its output will almost certainly >> not >> >> match >> >> the original input. Compilation is a one-way process. >> >> >> > >> > >> > >> > Thank you for your reply . Actually my Debian server is running >> an >> > application program that sends commands toward an attached >> network >> > element . The commands deal with 'profile read' , 'profile >> modify' , >> > and 'profile delete' issues . On the application gui , there is >> an >> > option to try for 'profile replace' that I cannot find the >> related >> > command . As there is a need to try for this 'profile replace' >> in >> > batch file , so I need to find the exact command syntax for this >> > purpose . I tried to capture it through tracing with 'tcpdump' >> but >> > it was un-successful . So I dis-assembled the code and I was >> lucky >> > to find the related subroutine . It is short in length but I >> cannot >> > decode it to find the logic in behind . So I need to find a >> > de-compiler to de-compile it to some sort of higher level >> languages >> > to see if I can understand the login behind . Please give me a >> hint >> > on how to accomplish this . >> > >> > >> >> I once worked for a company that was asked to reverse engineer a >> file as the client had lost the original source. The method was to >> first create lots of simple programs that each contained just one, >> or few, lines of code, compile it, and then slowly build up a >> one-to-one map of source to binary. It was _extremely_ >> tedious the compiler would optimise code and so trial and error >> guesses had to often be made to try and get the compiler to build >> a >> specific chunk of binary. I do not want to ever do that again. >> However, it can be done. >> >> Please note, as others have said, you will not get any object >> names >> (variables or procedures) out of this, and you will always have to >> make educated guesses when data chunks are hard coded in. >> >> Regards, Tim. >> > > > Thanks . As I don't want to completely analyze the whole of the > program and I just want to find the exact syntax of an specific > command that is being exchanged between my Debian and the remote > network element , can you please let me know which de-compiler can I > use to de-compiler just that small subroutine segment part ? > >From your posts it appears you want something that will automatically
RE: Decompiler?
> > > > >> Date: Sun, 21 Feb 2010 07:28:01 -0500 >> From: zlinux...@wowway.com >> To: debian-user@lists.debian.org >> Subject: Re: Decompiler? >> >> On Sun, 21 Feb 2010 05:06:21 -0500 (EST), Hadi Motamedi wrote: >> > >> > Dear All >> > >> > I have disassembled the object file on my Debian server , by the >> following : >> > >> > #objdump wmain >> > >> > In the output , I have recognized the intended subroutine that I >> need to >> > find the exact command syntax that it sends out. To this end, I >> asked >> > you guys on how to capture it through 'tcpdump' but didn't >> success. I >> > read this segment assembly language code but it is somewhat >> difficult to >> > decode. Can you please let me know what Debian decompiler is >> suitable for >> > this case? I tried with 'decompyle' but it didn't get through. >> >> First, let me make sure I understand what you are asking. You have >> some >> binary object code and you want to transform it back into the C >> source >> code that it came from. Is that right? Or did I misunderstand you? >> >> If that is what you want, then I doubt that it is possible. I've >> never >> heard of a decompiler. I have heard of a disassembler, but even >> they >> have their limitations. I myself have done extensive work as a >> programmer >> on a disassembler for the s390 platform. It happens to be the >> disassembler >> resident in the TRACK for z/VM freeware program. So I am speaking >> from >> experience here. Even a disassembler is a guess. Here are some >> things that >> you lose, even in a disassembler: >> >> 1. All comments. >> 2. The names of all variables >> 3. The distinction between code and data >> >> For example, if I encounter the hex string '41101004' that could >> be a >> >> LA 1,4(,1) >> >> instruction. But it might not be an instruction. It might be data. >> It >> might be >> >> DC F'1091571716' >> >> Or maybe it's a floating point number in traditional s390 >> hexadecimal >> floating point format. Or maybe it's part of an escape sequence of >> codes >> to be sent to a printer. You can never be sure. All these >> uncertainties >> are present in a disassembler. In assembly language, there is >> pretty much >> a one-to-one correspondence between assembler instructions and >> machine >> instructions. But in a high-level language, that is not so. A >> single >> statement in source code may generate a long sequence of machine >> instructions. >> How do you know where one statement ends and another begins? >> >> In short, I doubt if it is possible. Even if you do find something >> that >> purports to be a decompiler, its output will almost certainly not >> match >> the original input. Compilation is a one-way process. >> >> >> >> -- >> 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/1425884921.13942331266755281555.javamail.r...@md01.wow.synacor.com >> > > > > Thank you for your reply . Actually my Debian server is running an > application program that sends commands toward an attached network > element . The commands deal with 'profile read' , 'profile modify' , > and 'profile delete' issues . On the application gui , there is an > option to try for 'profile replace' that I cannot find the related > command . As there is a need to try for this 'profile replace' in > batch file , so I need to find the exact command syntax for this > purpose . I tried to capture it through tracing with 'tcpdump' but > it was un-successful . So I dis-assembled the code and I was lucky > to find the related subroutine . It is short in length but I cannot > decode it to find the logic in behind . So I need to find a > de-compiler to de-compile it to some sort of higher level languages > to see if I can understand the login behind . Please give me a hint > on how to accomplish this . > > > > > _ > Hotmail: Trusted email with Microsofts powerful SPAM protection. > https://signup.live.com/signup.aspx?id=60969 I once worked for a company that was asked to reverse engineer a file as the client had lost the original source. The method was to first create lots of simple programs that each contained just one, or few, lines of code, compile it, and then slowly build up a one-to-one map of source to binary. It was _extremely_ tedious the compiler would optimise code and so trial and error guesses had to often be made to try and get the compiler to build a specific chunk of binary. I do not want to ever do that again. However, it can be done. Please note, as others have said, you will not get any object names (variables or procedures) out of this, and you will always have to make educated guesses when data chunks are hard coded in. Regards, Tim. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Arch
Re: Any Linux CAD tools?
> > Hi All, > > I am looking for a CAD tool to draw among other things contours. I > have tried to use the spline feature of QCAD. The issue is that I > don't seem to find any way of joining two splines together or > extending an open spline. > > I have also looked at PythonCAD but it does not seem to have any > option for drawing smooth curves. > > What other options are available on the Linux platform? > > Regards, > Ogya > If you are looking for something similar to 3DS Max, or Maya, or Houdini, ie a full featured 3D modelling app, then hav a look at 'blender' http://www.blender.org/ Regards, Tim. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Video conversion
> On Sun, Jan 03, 2010 at 05:32:10PM +, Tim Frink wrote: >> I would like to convert an old video file using the >> Intel indeo codec into a video format that is supported >> by nowadays video players. What software could I use >> for the conversion under Debian Lenny? >> > There's a handy GUI called soundconverter. I think it relies on > gstreamer for its codecs, so you'll want to make sure you have the > appropriate ones installed. I'm not sure if it handles indeo or > not, > but here's what I suggest you install to try it out: > > soundconverter > gstreamer0.10-plugins-base > gstreamer0.10-plugins-good > gstreamer0.10-plugins-bad > gstreamer0.10-plugins-ugly > > -Rob > > You could also use mencoder, a video converter usually associated with mplayer. There are instructions here: http://exxamine.wordpress.com/2007/08/06/mencoder-examples-and-converting-from-intel-indeo-5/ Once you have mencoder installed, run something like: # mencoder the_indeo_file -o output_file.avi -ovc lavc -oac pcm If you want to use mp3 format for sound, you will get a smaller output file size with: # mencoder the_indeo_file -o output_file.avi -ovc lavc -oac mp3lame But if you dont have mp3 codecs installed then mencoder will complain it cant find them. The first command will work no matter what, but the output file will be a bit bigger because it uses pcm as the audio format on the output file. hth, Tim -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Connecting a video camera
> On Thu, Nov 12, 2009 at 09:52:01AM -0500, Michael Peek wrote: >> Hi debian gurus, >> >> I'm trying to figure out if I can download the video from a video >> camera >> onto my linux box. It's a Sony DCR-H52, tape-based, and firewire >> only. >> >> When I plug it in, I see the following in the log files: >> >> kernel: [89405.861315]: ieee1394: Node added: ID:BUS[0-00:1023] >> GUID[0800460103dcd08d] >> kernel: [89405.861846]: ieee1394: Node changed: 0-00:1023 -> >> 0-01:1023 >> kernel: [89406.985364]: ieee1394: raw1394: /dev/raw1394 device >> initialized >> >> But neither kino nor dvgrab seem to recognize that a camera is >> connected. >> > Have you tried running these apps as root? If that works, it would > indicate a permissions problem. Perhaps your user is not in the > appropriate group. (Check the owner/group/permissions of > /dev/raw1394) > > -rob > I use dvgrab to capture real time video data, will also work if you just play back a pre-recorded tape on the camera too, but I need to be root for this, so as Rob said, its probably a permissions issue on the /dev/raw1394 if you are running as another user. $ apt-cache search dvgrab dvgrab - grab digital video data via IEEE1394 and USB linkssearch Cheers, Tim -- The code that never executes at all is the fastest. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: starting Idesk automatically in IceWM on Lenny
> Is it? > Let's look at /etc/X11/Xsession > $ grep HOME /etc/X11/Xsession > USRRESOURCES=$HOME/.Xresources > USERXSESSION=$HOME/.xsession > USERXSESSIONRC=$HOME/.xsessionrc > ALTUSERXSESSION=$HOME/.Xsession > ERRFILE=$HOME/.xsession-errors > $ grep USERXSESSION /etc/X11/Xsession /etc/X11/Xsession.d/* > /etc/X11/Xsession:USERXSESSION=$HOME/.xsession > /etc/X11/Xsession:USERXSESSIONRC=$HOME/.xsessionrc > /etc/X11/Xsession:ALTUSERXSESSION=$HOME/.Xsession > /etc/X11/Xsession.d/40x11-common_xsessionrc:if [ -r > "$USERXSESSIONRC" ]; then > /etc/X11/Xsession.d/40x11-common_xsessionrc: . "$USERXSESSIONRC" /etc/X11/Xsession.d/50x11-common_determine-startup:for > STARTUPFILE in "$USERXSESSION" "$ALTUSERXSESSION"; do > /etc/X11/Xsession.d/50x11-common_determine-startup: > ERRMSG="$ERRMSG no \"$USERXSESSION\" file, no \"$ALTUSERXSESSION\" file," It is. The real problem appears to be multiple instances of X attempting to start due to having 'startx' in a shell rc. >> Or if you need to create, or want to check, the new .xinitrc file then it should contain: >> #!/bin/sh >> xrdb -merge ~/.Xdefaults & >> icewm & >> idesk & >> while [ 1 ] ; do >> sleep 1000d >> done > And if the session lasts longer? > Seriously, though, why not use the standard: > idesk & > icewm > ? Because this way I can start terminals with commands ending with & **after** the wm has started, and not have to worry about accidentally killing X because I just exited the controlling terminal - which happens rarely, but enough to be annoying. Cheers, Tim. -- The code that never executes at all is the fastest. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: starting Idesk automatically in IceWM on Lenny
> On Friday 16 October 2009 13:42:25 Tim Clewlow wrote: >> Ok, I found out that there is an error in the .xsession file, the >> correct version is below, note the line 'icewm &' has now become >> 'icewm-session &' - this should bring back the correct background >> and hopefully the mouse will behave noremally again :-) >> >> #!/bin/sh >> xrdb -merge ~/.Xdefaults & >> icewm-session & >> idesk & >> while [ 1 ] ; do >> sleep 1000d >> done > > Our emails crossed! > > I have both IceWM _and_ idesk running correctly. \0/ > > Just out of interest, and because it would obviously be easy to > reverse, I > uncommented startx in .bash_profile. I then rebooted. > > And I have a fully operational system, but for that error message, > so > something is still not right - but hey, the presenting problem has > been > solved. So if you want to breathe a sigh of relief and bring the > shutters > down, I shall still be greatly indebted to you. > > But if you have the stamina, and enough of the will to live, I would > love to > sort it out properly. > > Many thanks, > cheers, > Lisi > > Might as well make it perfect :-) If you want X to start up automatically at boot, comment out the startx command in the bash.profile file, and install xdm. As root do: apt-get install xdm Now reboot - you should have a nice graphical user / pass thing to play with. If you want to get rid of the graphical login, then in a shell terminal also as root do: update-rc.d -f xdm remove If you change your mind and want to get it back again later do (as root): update-rc.d -f xdm defaults Hopefully this will get the system to behave how you want. Cheers, Tim. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: starting Idesk automatically in IceWM on Lenny
Ok, I found out that there is an error in the .xsession file, the correct version is below, note the line 'icewm &' has now become 'icewm-session &' - this should bring back the correct background and hopefully the mouse will behave noremally again :-) #!/bin/sh xrdb -merge ~/.Xdefaults & icewm-session & idesk & while [ 1 ] ; do sleep 1000d done -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: starting Idesk automatically in IceWM on Lenny
> On Friday 16 October 2009 11:10:04 Tim Clewlow wrote: >> lol - that error makes quite a difference. It means pretty much what >> it says, ie X is already running, or, the combination of config files means the system ends up trying to start X twice. > Yes, I am very sorry. I know that it is essential to say everything > that > remotely might be relevant. I am very contrite. >> I think the first thing to do is to comment out the 'startx' line in >> the ~/.bash_profile file and then restart the computer. Hopefully this will mean X does not start, ie it is not being started by a command in some other config file. If this is the case, then log in >> and manually start it by typing 'startx'. It should then read the xsession/xinitrc files and start up with icewm and idesk. >> If after commenting out 'startx' from the .bash_profile file and rebooting, X still startx, then we need to look at a whole bunch of >> possible files to see where it is being started from. Try the >> first >> option and we'll see if that works. > As you predicted, startx at the command line prompt started IceWM. > But iDesk > was not running properly and there was no visible desktop > background. Also > the mouse did not work as it should. (E.g. right click on the > desktop, which > ought to have brought up a menu did nothing.) The panel was there and > functioning, so I clicked on menu and started from there. I opened > a > terminal, and no ominous error message, but also no Idesk and no icons - they > had disappeared. So I started idesk from the command line and it is > now > running, apparently correctly, and continued to run after I closed the > terminal even tho' I had forgotten the & at the end. > But there is still this grey greying out grid over everything > instead of a > desktop with icons that are not covered by a grid of any kind! And > if I > use .bash_profile to start X and then start idesk from a terminal I > get a > fully functional system with a proper desktop. It is the trying to > start > idesk automatically that seems to cause the problem. :-( > Thanks again, > Cheers > Lisi Ok, make sure you have a directory called .idesktop, ie create it with: mkdir ~/.idesktop and then kill X and then start is again 'startx' - I'm hoping this means you now have an idesk icon. Will fix the background and mouse after this. Cheers, Tim. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: starting Idesk automatically in IceWM on Lenny
> On Friday 16 October 2009 01:33:17 Tim Clewlow wrote: >> It sounds like your system is not using the xsession method of >> managing an X session, which means it is using the native xinit method. That's ok, and just as easy to work with. First check if you >> have a file called .xinitrc in your home directory, if it exists, rename it to .xinitrc.sav to move it out the way for a bit (so you >> can always rename it back later if you want) with: >> mv ~/.xinitrc ~/.xinitrc.sav >> Now create a brand new .xinitrc file in your home directory, it will >> be exactly the same as the .xsession file you made earlier, so if you still have the .xsession file just do: >> cp ~/.xsession ~/.xinitrc >> Or if you need to create, or want to check, the new .xinitrc file then it should contain: >> #!/bin/sh >> xrdb -merge ~/.Xdefaults & >> icewm & >> idesk & >> while [ 1 ] ; do >> sleep 1000d >> done >> As long as no-one has modified the X startup scripts (which is >> very >> unlikely for most systems), this should work, well, hopefully :-) > I did this almost immediately on getting up. (We obviously live in > different > time zones!) > I copied as you advised, then kept my xsession but renamed it. > Then restarted. Everything appeared to be exactly the same. > I have (mea culpa) failed to report an error message that I get when > I start a > terminal. This has happened throughout the saga so consistently that I no > longer register it. > Here - belatedly :-( - it is: > l...@dunhurst:~$ > Fatal server error: > Server is already active for display 0 > If this server is no longer running, remove /tmp/.X0-lock and start again. > It does not go back to the $ sign, but is immediately usable > normally. lol - that error makes quite a difference. It means pretty much what it says, ie X is already running, or, the combination of config files means the system ends up trying to start X twice. I think the first thing to do is to comment out the 'startx' line in the ~/.bash_profile file and then restart the computer. Hopefully this will mean X does not start, ie it is not being started by a command in some other config file. If this is the case, then log in and manually start it by typing 'startx'. It should then read the xsession/xinitrc files and start up with icewm and idesk. If after commenting out 'startx' from the .bash_profile file and rebooting, X still startx, then we need to look at a whole bunch of possible files to see where it is being started from. Try the first option and we'll see if that works. Oh, and in case your wondering, I'm more than happy to do through this with you, I've only moved to Debian recently from another *nix so I'm happy to have this as a learning exercise for myself too. :-) Cheers, Tim. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: starting Idesk automatically in IceWM on Lenny
> On Wednesday 14 October 2009 00:34:57 Tim Clewlow wrote: >> > On Tuesday 13 October 2009 10:43:21 Tim Clewlow wrote: >> >> You can rearrange the order in which things are started in your >> >> .xsession file, ie you dont have to start the window manager >> last. >> > [snip] >> >> Basically, when the script finishes, X will close - so dont let >> >> the >> >> script finish - thats what the long sleeping loop at the end is >> >> for. >> >> I'm guessing your .xsession should look something like: >> >> #!/bin/sh >> >> xrdb -merge ~/.Xdefaults & >> >> icewm & >> >> sleep 1 >> >> & >> >> idesk & >> >> while [ 1 ] ; do >> >> sleep 1000d >> >> done >> >> The line 'sleep 1' is intended to be a little delay to give >> icewm >> >> time to start up before attempting to run idesk. It may not >> >> actually >> >> be necessary, or it may be too small a delay, it all depends on >> >> how >> >> idesk determines if icewm is running, ie it may look for a lock >> >> file >> >> created really quickly by icewm, or it may look for a process >> that >> >> may take some time to appear. > [snip] >> > I am beginning to think that either it is simply not doable, or >> it >> > is doable - >> > but not by me. :-( >> I installed icewm and idesk, created a directory ~/.idesktop and then started X with .xsession containing the following: >> #!/bin/sh >> xrdb -merge ~/.Xdefaults & >> icewm & >> idesk & >> while [ 1 ] ; do >> sleep 1000d >> done >> Idesk seems to start up fine, ie I had icewm running and an icon at >> the top left that looks kind of like a house with the text 'Idesk' >> written underneath. > Thank you very much for trying this out. > Yes - if you have not created any other icons, that is what you > should see. > I, however, still don't. :-( There is obviously something else > either running > or not running as it ought to do. > Before trying this one, I did "rm .bash_profile" so that that would > not be > muddying the waters. I then did exactly as you had done. X failed > to start. > So I added startx to your script. Not surprisingly, that made no difference. > So I recreated .bash_profile and put startx in it. > That gave me a functional system - but no desktop. Just a nasty hashed > greying out grid. Etc. I have spent quite some time googling, and > trying > things out on my test system, including via the configuration files. > We know > that this works for you, and that it works for me if I start idesk manually. > About the only thing I can think of to try is starting X > differently. But > how? > You have done so much already, but I would be very grateful if you could tell > me how you start X on your system. > Lisi It sounds like your system is not using the xsession method of managing an X session, which means it is using the native xinit method. That's ok, and just as easy to work with. First check if you have a file called .xinitrc in your home directory, if it exists, rename it to .xinitrc.sav to move it out the way for a bit (so you can always rename it back later if you want) with: mv ~/.xinitrc ~/.xinitrc.sav Now create a brand new .xinitrc file in your home directory, it will be exactly the same as the .xsession file you made earlier, so if you still have the .xsession file just do: cp ~/.xsession ~/.xinitrc Or if you need to create, or want to check, the new .xinitrc file then it should contain: #!/bin/sh xrdb -merge ~/.Xdefaults & icewm & idesk & while [ 1 ] ; do sleep 1000d done As long as no-one has modified the X startup scripts (which is very unlikely for most systems), this should work, well, hopefully :-) Also, I think there is a better way to start X than using a bashrc file - but we'll get to that later, first we need to get X starting up the way you want it. Cheers Tim. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: starting Idesk automatically in IceWM on Lenny
> On Tuesday 13 October 2009 10:43:21 Tim Clewlow wrote: >> You can rearrange the order in which things are started in your >> .xsession file, ie you dont have to start the window manager last. > [snip] >> Basically, when the script finishes, X will close - so dont let >> the >> script finish - thats what the long sleeping loop at the end is >> for. >> I'm guessing your .xsession should look something like: >> >> #!/bin/sh >> xrdb -merge ~/.Xdefaults & >> icewm & >> sleep 1 >> & >> idesk & >> >> while [ 1 ] ; do >> sleep 1000d >> done >> >> >> The line 'sleep 1' is intended to be a little delay to give icewm >> time to start up before attempting to run idesk. It may not >> actually >> be necessary, or it may be too small a delay, it all depends on >> how >> idesk determines if icewm is running, ie it may look for a lock >> file >> created really quickly by icewm, or it may look for a process that >> may take some time to appear. > > Thanks for this and for the lucid explanation. Sadly, it didn't > work any > better than the others. Differently, but not better. IceWM started > to open, > then x crashed out. I also tried various changes to see if they > would help. > E.g., as you suggested I changed the sleep time. But I also > commented out > and commented back in the xrdb line. It made no difference which I > did. > > So I am left with the best being to put startx in ~/.bash_profile > and start > idesk from the command line - but that is not acceptable. > > I am beginning to think that either it is simply not doable, or it > is doable - > but not by me. :-( > > Lisi > > > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > > I installed icewm and idesk, created a directory ~/.idesktop and then started X with .xsession containing the following: #!/bin/sh xrdb -merge ~/.Xdefaults & icewm & idesk & while [ 1 ] ; do sleep 1000d done Idesk seems to start up fine, ie I had icewm running and an icon at the top left that looks kind of like a house with the text 'Idesk' written underneath. -- The code that never executes at all is the fastest. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: starting Idesk automatically in IceWM on Lenny
> I don't run the xserver by entering startx in the console. I have it starting > and running automatically via an entry in ~/.bash_profile. >> All entries in your .Xsession or similar must end with &, so >> they'll >> run in the background, except the last one. This last one should be >> your window manager. For instance, mine's this: >> exec xscreensaver -no-splash & >> exec /usr/bin/fluxbox >> Yours should be: >> exec idesk & >> exec /path/to/otherapp & >> exec /usr/bin/icewm >> I've tried idesk before and gave up for some reason, but i think i >> had >> it working... > I have it working well - but only from the command lime, by entering > the idesk > command. And even then, on one of the computers, as a child of the > terminal, > so that X shuts down if I close the terminal; and when it does > start, it only > starts up if Icewm is running > But I want it to run automatically at startup. > Thanks for your help. > Lisi You can rearrange the order in which things are started in your .xsession file, ie you dont have to start the window manager last. Eg, my .xsession looks like: #!/bin/sh xrdb -merge ~/.Xdefaults & xset -b wmaker & sleep 1 xclock -geometry 60x60-1-1 & aterm -tr -trsb -sh 50 -geometry 160x64+70+5 & while [ 1 ] ; do sleep 1000d done Basically, when the script finishes, X will close - so dont let the script finish - thats what the long sleeping loop at the end is for. I'm guessing your .xsession should look something like: #!/bin/sh xrdb -merge ~/.Xdefaults & icewm & sleep 1 & idesk & while [ 1 ] ; do sleep 1000d done The line 'sleep 1' is intended to be a little delay to give icewm time to start up before attempting to run idesk. It may not actually be necessary, or it may be too small a delay, it all depends on how idesk determines if icewm is running, ie it may look for a lock file created really quickly by icewm, or it may look for a process that may take some time to appear. Cheers, Tim. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How much RAM can debian support?
> On Saturday 10 October 2009 05:23:45 Umarzuki Mochlis wrote: >> 2009/10/10 Marc Shapiro >> >> > My first computer (a TRS-80 Model III) had 16K (that kilobites) >> of RAM >> > and 16k of ROM, then I quickly upgraded to its maximum of 48K. >> > >> > The times, they are a-changin'. >> >> 80's, 70's? You guys sure are senior citizens. > > Mere babes in arms. I, probably like many of us, remember the early > sixties. > We may even have some here who remember the birth of Colossus?? > > Lisi > But, but, I thought no-one was supposed to mention the forbin project!?!?! Oh good god, what have we done !!! Cheers, Tim. :-) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org