Re: Disable Module from xorg.conf via lts.conf

2008-03-10 Thread Jim Kronebusch
On Mon, 10 Mar 2008 10:01:08 -0500, Jim Kronebusch wrote
 Does anyone know if there is a way to disable a specific xorg module such as 
 dri via lts.conf besides calling out a complete custom xorg.conf file?
 
 I need to disable dri on my DevonIT 6020p's because of a bug that doesn't 
 allow Wine to run under the via driver with dri enabled.

I just found this in the Edubuntu handbook:

X_OPTION_01 through X_OPTION_12




This allows you to specify
Option settings in the xorg.conf file, to
add options to the video driver.  A common use 
for this
will be to test
turning off accelleration in your driver, if 
you're
having trouble.  An example usage
would be:


X_OPTION_01 = \NoAccel\
X_OPTION_02 = \AnotherOption\ \True\


.  You probably won't need these except in special circumstances.

I'm going to give it a try now.

Jim

-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.


-- 
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users


Re: Static IP for some of my thin clients

2008-03-10 Thread Asmo Koskinen
Nicolas Roussi kirjoitti:
 I need to now give static IPs to the clients. which dhcpd.conf do I edit and
 what do I write in it?
   

Take a look at here. These all are for Ubuntu 6.06+LTSP 4.2 with static 
IP numbers.

http://www.arkki.info/howto/Wiki/LTSP-Koti/dhcpd.conf.txt
http://www.arkki.info/howto/Wiki/LTSP-Kokkola/dhcpd.conf.txt
http://www.arkki.info/howto/Wiki/LTSP-Kaarlela/dhcpd.conf.txt
http://www.arkki.info/howto/Wiki/LTSP-Mantykangas/dhcpd.conf-master.txt
http://www.arkki.info/howto/Wiki/LTSP-Mantykangas/dhcpd.conf-slave.txt

Best Regards Asmo Koskinen.

-- 
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users


Re: terminals randomly disconnecting

2008-03-10 Thread Krsnendu dasa
On 12/01/2008, Krsnendu dasa [EMAIL PROTECTED] wrote:

 I have noticed a few other problems and narrowed down the problem (I
 think) to either os problem or motherboard problem. (Don't think it is the
 switch or the network card.) Read below for more details. Thanks for all
 tips.

 On 07/01/2008, Gavin McCullagh [EMAIL PROTECTED] wrote:
 
  Hi,
 
  On Mon, 07 Jan 2008, Krsnendu dasa wrote:
 
   I am experiencing an unusual problem. Occasionally (every 15 mins or
  so) all
   the terminals just disconnect. The terminals need restarting before
  they
   work again.
 
  What you say all, you mean every thin client connected to the server?


 Yes. Also windows computers that were connecting to the internet and using
 dns through the edubuntu server also had disconnection problems. I changed
 dhcpd.conf to get dns from another server and it seemed to fix the windows
 laptop to internet problem.
 I am having intermittent problems with samba also. One minute I can
 connect to the shares on edubuntu then the next minute I can't then I can
 again. It seems to take a long time for the server to register when new
 windows computers in the workgroup have connnected. At one point I noticed
 that nmbd wasn't running so I manually restarted it. This is after I had
 already restarted samba using init.d and webmin.

 Every 15 minutes is pretty nasty.  I guess at least it's easy enough to
  repeat if you're testing.


 May not be exactly every 15 minutes, maybe closer to 30mins.

 You say the clients need restarting and I gather the server doesn't.  Can
  you ping a thin client after this happens (ie without rebooting it)?  If
  you press ctrlaltbackspace is that enough to restart the thin
  client?


 I haven't tried this as I haven't been at school much. I will try it next
 time I  am at school when it freezes.

  In what I think may be a related issue, some times when someone is
  logged in
   their terminal freezes and the panel at the bottom of the screen which
  shows
   which windows are open just has three tabs that all say untitled
  window.
 
  Have you had opportunity to watch top for a few minutes and see does
  some
  process go wild around this point?

 I haven't noticed anything. I will look again and see if anything stands
 out.

  Background: I am using 32 Edubuntu 7.04 on Intel Quad Core. 4 Gb RAM. I
  am
   using directx ldm and smbldap.
 
  Would it be possible for you to try not using direct-x and go back to
  the
  default ssh method?


 I can also try this, but my instinct (and the dns /samba problems) seem to
 point to bigger connection problems than ldm.
 I also get disconnected when I log in from home using nx.

  I am using a 100/1000 unmanaged switch which feeds 10/100 switches in
  each
   class.
  
   Things I have already tried.
   At first I thought it could be the 1000 switch, so I swapped it for
  another
   one, but the problem remains.
 
  Was it another similar switch?  Could it be a problem between the
  switches?


 The second time I used a different brand of switch and a 10/100 switch, so
 I don't think the switch is to blame.

  Possible solutions:
   Could upgrading to Gutsy help?
 
  It's hard to say without knowing what the cause of the problem is.


 If may be my old windows conditioning, but I feel like a reinstall might
 help... or not.

  Could it be the network card in the server?
 
  Sounds plausible.


 I tried another network card and the same problems are there.


  Can someone help me debug this? Are there any log files I can check to
  trace
   the origin of this problem?
 
  Yes:
  /var/log/syslog
  /var/log/messages
  /var/log/kern.log
  /var/log/daemon.log


 I had a look there and couldn't find anything that stood out for me. A few
 times I saw something that said disconnected or something like that.
 Perhaps I will copy and paste a section around the time when a disconnect
 happens and post it for any experts to analyse.

  Thanks for any help. This is really frustrating, because I had a very
  stable
   system with K12LTSP 6, and now with Edubutnu 7.04 I have having quite
  a few
   problems.
 
  How long have you had this problem?  You've been using 7.04 for a while,
  right?  Has it always happened?  Has anything changed to prompt this?


 We installed some time in October. This problem has been only since
 December. I can't think of anything that changed at that time. The last
 thing I remember that changed is... A course management software web-based
 application was installed and there were some changes to dns.


Back to the drawing board... I have installed Hardy and the problem
persists. I will have to investigate the network and system more thoroughly
and document it robustly.

Summary:
Initial Problem: Feisty install of Edubuntu - One Network interface: Server
randomly disconnects from the network about every 20-30 mins. Terminals left
with 3 unusual untitled windows tabs at the bottom of the screen.
ALT-Ctrl-backspace 

Re: Disable Module from xorg.conf via lts.conf

2008-03-10 Thread Jim Kronebusch
 On Mon, 10 Mar 2008 10:01:08 -0500, Jim Kronebusch wrote
  Does anyone know if there is a way to disable a specific xorg module such 
  as 
  dri via lts.conf besides calling out a complete custom xorg.conf file?
  
  I need to disable dri on my DevonIT 6020p's because of a bug that doesn't 
  allow Wine to run under the via driver with dri enabled.
 
 I just found this in the Edubuntu handbook:
 
 X_OPTION_01 through X_OPTION_12
 
 This allows you to specify
 Option settings in the xorg.conf file, to
 add options to the video driver.  A common 
 use 
 for this will be to testturning off 
 accelleration in your driver, if you're having trouble.  An example usage 
  
   would be:
 
 X_OPTION_01 = \NoAccel\
 X_OPTION_02 = \AnotherOption\ \True\
 
 .  You probably won't need these except in special circumstances.
 
 I'm going to give it a try now.

Didn't work under Feisty.  For now I just pointed to a custom xorg.conf.

Jim

-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.
--- End of Forwarded Message ---


Jim Kronebusch
Cotter Tech Department
453-5188


-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.


-- 
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users


Re: ``/boot/nbi.img-2.6.22-14-386'':File exists

2008-03-10 Thread Manu
Hi,

2008/3/10, Nicolas Roussi [EMAIL PROTECTED]:

 Thanks for the previous replies. I tried to install the x11vnc and tor
 in my chroot and I am getting these error message
 Unpacking replacement linux-image-2.6.22-14-386 ...
 Examining /etc/kernel/postrm.d .
 run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels
 Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists
 run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return
 code 1
 Failed to process /etc/kernel/postrm.d at
 /var/lib/dpkg/info/linux-image-2.6.22-14-386.postrm line 320.
 dpkg: warning - old post-removal script returned error exit status 1
 dpkg - trying script from the new package instead ...
 Examining /etc/kernel/postrm.d .
 run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels
 Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists
 run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return
 code 1
 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line
 320.
 dpkg: error processing
 /var/cache/apt/archives/linux-image-2.6.22-14-386_2.6.22-14.52_i386.deb
 (--unpack):
   subprocess new post-removal script returned error exit status 1
 Examining /etc/kernel/postrm.d .
 run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels
 Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists
 run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return
 code 1
 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line
 320.
 dpkg: error while cleaning up:
   subprocess post-removal script returned error exit status 1
 Errors were encountered while processing:
   /var/cache/apt/archives/linux-image-2.6.22-14-386_2.6.22-14.52_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

 Anyone has a fix for this? I read through the mailing list but there
 does not seem to be a solution



It's this bug https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/190419

rename or delete the nbi.img-2.6.22-14-386 and
in the chroot use apt-get -f install for finish the configuration.

Bye

Manu



-- 
Emmanuel Le Normand
Ubuntu-fr / Edubuntu-fr
-- 
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users


Re: terminals randomly disconnecting

2008-03-10 Thread Charles Austin
On Mon, Mar 10, 2008 at 1:59 PM, Krsnendu dasa [EMAIL PROTECTED] wrote:
 On 12/01/2008, Krsnendu dasa [EMAIL PROTECTED] wrote:
  I have noticed a few other problems and narrowed down the problem (I
 think) to either os problem or motherboard problem. (Don't think it is the
 switch or the network card.) Read below for more details. Thanks for all
 tips.
 
  On 07/01/2008, Gavin McCullagh [EMAIL PROTECTED] wrote:
 
   Hi,
  
   On Mon, 07 Jan 2008, Krsnendu dasa wrote:
  
I am experiencing an unusual problem. Occasionally (every 15 mins or
 so) all
the terminals just disconnect. The terminals need restarting before
 they
work again.
  
   What you say all, you mean every thin client connected to the server?
 
 
  Yes. Also windows computers that were connecting to the internet and using
 dns through the edubuntu server also had disconnection problems. I changed
 dhcpd.conf to get dns from another server and it seemed to fix the windows
 laptop to internet problem.
  I am having intermittent problems with samba also. One minute I can
 connect to the shares on edubuntu then the next minute I can't then I can
 again. It seems to take a long time for the server to register when new
 windows computers in the workgroup have connnected. At one point I noticed
 that nmbd wasn't running so I manually restarted it. This is after I had
 already restarted samba using init.d and webmin.
 
 
   Every 15 minutes is pretty nasty.  I guess at least it's easy enough to
   repeat if you're testing.
 
 
  May not be exactly every 15 minutes, maybe closer to 30mins.
 
 
   You say the clients need restarting and I gather the server doesn't.
 Can
   you ping a thin client after this happens (ie without rebooting it)?  If
   you press ctrlaltbackspace is that enough to restart the thin
 client?
 
 
  I haven't tried this as I haven't been at school much. I will try it next
 time I  am at school when it freezes.
 
 
In what I think may be a related issue, some times when someone is
 logged in
their terminal freezes and the panel at the bottom of the screen which
 shows
which windows are open just has three tabs that all say untitled
 window.
  
   Have you had opportunity to watch top for a few minutes and see does
 some
   process go wild around this point?
  I haven't noticed anything. I will look again and see if anything stands
 out.
 
 
Background: I am using 32 Edubuntu 7.04 on Intel Quad Core. 4 Gb RAM.
 I am
using directx ldm and smbldap.
  
   Would it be possible for you to try not using direct-x and go back to
 the
   default ssh method?
 
 
  I can also try this, but my instinct (and the dns /samba problems) seem to
 point to bigger connection problems than ldm.
  I also get disconnected when I log in from home using nx.
 
 
I am using a 100/1000 unmanaged switch which feeds 10/100 switches in
 each
class.
   
Things I have already tried.
At first I thought it could be the 1000 switch, so I swapped it for
 another
one, but the problem remains.
  
   Was it another similar switch?  Could it be a problem between the
 switches?
 
 
  The second time I used a different brand of switch and a 10/100 switch, so
 I don't think the switch is to blame.
 
 
Possible solutions:
Could upgrading to Gutsy help?
  
   It's hard to say without knowing what the cause of the problem is.
 
 
  If may be my old windows conditioning, but I feel like a reinstall might
 help... or not.
 
 
Could it be the network card in the server?
  
   Sounds plausible.
 
 
  I tried another network card and the same problems are there.
 
 
Can someone help me debug this? Are there any log files I can check to
 trace
the origin of this problem?
  
   Yes:
   /var/log/syslog
   /var/log/messages
   /var/log/kern.log
   /var/log/daemon.log
 
 
  I had a look there and couldn't find anything that stood out for me. A few
 times I saw something that said disconnected or something like that.
 Perhaps I will copy and paste a section around the time when a disconnect
 happens and post it for any experts to analyse.
 
 
Thanks for any help. This is really frustrating, because I had a very
 stable
system with K12LTSP 6, and now with Edubutnu 7.04 I have having quite
 a few
problems.
  
   How long have you had this problem?  You've been using 7.04 for a while,
   right?  Has it always happened?  Has anything changed to prompt this?
 
 
  We installed some time in October. This problem has been only since
 December. I can't think of anything that changed at that time. The last
 thing I remember that changed is... A course management software web-based
 application was installed and there were some changes to dns.
 


Also, keep in mind that seemingly innocent physical changes can impact
your network.  Was there any maintenance done on the building in the
December timeframe?  Any new items (non computer) added to the
electrical system in the building?  

Re: terminals randomly disconnecting

2008-03-10 Thread David Van Assche
   I had a problem recently that was similar to yours where one particular
unit would log out spontaneously at a random time, usually within 30
minutes. Sometimes when the user using that unit would log on they would get
someone else's wallpaper or even home desktop. I couldn't figure out what
was causing it, until I finally saw that one of the computers in a totally
different part of the building had a shoddy job done on the patching of the
ethernet end. The 2 computers were somehow conflicting with each other,
logging themselves out and generally behaving very unstably. I re-grimped
the cable really carefully and the problems subsided. Since then, no such
problems have come back to haunt me.
   The moral of the story is that, especially on gigabit networks, even a
single badly grimped cable (not shielded, badly plugged in or whatever else)
will cause your network to do strange things like what you are describing.
It almost certainly sounds to me like a physical problem, as Charles
suggested. At least for me, every time that kind of behaviour happens, and
it has happened many times, it has been because of a switch, a network
cable, a network card or something else physical.

Good luck,
David

On Mon, Mar 10, 2008 at 9:24 PM, Charles Austin [EMAIL PROTECTED] wrote:

 On Mon, Mar 10, 2008 at 1:59 PM, Krsnendu dasa [EMAIL PROTECTED]
 wrote:
  On 12/01/2008, Krsnendu dasa [EMAIL PROTECTED] wrote:
   I have noticed a few other problems and narrowed down the problem (I
  think) to either os problem or motherboard problem. (Don't think it is
 the
  switch or the network card.) Read below for more details. Thanks for all
  tips.
  
   On 07/01/2008, Gavin McCullagh [EMAIL PROTECTED] wrote:
  
Hi,
   
On Mon, 07 Jan 2008, Krsnendu dasa wrote:
   
 I am experiencing an unusual problem. Occasionally (every 15 mins
 or
  so) all
 the terminals just disconnect. The terminals need restarting
 before
  they
 work again.
   
What you say all, you mean every thin client connected to the
 server?
  
  
   Yes. Also windows computers that were connecting to the internet and
 using
  dns through the edubuntu server also had disconnection problems. I
 changed
  dhcpd.conf to get dns from another server and it seemed to fix the
 windows
  laptop to internet problem.
   I am having intermittent problems with samba also. One minute I can
  connect to the shares on edubuntu then the next minute I can't then I
 can
  again. It seems to take a long time for the server to register when new
  windows computers in the workgroup have connnected. At one point I
 noticed
  that nmbd wasn't running so I manually restarted it. This is after I had
  already restarted samba using init.d and webmin.
  
  
Every 15 minutes is pretty nasty.  I guess at least it's easy enough
 to
repeat if you're testing.
  
  
   May not be exactly every 15 minutes, maybe closer to 30mins.
  
  
You say the clients need restarting and I gather the server doesn't.
  Can
you ping a thin client after this happens (ie without rebooting it)?
  If
you press ctrlaltbackspace is that enough to restart the thin
  client?
  
  
   I haven't tried this as I haven't been at school much. I will try it
 next
  time I  am at school when it freezes.
  
  
 In what I think may be a related issue, some times when someone is
  logged in
 their terminal freezes and the panel at the bottom of the screen
 which
  shows
 which windows are open just has three tabs that all say untitled
  window.
   
Have you had opportunity to watch top for a few minutes and see does
  some
process go wild around this point?
   I haven't noticed anything. I will look again and see if anything
 stands
  out.
  
  
 Background: I am using 32 Edubuntu 7.04 on Intel Quad Core. 4 Gb
 RAM.
  I am
 using directx ldm and smbldap.
   
Would it be possible for you to try not using direct-x and go back
 to
  the
default ssh method?
  
  
   I can also try this, but my instinct (and the dns /samba problems)
 seem to
  point to bigger connection problems than ldm.
   I also get disconnected when I log in from home using nx.
  
  
 I am using a 100/1000 unmanaged switch which feeds 10/100 switches
 in
  each
 class.

 Things I have already tried.
 At first I thought it could be the 1000 switch, so I swapped it
 for
  another
 one, but the problem remains.
   
Was it another similar switch?  Could it be a problem between the
  switches?
  
  
   The second time I used a different brand of switch and a 10/100
 switch, so
  I don't think the switch is to blame.
  
  
 Possible solutions:
 Could upgrading to Gutsy help?
   
It's hard to say without knowing what the cause of the problem is.
  
  
   If may be my old windows conditioning, but I feel like a reinstall
 might
  help... or not.
  
  
 Could it be the network card in the server?
   
Sounds plausible.
  
  
   I tried another network 

low fat clients - 2 issues

2008-03-10 Thread David Van Assche
   I've finally had some time to test my low fat clients to see what else
can be done to get them working better, and for now I have managed to get
all the software I needed to install within the chroot without problems
(usually mounting proc and sys fix most installation issues.) Both Gnome and
XFCE have been tested, though I'm pretty sure kde and kde4 should work too.
I'm mounting via nfs, which seems to work fine, although logout takes about
a minute (before the screen comes up with logout options.) I finally got
sound and flash to work by installing libflashsupport from the hardy rep (on
gutsy), and compiling flash from source. Java also installed fine and now
works in all the cases I've tested. I've stress tested this on 10 clients at
once and got great results for flash. Of course can't see what's happening
from the server on a process level, but doesn't matter, at least my network
isn't crawling to a halt because of gone crazy processes in firefox, and I
know flash is the culprit here. I use gnash on the server side thin client
(for sound support on youtube which some teachers use.) My server is 64bit
so the low fat client environment also solved the otherwise not working java
and flash (in some cases.) And I want to take advantage of the xeon
processors so I dont want to resort to using nspluginwrapper.

   So... everything seems to be working great except usb or local devices.
I've tried quite a lot of stuff, even various automounting scripts and tools
floating around the internet without success. I can mount the devices
manually without issues. Groups are all correct, but perhaps this is
automounting at the root user level which is what's stopping it, or
interference from the ltsp init scripts, though I doubt it since the RCFILE=
are executed after all of that. Finally I have another logical issue, which
is that dansguardian and squid don't relay traffic on the local interfaces,
because I was using a simple iptables rule to direct all traffic in a
particular group to dans and all other traffic to squid. Now because on the
local level it can't read the LDAP groups from the server (I guess) iptables
doesn't know what to do with the traffic. Maybe someone can give me some
hints.

If I can solve these 2 issues then the low fat clients can finally be useful
in my environment.

Many thanks,
David
-- 
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users