Re: [gentoo-user] How to freeze my Gentoo system

2009-03-14 Thread Neil Bothwick
On Fri, 13 Mar 2009 19:55:32 -0400, Sean wrote:

 I don't think there's a real good way to accomplish this, but the
 approach I would take is to setup a local portage tree that the system
 syncs from. You could then cherry pick the ebuild updates that go into
 that local, and now customized, portage tree. 

There was some discussion on the dev list a while ago abut providing
alternate portage trees that were not updated except for security and bug
fixes. It would have provided just what you want, but I don't think
anything came of it.


-- 
Neil Bothwick

Windows isn't a virus -- viruses do something!


signature.asc
Description: PGP signature


Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-14 Thread Florian Philipp
Paul Hartman schrieb:
 On Thu, Mar 12, 2009 at 3:12 PM, Grant emailgr...@gmail.com wrote:
[...]

 1. run xfce4 (already do)
 2. compile with -Os (I was using -O2)
 3. use ext2 (I was using ext3)
 4. don't use laptop-mode (I didn't know it existed)
 5. no syslog (does this mean don't even emerge a system logger like 
 metalog?)
 6. use elevator=noop at boot
 7. deactivate DRI
 8. upgrade RAM to the max
 Which of these still apply when using a conventional HD instead of a
 SSD in the netbook?
 
[...]
 Otherwise, I think normal laptop performance tuning guidelines would
 apply... Do whatever you can to reduce disk access. On my laptop I
 disabled swap, set the hdd to power off after X minutes of idle,
 disable disk cache in web browsers, use /dev/shm for portate tmpdir,
 disable cron and hald disk polling and slocate and all the other
 things that run in the background on their own and cause the disks to
 wake up. And cpu frequency scaling of course.
 

What do you mean with disable [...] hald disk polling? Deactivate hald
completely or is there a hidden switch I haven't yet discovered?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-14 Thread Florian Philipp
Grant schrieb:
 I've installed and updated Gentoo on my girlfriend's Acer Aspire One
 netbook and it's just so slow.  The only things I can think of to
 speed it up would be to upgrade the RAM from 1GB (not sure if that's
 possible) and/or swap out the SSD for a HD.  Anyone running a netbook
 not excruciatingly slow?

 - Grant

 I've got an Acer One for my father. I don't know the exact type; it is
 the one with the 8GB SSD.

 I found it quiet usable, installed Gentoo with a minimal KDE3 on it.
 Compiled with -Os, of course. RAM usage is below 256MB most of the time.
 The only things I didn't get to work are 3D acceleration and the SSD
 card slots but I haven't invested much time into it.

 The slowest part of the system is the SSD. It really slows things done
 when they are loaded for the first time (for example the HTML part of
 Konqueror takes 3s to load AFTER Konqueror itself came up).

 The rest of the system is pretty fast for my expectations.I compiled
 most things in a chroot on my Celeron notebook (2 or 3 times the speed)
 before moving it over but I really found compiling not _that_ slow. Its
 usable for most regular updates and even kernels and such alike. For
 larger packages, I mount an NFS share on /var/tmp/portage because I
 don't want to wear down the SSD.

 Other tips:
 Use ext2 FS. You don't want the journalling to cost you even more
 performance and wear down the SSD.

 I wouldn't use laptop-mode. You don't want it to bog down the system
 when it decides to flush its write cache.

 No syslog, it will only wear down the disk with many small write cycles.

 Use the noop IO scheduler (boot parameter elevator=noop). There is no
 need for a scheduler on an SSD.

 ArchLinux also recommends deactivating DRI ('Option DRI 0' in
 xorg.conf) to free up 32MB of memory.

 Hope this helps.
 Thanks guys, these are the kinds of tips I need.  I really want this
 thing to work out so I can switch over to one.  Lemme see if I've got
 this:

 1. run xfce4 (already do)
 2. compile with -Os (I was using -O2)
 3. use ext2 (I was using ext3)
 4. don't use laptop-mode (I didn't know it existed)
 5. no syslog (does this mean don't even emerge a system logger like metalog?)
 6. use elevator=noop at boot
 7. deactivate DRI
 8. upgrade RAM to the max
 
 Which of these still apply when using a conventional HD instead of a
 SSD in the netbook?
 
 - Grant
 

1 and 2 really depend on your RAM and CPU performance. 2 even on the
software itself (for example bzip2 runs faster with -Os on my Celeron,
less cache misses, I presume; gzip and lzma do not).

3. can be neglected.

4. laptop-mode should definitely be used. It was designed especially for
this purpose.

5. still holds. However, with laptop-mode and certain settings (options
{ sync(0) ;stats(1000); }; ) it should not do much harm.

6. should not be used. Any other scheduler should be better than noop
for real spinning disks.

7. still holds.

8. always a good idea. Especially with today's chip prices. The only
downside is that hibernating with TuxOnIce takes longer.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Wireless broadband modems - Working?

2009-03-14 Thread Grant
 Thanks Neil, I'd like to get as close as possible to being ready to
 plug-and-play with one of those modems.  Do you remember the names of
 the kernel modules?  I've never used PPP software before.  Can you
 recommend a package?

 You need usbserial and the Novatel modems use the option module. I use
 wvdial with this config, which worked with T-Mobile, Vodafone and O2.

 [Dialer tmob]
 Modem = /dev/ttyUSB0
 Baud = 460800
 Init2 =AT
 Init3 = ATFE0V1X1D2C1S0=0
 ISDN = 0
 Modem Type = Analog Modem
 Phone = *99***1#
 Username = username
 Password = password


 --
 Neil Bothwick

Thanks again Neil.  My Nokia N82 is working like this:

Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
Modem Type = USB Modem
Phone = *99***1#
ISDN = 0
Username = username
Init1 = ATZ
Password = password
Modem = /dev/ttyACM0
Baud = 460800

Any better way to manage the connection than 'wvdial' and ctrl+c ?  It
sounds like wicd doesn't support ppp yet.

- Grant



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-14 Thread Thanasis
on 03/14/2009 12:43 PM Florian Philipp wrote the following:

 7. deactivate DRI
 7. still holds.

What's wrong with DRI ?



[gentoo-user] Re: Find ebuilds that use a flag

2009-03-14 Thread James
Nick Fortino nfortino at gmail.com writes:



 eix -e -U gpac

 equery hasuse -p -o gpac

 Either way you do it, media-video/keno is the only one


OK,

cool.
Got it.


James






[gentoo-user] Access Windows XP running in VirtualBox

2009-03-14 Thread Joseph

I need a solution to access Windows XP program running on VirtualBox.

I've Windows XP running via VB and I need to run one of Windows XP program from 
few other machines.
I was thinking maybe I'll install run LTSP but I'm not sure it will work. I
think I could create VPN between Windows and Linux but in this case I need
to run full OS on other machines.
What are my other options?

--
#Joseph
GPG KeyID: ED0E1FB7



Re: [gentoo-user] Access Windows XP running in VirtualBox

2009-03-14 Thread Roy Wright

Joseph wrote:

I need a solution to access Windows XP program running on VirtualBox.

I've Windows XP running via VB and I need to run one of Windows XP 
program from few other machines.

I was thinking maybe I'll install run LTSP but I'm not sure it will work. I
think I could create VPN between Windows and Linux but in this case I need
to run full OS on other machines.
What are my other options?



* Install cygwin's openssh server
* Write a web app to launch the programs
* VNC?

You will need bridge networking or some port forwarding rules 
(http://en.gentoo-wiki.com/wiki/Virtualbox) to allow connection to the VM.


Now a days, web apps can be pretty easy.  Personally I probably create a 
merb very flat app assuming all you are wanting is to launch a few known 
programs.


HTH



[gentoo-user] Re: Access Windows XP running in VirtualBox

2009-03-14 Thread Nikos Chantziaras

Joseph wrote:

I need a solution to access Windows XP program running on VirtualBox.

I've Windows XP running via VB and I need to run one of Windows XP 
program from few other machines.

I was thinking maybe I'll install run LTSP but I'm not sure it will work. I
think I could create VPN between Windows and Linux but in this case I need
to run full OS on other machines.
What are my other options?


VirtualBox supports RDP.  You can connect to it with any RDP client.

I use KRDC for this.  I start the XP virtual machine with:

  VBoxHeadless -startvm Windows XP 

This will run the VM but will not display anything.  You connect to it 
through RDP.


Read the VirtualBox manual for more info (like like to configure which 
port to use if you don't want the default one.)





Re: [gentoo-user] Re: Access Windows XP running in VirtualBox

2009-03-14 Thread Joseph

On 03/14/09 21:05, Nikos Chantziaras wrote:

Joseph wrote:

I need a solution to access Windows XP program running on VirtualBox.
I've Windows XP running via VB and I need to run one of Windows XP program 
from few other machines.
I was thinking maybe I'll install run LTSP but I'm not sure it will work. 
I

think I could create VPN between Windows and Linux but in this case I need
to run full OS on other machines.
What are my other options?


VirtualBox supports RDP.  You can connect to it with any RDP client.

I use KRDC for this.  I start the XP virtual machine with:

  VBoxHeadless -startvm Windows XP 

This will run the VM but will not display anything.  You connect to it 
through RDP.


Read the VirtualBox manual for more info (like like to configure which port 
to use if you don't want the default one.)


The computer is running Gentoo and Windows XP in VirtualBox.
I need to run Windows XP :-( (no choice) 

The program I'm running is a dental program that stores images, I need to have an access to these images from different rooms; so I have to have access to VM 
Windows XP in order to start the Windows XP program that will allow me to view those pictures (mostly X-rays images).


If I start VB with:
VBoxHeadless -startvm Windows XP will I be able to run it in foreground and 
access it via KDRC?

--
#Joseph
GPG KeyID: ED0E1FB7



[gentoo-user] Re: WAN-laptop1-router-laptop2 : no laptop1-router communication

2009-03-14 Thread Grant
 My laptop is connected to a distant wireless signal with a strong
 antenna and I'd like to create a local wireless LAN using the distant
 wireless signal as the WAN.  The layout would look something like
 this:

 WAN-(wireless)-laptop1-(ethernet)-router-(wireless)-laptop2

 My travel router is wireless, has a LAN port, and can operate in
 Router, Client, or AP mode.  I think AP mode is what I want.  laptop2
 can ping the router, but it can't ping laptop1.  laptop1 can't ping
 the router.  I don't know what my communication problem is between the
 router and laptop1.  Here is my eth0 config for laptop1:

 config_eth0=( 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 )

 The travel router is in AP mode and configured like this:

 IP: 192.168.0.30
 Subnet Mask: 255.255.255.0
 Gateway: 192.168.0.1

 I have dnsmasq and shorewall on laptop1 for DNS and NAT, but I can't
 use those until I get laptop1 talking to the router.  Does anyone see
 what I'm doing wrong?

 - Grant

Can anyone tell me if this config looks OK or if I'm making an obvious mistake?

- Grant



[gentoo-user] Re: Access Windows XP running in VirtualBox

2009-03-14 Thread Nikos Chantziaras

Joseph wrote:

On 03/14/09 21:05, Nikos Chantziaras wrote:

[...]
VirtualBox supports RDP.  You can connect to it with any RDP client.

I use KRDC for this.  I start the XP virtual machine with:

  VBoxHeadless -startvm Windows XP 

This will run the VM but will not display anything.  You connect to it 
through RDP.


Read the VirtualBox manual for more info (like like to configure which 
port to use if you don't want the default one.)


The computer is running Gentoo and Windows XP in VirtualBox.
I need to run Windows XP :-( (no choice)
The program I'm running is a dental program that stores images, I need 
to have an access to these images from different rooms; so I have to 
have access to VM Windows XP in order to start the Windows XP program 
that will allow me to view those pictures (mostly X-rays images).


If I start VB with:
VBoxHeadless -startvm Windows XP will I be able to run it in 
foreground and access it via KDRC?


To run it in foreground, you can start it just as before (that is, 
without using VBoxHeadless) but you need to enable RDP in VirtualBox's 
settings.  VBoxHeadless is only for the case where you don't want to run 
it in the foreground on the PC VBox is running but only to access it 
through RDP.


Note that RDP is not supported in the Open Source Edition (ose) of 
VirtualBox.  Only the non-free version (but it's still free as in beer.)


You can also enable the built-in RDP of Windows XP if you need 
multi-user support.





[gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Damian
Hello,

When I try to play an ogg file, mpd says it is playing it, but there
is no sound.

Mps has been built with the following use flags:
 Use flags:   (aac) (alsa) (-ao) (-audiofile) (-avahi)
(flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod)
(mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis)

So ogg is enabled. This is quite frustrating :(

Any ideas?



[gentoo-user] Gallery slideshow Java applet: certificate expired

2009-03-14 Thread Johannes Geiss
Hi all,

I am using the lighttpd (1.4.20) web-server and gallery (2.3). When I
want to view the full screen java applet
com.gallery.GalleryRemote.GRAppletSlideshow, I get the following
message:

com.ibm.security.validator.ValidatorException: PKIX path validation
failed: java.security.cert.CertPathValidatorException: The certificate
expired at Fri Mar 06 00:59:59 CET 2009; internal cause is: 
java.security.cert.CertificateExpiredException: NotAfter: Fri Mar 06
00:59:59 CET 2009
(and much more...)

We see an expired certificate (expired at Fri Mar 06), but I cannot
figure out where this certificate is stored on my computer. I think it's
part of the gallery package but I didn't find it.

Any suggestions?

Could it be a bug in gallery?

Bye
Johannes
-- 

--//--
 //Johannes R. Geiss   Zaurus, Pegasos, Amiga and C64 user
 \\ //   PGP at http://home.arcor.de/jgeiss/pgpkey.txt
--\X/-



signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Wireless broadband modems - Working?

2009-03-14 Thread Neil Bothwick
On Sat, 14 Mar 2009 05:01:38 -0700, Grant wrote:

 Any better way to manage the connection than 'wvdial' and ctrl+c ?

I've used Kppp with simlar settings.

 It sounds like wicd doesn't support ppp yet.

I did read somewhere that it was planned.


-- 
Neil Bothwick

God: What one human uses to persecute another.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Access Windows XP running in VirtualBox

2009-03-14 Thread Joseph

On 03/14/09 21:54, Nikos Chantziaras wrote:
[snip]
To run it in foreground, you can start it just as before (that is, without 
using VBoxHeadless) but you need to enable RDP in VirtualBox's settings.  
VBoxHeadless is only for the case where you don't want to run it in the 
foreground on the PC VBox is running but only to access it through RDP.


Note that RDP is not supported in the Open Source Edition (ose) of 
VirtualBox.  Only the non-free version (but it's still free as in beer.)


You can also enable the built-in RDP of Windows XP if you need multi-user 
support.


Well, it works I can even start the Virtualbox-ose and control the Windows XP 
(that is good), but:
1.) the terminal I'm connecting to has to accept my connection, is it possible 
to set it up so I connect to it automatically.
2.) I'm taking control of the mouse and keyboard of the remote workstation (in 
this case my server).

What I need is to connect to the server being able to use it without taking 
control of the desktop mouse or keyboard.

--
#Joseph
GPG KeyID: ED0E1FB7



Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Willie Wong
On Sat, Mar 14, 2009 at 09:15:54PM +0100, Penguin Lover Damian squawked:
 Hello,
 
 When I try to play an ogg file, mpd says it is playing it, but there
 is no sound.
 
 Mps has been built with the following use flags:
  Use flags:   (aac) (alsa) (-ao) (-audiofile) (-avahi)
 (flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod)
 (mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis)
 
 So ogg is enabled. This is quite frustrating :(
 
 Any ideas?

Which version of mpd?

Are just ogg files the problem? What about mp3s?

Also, make sure your ogg file is actually ogg vorbis? Not some other
encoding in an ogg container?

W

-- 
Pintsize: It's just tomato sauce, and I don't explode cats. It's way
too difficult to coax them into the microwave.
Sortir en Pantoufles: up 827 days, 20:14



Re: [gentoo-user] Anyone running a Netbook satisfactorily on Gentoo?

2009-03-14 Thread Florian Philipp
Thanasis schrieb:
 on 03/14/2009 12:43 PM Florian Philipp wrote the following:
 7. deactivate DRI
 7. still holds.
 
 What's wrong with DRI ?
 

As I wrote in the original post, this is a tip from ArchLinux for
freeing up to 32MB of RAM.

Of course, if deactivating DRI causes more CPU load with whatever you do
with your machine, you might miss those CPU cycles and Ampere seconds
more than some memory.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] WAN-laptop1-router-laptop2 : no laptop1-router communication

2009-03-14 Thread Florian Philipp
Grant schrieb:
 My laptop is connected to a distant wireless signal with a strong
 antenna and I'd like to create a local wireless LAN using the distant
 wireless signal as the WAN.  The layout would look something like
 this:
 
 WAN-(wireless)-laptop1-(ethernet)-router-(wireless)-laptop2
 
 My travel router is wireless, has a LAN port, and can operate in
 Router, Client, or AP mode.  I think AP mode is what I want.  laptop2
 can ping the router, but it can't ping laptop1.  laptop1 can't ping
 the router.  I don't know what my communication problem is between the
 router and laptop1.  Here is my eth0 config for laptop1:
 
 config_eth0=( 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 )
 
 The travel router is in AP mode and configured like this:
 
 IP: 192.168.0.30
 Subnet Mask: 255.255.255.0
 Gateway: 192.168.0.1
 
 I have dnsmasq and shorewall on laptop1 for DNS and NAT, but I can't
 use those until I get laptop1 talking to the router.  Does anyone see
 what I'm doing wrong?
 
 - Grant
 

Is it possible that you need different subnets for your AP's wired and
wireless connection?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Damian
On Sat, Mar 14, 2009 at 10:32 PM, Willie Wong ww...@princeton.edu wrote:
 On Sat, Mar 14, 2009 at 09:15:54PM +0100, Penguin Lover Damian squawked:
 Hello,

 When I try to play an ogg file, mpd says it is playing it, but there
 is no sound.

 Mps has been built with the following use flags:
      Use flags:               (aac) (alsa) (-ao) (-audiofile) (-avahi)
 (flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod)
 (mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis)

 So ogg is enabled. This is quite frustrating :(

 Any ideas?

 Which version of mpd?

~ $ mpd --version
mpd (MPD: Music Player Daemon) 0.13.2

Copyright (C) 2003-2007 Warren Dukes warren.du...@gmail.com
This is free software; see the source for copying conditions.  There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Supported formats:
mp3 mp2 ogg oga ogg flac m4a mp4

Supported outputs:
alsa

 Are just ogg files the problem? What about mp3s?
mp3's play just fine.

 Also, make sure your ogg file is actually ogg vorbis? Not some other
I think it is. Here's mplayer's output:
Playing 05. Sumo - El reggae de paz y amor.ogg.
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.

mplayer plays just fine.

 W

 --
 Pintsize: It's just tomato sauce, and I don't explode cats. It's way
    too difficult to coax them into the microwave.
 Sortir en Pantoufles: up 827 days, 20:14





Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Robert Bridge
Damian wrote:
 Hello,
 
 When I try to play an ogg file, mpd says it is playing it, but there
 is no sound.
 
 Mps has been built with the following use flags:
  Use flags:   (aac) (alsa) (-ao) (-audiofile) (-avahi)
 (flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod)
 (mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis)
 
 So ogg is enabled. This is quite frustrating :(
 
 Any ideas?

I'm going to ask the really irritating tech support question: Is ALSA
muted? Is the volume set to zero on the speakers?

Probably checked already, but...

RobbieAB



Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Damian
 I'm going to ask the really irritating tech support question: Is ALSA
 muted? Is the volume set to zero on the speakers?
haha I'm perfectly capable of making that mistake. However, this is
not the case. Playing mp3 files works fine.

One of the mpd developers told me that the version I have (the latest
stable in portage) is a very old one, so I should try
unmasking/upgrading first.

Best,
Damian.



Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Saphirus Sage

On Mar 14, 2009, at 4:15 PM, Damian damian.o...@gmail.com wrote:


Hello,

When I try to play an ogg file, mpd says it is playing it, but there
is no sound.

Mps has been built with the following use flags:
Use flags:   (aac) (alsa) (-ao) (-audiofile) (-avahi)
(flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod)
(mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis)

So ogg is enabled. This is quite frustrating :(

Any ideas?
Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked  
that you have gst-plugins-ogg emerged?




Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Damian
 Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked that
 you have gst-plugins-ogg emerged?
So, this would imply a buggy ebuild?






Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Saphirus Sage
Damian wrote:
 Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked that
 you have gst-plugins-ogg emerged?
 
 So, this would imply a buggy ebuild?

   
Maybe, I had a similar issue getting rhythmbox to play ogg files,
despite the ogg use flag in my make.conf. Looking through the ebuild now
though, it looks like I'm probably wrong about it being a gstreamer issue.



[gentoo-user] Re: Access Windows XP running in VirtualBox

2009-03-14 Thread Nikos Chantziaras

Joseph wrote:

On 03/14/09 21:54, Nikos Chantziaras wrote:
[snip]
To run it in foreground, you can start it just as before (that is, 
without using VBoxHeadless) but you need to enable RDP in VirtualBox's 
settings.  VBoxHeadless is only for the case where you don't want to 
run it in the foreground on the PC VBox is running but only to access 
it through RDP.


Note that RDP is not supported in the Open Source Edition (ose) of 
VirtualBox.  Only the non-free version (but it's still free as in 
beer.)


You can also enable the built-in RDP of Windows XP if you need 
multi-user support.


Well, it works I can even start the Virtualbox-ose and control the 
Windows XP (that is good), but:
1.) the terminal I'm connecting to has to accept my connection, is it 
possible to set it up so I connect to it automatically.
2.) I'm taking control of the mouse and keyboard of the remote 
workstation (in this case my server).


What I need is to connect to the server being able to use it without 
taking control of the desktop mouse or keyboard.


Then you need to enable the terminal client service of Windows XP 
instead (XP Professional has this).  For this to work, you need to 
disable the RDP of VirtualBox or use another port.  Also, since XP's RDP 
is a service, you need port forwarding if you're using NAT networking in 
VBox.


You can Google on how to enable RDP/terminal services inside XP.




Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Damian
On Sat, Mar 14, 2009 at 11:53 PM, Saphirus Sage saphirus...@gmail.com wrote:
 Damian wrote:
 Unless I'm mistaken, mpd uses gstreamer, right? So, have you checked that
 you have gst-plugins-ogg emerged?

 So, this would imply a buggy ebuild?


 Maybe, I had a similar issue getting rhythmbox to play ogg files,
 despite the ogg use flag in my make.conf. Looking through the ebuild now
 though, it looks like I'm probably wrong about it being a gstreamer issue.
I only found this:
http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg594020.html

But I don't know if I have the same problem.



Re: [gentoo-user] Re: Access Windows XP running in VirtualBox

2009-03-14 Thread Joseph

On 03/15/09 00:59, Nikos Chantziaras wrote:
[snip]

XP (that is good), but:
1.) the terminal I'm connecting to has to accept my connection, is it 
possible to set it up so I connect to it automatically.
2.) I'm taking control of the mouse and keyboard of the remote workstation 
(in this case my server).
What I need is to connect to the server being able to use it without 
taking control of the desktop mouse or keyboard.


Then you need to enable the terminal client service of Windows XP instead 
(XP Professional has this).  For this to work, you need to disable the RDP 
of VirtualBox or use another port.  Also, since XP's RDP is a service, you 
need port forwarding if you're using NAT networking in VBox.


You can Google on how to enable RDP/terminal services inside XP.


I'm trying now nxserver-freenx but it is giving me problem with configuration; 
do you know anything about setting up freenx?
when I run:
nxsetup --install --setup-nomachine-key --clean --purge
...

 Testing your nxserver connection ...
Permission denied (publickey,keyboard-interactive).
Fatal error: Could not connect to NX Server.

Please check your ssh setup:

The following are _examples_ of what you might need to check.

- Make sure nx is one of the AllowUsers in sshd_config.
(or that the line is outcommented/not there)
- Make sure nx is one of the AllowGroups in sshd_config.
(or that the line is outcommented/not there)
- Make sure your sshd allows public key authentication.
- Make sure your sshd is really running on port 22.
- Make sure your sshd_config AuthorizedKeysFile in sshd_config is set 
to authorized_keys2.
(this should be a filename not a pathname+filename)
  - Make sure you allow ssh on localhost, this could come from some
restriction of:
  -the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost
  -the iptables. add to it:
 $ iptables -A INPUT  -i lo -j ACCEPT
 $ iptables -A OUTPUT -o lo -j ACCEPT

my sshd.conf:

Port 22
Protocol 2
PermitRootLogin no
AuthorizedKeysFile  authorized_keys2
AllowUsers  nx
AllowGroups nx
PasswordAuthentication no
UsePAM no
Subsystem   sftp/usr/lib/misc/sftp-server



--
#Joseph
GPG KeyID: ED0E1FB7



[gentoo-user] Re: Access Windows XP running in VirtualBox

2009-03-14 Thread Nikos Chantziaras

Joseph wrote:

On 03/15/09 00:59, Nikos Chantziaras wrote:
[snip]

XP (that is good), but:
1.) the terminal I'm connecting to has to accept my connection, is it 
possible to set it up so I connect to it automatically.
2.) I'm taking control of the mouse and keyboard of the remote 
workstation (in this case my server).
What I need is to connect to the server being able to use it without 
taking control of the desktop mouse or keyboard.


Then you need to enable the terminal client service of Windows XP 
instead (XP Professional has this).  For this to work, you need to 
disable the RDP of VirtualBox or use another port.  Also, since XP's 
RDP is a service, you need port forwarding if you're using NAT 
networking in VBox.


You can Google on how to enable RDP/terminal services inside XP.


I'm trying now nxserver-freenx but it is giving me problem with 
configuration; do you know anything about setting up freenx?


I use x2go (it's also based on NX and is in the nx overlay).  But you 
can't connect to Windows XP with NX.





Re: [gentoo-user] WAN-laptop1-router-laptop2 : no laptop1-router communication

2009-03-14 Thread Grant
 My laptop is connected to a distant wireless signal with a strong
 antenna and I'd like to create a local wireless LAN using the distant
 wireless signal as the WAN.  The layout would look something like
 this:

 WAN-(wireless)-laptop1-(ethernet)-router-(wireless)-laptop2

 My travel router is wireless, has a LAN port, and can operate in
 Router, Client, or AP mode.  I think AP mode is what I want.  laptop2
 can ping the router, but it can't ping laptop1.  laptop1 can't ping
 the router.  I don't know what my communication problem is between the
 router and laptop1.  Here is my eth0 config for laptop1:

 config_eth0=( 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 )

 The travel router is in AP mode and configured like this:

 IP: 192.168.0.30
 Subnet Mask: 255.255.255.0
 Gateway: 192.168.0.1

 I have dnsmasq and shorewall on laptop1 for DNS and NAT, but I can't
 use those until I get laptop1 talking to the router.  Does anyone see
 what I'm doing wrong?

 - Grant


 Is it possible that you need different subnets for your AP's wired and
 wireless connection?

I tried with the WAN on ppp0 instead of wlan0 and it worked!

The only iffy thing is I manually specify the eth0 gateway IP to match
the gateway IP for ppp0 which was DHCPed by wvdial.  Is there a way to
make that more dynamic so I don't have to match the eth0 gateway IP
and the DHCPed ppp0 gateway IP?

Here are my configs:

laptop1 eth0 (managed by wicd)
IP: 192.168.0.1
Netmask: 255.255.255.0
Gateway: the.ppp0.gateway.ip
DNS: the.ppp0.gateway.ip

router/AP device
IP: 192.168.0.30
Netmask: 255.255.255.0
Gateway: 192.168.0.1

laptop2 wlan0 (managed by wicd)
IP: 192.168.0.31
Netmask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1

As Dan mentioned in the previous thread, should I be able to use a
wireless network interface instead of the router/AP device?

- Grant