Re: [Ltsp-discuss] How to limit user login ?

2007-11-20 Thread Donny Christiaan
kemas wrote:
 Frank Cox wrote:
 On Tue, 20 Nov 2007 14:50:27 +0700
 Donny Christiaan [EMAIL PROTECTED] wrote:

   
 I've tried to set AlwaysLoginCurrentSession=true but still no working ..
 or do I have to restart some service? which service do I need to restart?
 
 I don't know if restarting would make a difference, but the service in 
 question
 here is gdm.

   
 set in gdm.conf, AlwaysRestartServer=true

there is no gdm.conf file at /usr/share/gdm/

-- 
Best Regards,
Donny Christiaan.
[EMAIL PROTECTED]

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] Debugging X, wanted:indirect MESA on clients

2007-11-20 Thread Hans Ekbrand
On Mon, Nov 19, 2007 at 08:50:47AM +0900, jam wrote:
 
 On Sun, 2007-11-18 at 12:10 -0800,
 [EMAIL PROTECTED] wrote:
  I was installing a scientific/statistical application, R, onto the
  LTSP
  server using a LTSP-client. (This is on LTSP 4.2)
  
  The installation failed due to:
  
  RGL: GLX extension missing on server
  
  I have put output of glxinfo, glxgears -info and xdpyinfo near the end
  of this letter.
  
  I added
  
  Load dri
  Load glx
  Load GLcore

 Ofcourse the server mentioned here is the ThinClient which is the
 Xserver.

Sure, the three lines mentioned above was added to the xorg.conf of
the thinclient, /tmp/XF86Config.2 on the clients file system (I used a
temporary NFS-mount to be able to actually edit the file with an
editor running on the server).

After changing /tmp/XF86Config.2 I restarted X.

[...]

 Doing stuff to your ltsp server achieves nothing.

Sure, and I haven't touch X on the server, the server doesn't have
have X installed!

-- 
Hans Ekbrand (http://sociologi.cjb.net) [EMAIL PROTECTED]
GPG Fingerprint: 1408 C8D5 1E7D 4C9C C27E 014F 7C2C 872A 7050 614E


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] How to limit user login ?

2007-11-20 Thread Frank Cox
On Tue, 20 Nov 2007 15:26:38 +0700
Donny Christiaan [EMAIL PROTECTED] wrote:

 there is no gdm.conf file at /usr/share/gdm/

/etc/gdm/custom.conf


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] How to limit user login ?

2007-11-20 Thread kemas
Donny Christiaan wrote:
 kemas wrote:
   
 Frank Cox wrote:
 
 On Tue, 20 Nov 2007 14:50:27 +0700
 Donny Christiaan [EMAIL PROTECTED] wrote:

   
   
 I've tried to set AlwaysLoginCurrentSession=true but still no working ..
 or do I have to restart some service? which service do I need to restart?
 
 
 I don't know if restarting would make a difference, but the service in 
 question
 here is gdm.

   
   
 set in gdm.conf, AlwaysRestartServer=true
 

 there is no gdm.conf file at /usr/share/gdm/

   
sorry, /usr/share/gdm/defaults.conf

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] How to limit user login ?

2007-11-20 Thread Xavier Brochard
Le Tuesday 20 November 2007 09:26:38 Donny Christiaan, vous avez écrit :
 kemas wrote:
  Frank Cox wrote:
  On Tue, 20 Nov 2007 14:50:27 +0700
 
  Donny Christiaan [EMAIL PROTECTED] wrote:
  I've tried to set AlwaysLoginCurrentSession=true but still no working
  .. or do I have to restart some service? which service do I need to
  restart?
 
  I don't know if restarting would make a difference, but the service in
  question here is gdm.
 
  set in gdm.conf, AlwaysRestartServer=true

 there is no gdm.conf file at /usr/share/gdm/

in Unix (Linux) all config files are stored in /etc (or a subdirectory)

-- 
Xavier
[EMAIL PROTECTED]  09 54 06 16 26

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


[Ltsp-discuss] [SOLVED] Debugging X, wanted:indirect MESA on clients

2007-11-20 Thread Hans Ekbrand
On Mon, Nov 05, 2007 at 11:29:51AM +0100, Hans Ekbrand wrote:
 Hello ltsp-discuss!
 
 I am returning to this list after a long break. I met with a
 particular problem which I couldn't resolve by myself, so now I am
 turning to you.
 
 I was installing a scientific/statistical application, R, onto the LTSP
 server using a LTSP-client. (This is on LTSP 4.2)
 
 The installation failed due to:
 
 RGL: GLX extension missing on server
 
 I have put output of glxinfo, glxgears -info and xdpyinfo near the end of 
 this letter.
 
 I added
 
 Load dri
 Load glx
 Load GLcore
 
 to the modules section of xorg.conf, but it didn't help.
 
 This client has an old non 3D graphics card (Matrox 2064W
 [Millenium]), but software-rendering 3D is all I need.
 
 I have three questions to the list:

And now I have spent some time debugging this. Here is the answers
(and at the end some debugging tips).

 1. I was looking for a log file from X, but didn't find any. Where is it
 supposed to be (in LTSP 4.2)?

It is in /tmp/mnt/xorg.log

The location of the logfile is determined by /etc/screen.d/startx (in
the ltsp tree).

 2. Can it be a lack of memory problem? The X server runs at
 [EMAIL PROTECTED], but I don't know how much memory the card has (since I
 don't find the log-file from X)?

No, DRI complained about lack of memory, but for software rendering
DRI was not needed.

 3. What might be missing from my /opt/ltsp/i386/ tree that causes
 software-rendering 3D to not work?

Nothing (because
/opt/ltsp/i386/usr/X11R6/lib/modules/extensions/libglx.so was already
there).

Some tips for the archive:

1. To get the glx module loaded use a customized XF86Config for that
(class of) thin clients.

2. When debugging X, note that there is *no point* in editing
/tmp/XF86Config.2, since that file is rebuilt everytime X is
restarted. (the rebuild is done by /opt/ltsp/i386/etc/screen.d/startx
which in turn calls /opt/ltsp/i386/etc/build_x4_cfg).

3. When creating a customized XF86Config, use a temporary writable
nfs-mount to get a copy of the /tmp/XF86Config.2 from the thin client.
I used the directory for swapfiles for this purpose:

# mkdir tmpmount
# mount -o nolock -t nfs ip.of.server:/var/opt/ltsp/swapfiles tmpmount
# cp /tmp/XF86Config.2 tmpmount/

Then from the server-side edit /var/opt/ltsp/swapfiles/XF86Config.2
and save as /opt/ltsp/i386/etc/XF86Config.custom or something like
that.

Add an entry in lts.conf so the scripts that build the
/tmp/XF86Config.2 will copy the static customized file instead of building a 
new:

  XF86CONFIG_FILE   = XF86Config.custom

in the section of that (class of) thin client(s).


--
Hans Ekbrand

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


[Ltsp-discuss] DISPLAY environment variable

2007-11-20 Thread Andrew Ziem
After upgrading Fedora Core 6 to Fedora 8, my DISPLAY environment variable
is always an IP address instead of a FQDN (station001.example.net).  The
change breaks login my scripts.

Is there a way to change DISPLAY back to the FQDN?  What program sets
DISPLAY?


Andrew


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Re: [Ltsp-discuss] Problem booting client (Ubuntu 7.10 AMD 64 bit)

2007-11-20 Thread Anthony M Simonelli
On Sun, 2007-11-18 at 19:06 +, Joseph Gregory wrote:
 Using Ubuntu (7.10) not Edubuntu but not sure of configuration
 differences. 
 
 Server has two NICs (eth0 Wired static IP as LTSP server, eth1 wireless
 to router)
 
 eth0 connected to switch
 
 Currently not using ltsp.conf at all
 
 I having installed the client with the --arch i386 switch so I assume
 that a 32 bit client has been installed, server is AMD64.
 
 
 Don't quite know where to continue the debugging. It would be really
 good to have a step by step list of what happens after DHCP request has
 been accepted and IP address assigned to client. 

My guess is the problem is with the DHCP setup.  What is the filename
set to in your dhcp.conf file?  I believe it should be: 
filename /ltsp/i386/pxelinux.0; if you built an i386 chroot.

and you should have /ltsp/i386/pxelinux.0 in your TFTPBoot directory
(/var/lib/tftpboot).  If not, use the ltsp-update-kernels command.  Hope
this helps...


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
  https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net