for the money you're going to spend on either of them, i would instead look at something like the energy 5.1 classic take or monoprice 10565 set paired with a cheap receiver. for the money that is going to sound better than both the bose and logitech.
while neither computer speaker set you listed are terrible per se, they are both overpiced for the audio quality you get. the logitech slightly so and its more boomy sounding. the bose very much overpriced as they rely on their name to sell (people often do not realize bose are often built cheaply and are not the best to go with unless going with their top end stuff). if you have zero room and absolutely refuse to have a receiver they would work but arent going to be the best sound you can get for your budget of $250-400 (prices of z906 vs bose)