Re: Run script for each ssh login

2013-11-13 Thread Antonio Paiva
The ForceCommand does exactly what I need. I wonder why I missed it when I looked at the documentation... Thank you all. -Antonio On Wed, Nov 13, 2013 at 2:04 PM, David Guntner wrote: > Antonio Paiva grabbed a keyboard and wrote: > > Hi everyone, > > > > I would like to

Run script for each ssh login

2013-11-13 Thread Antonio Paiva
Hi everyone, I would like to set up an ssh server such that, everytime someone tries to connect to it, a script will be run to control certain aspects of the connection. More specifically, I want to check if certain conditions are met and, if they are not, refuse/abort the connection. I found tha

Re: Problem with halt

2013-11-13 Thread Antonio Paiva
> > > I was having similar issues with some machines not powering down after > > shutdown and that solved it for me. In my case, I simply set that as the > > exit command for my window manager, and I have no idea how you might go > > about doing it in a desktop env. > > You'd type the command in an

Re: Problem with halt

2013-11-13 Thread Antonio Paiva
> > Sometimes the machine powers off, sometimes it doesn't (I believe it > says Power Down on the screen) and I must press the button for about > five seconds to cajole it to do so. It actually amounts to a minor > annoyance, as the shutdown procedure is executed correctly (except for > the electr

Re: Advice on new desktop/building?

2013-10-20 Thread Antonio Paiva
By the way, if you never assembled a computer, you should take a look at Carey Holzman videos on youtube. For example, http://www.youtube.com/watch?v=gCohS0guaDE He's a little long winded for my taste, but he has videos that walk you through the whole process from start to finish. Those were the v

Re: X crashes

2013-10-19 Thread Antonio Paiva
Ed, It seems somehow you do not have the kernel modesetting (KMS) module loading during boot. https://wiki.debian.org/KernelModesetting After you boot, check if the nouveau module has been loaded into the kernel space. If not, add it to /etc/modules. Hope this helps, Antonio On Wed, Oct 16, 2

Re: Advice on new desktop/building?

2013-10-19 Thread Antonio Paiva
Hi Jen, I also assembled my first desktop quite recently and I'm running Linux in it. My target specs were significantly higher than yours, but the cost of all the parts was around $650. If you want, I can give you the listing of want I built as a guide and you just remove or replace each part wit

Re: Set widescreen resolution in console

2013-10-13 Thread Antonio Paiva
I don't have to use the new kernel. Whatever works... But, what is Debian Jessie? On Sun, Oct 13, 2013 at 12:40 PM, Dmitrii Kashin wrote: > Antonio Paiva writes: > > >>> I have recently acquired an old Sony Vaio PCG-C1VN (aka, a > "PictureBook") > >&

RE: Set widescreen resolution in console

2013-10-12 Thread Antonio Paiva
To: debian-user@lists.debian.org Subject: Re: Set widescreen resolution in console Antonio Paiva writes: > Hi everyone, > > I have recently acquired an old Sony Vaio PCG-C1VN (aka, a "PictureBook") > and installed Debian wheezy. The problem is that I can only get the > *console* to

Set widescreen resolution in console

2013-10-09 Thread Antonio Paiva
Hi everyone, I have recently acquired an old Sony Vaio PCG-C1VN (aka, a "PictureBook") and installed Debian wheezy. The problem is that I can only get the *console* to run at 640x480 resolution. The C1VN has a (very wide) native resolution of 1024x480, but using only 640x480 is a serious waste of

Failed wireless connection

2006-04-25 Thread Antonio Paiva
Hi, I'm trying to use wireless access with a Asus WL-100 pcmcia wireless card. The card is detected and works in the system (Debian Etch beta2). When I insert the card the hostap driver is activated. I then changed the driver default wireless parameters with: iwconfig wlan0 mode managed essid

Re: SSH = X11 forwarding?

2006-04-18 Thread Antonio Paiva
Ryan, You probably need to run xhost on the client machine. Best, Antonio Ryan Nowakowski wrote: On Mon, Apr 17, 2006 at 04:35:37PM -0400, Curt Howland wrote: Hi. Runnning up to date Sid, yes even with the Xorg v7. I'm trying the very simple "forward X11 over SSH" and it isn't work

Re: gdm does not start

2006-04-15 Thread Antonio Paiva
Seems the power failure disrupted your file system. Try to re-install the X server and font packages. Antonio Dmitri Minaev wrote: After a power failure (not necessarily *because* of it, though), gdm does not start anymore. It starts the X server but does not give the login window, then it clo

Re: New problem with dvips and latex-beamer

2006-01-24 Thread Antonio Paiva
Andrew, have you tried to generate the pdf directly with pdflatex? If so what was the outcome? Antonio Andrew Perrin wrote: Help! This morning a new problem has emerged using the latex-beamer package and dvips. I have not changed my workflow, so I'm guessing it's the result of an update so

Re: TWO independent mouse

2005-11-27 Thread Antonio Paiva
[EMAIL PROTECTED] wrote: Wiadomość Oryginalna Od: Hugo Vanwoerkom <[EMAIL PROTECTED]> Do: debian-user@lists.debian.org Data: Sun, 27 Nov 2005 05:56:41 -0600 I mean 2 mice with 2 cursors on the same screen ! Is this possible ? Sorry to ask but why do you want this? Since you can only w

Suspend to disk

2005-11-07 Thread Antonio Paiva
Hi all. I'm currently using Debian testing (started with Sarge and upgraded to Etch), and I would like to know if anyone was able to reliably suspend its computer to disk. If so, could you tell me how? Thanks, -- António Rafael C. Paiva Graduate student Computational NeuroEngineering Laborat

Re: how to close the nxclient session properly

2005-10-27 Thread Antonio Paiva
Justin Guerin wrote: On Wednesday 26 October 2005 17:08, kamaraju kusumanchi wrote: I am using nxclient 1.5.0-113 downloaded from http://www.nomachine.com/download.php on a Debian Sid machine. On the client machine I run KDE. Inside this KDE session, when I run nxclient (using the "available a

Re: X under heavy load

2005-10-14 Thread Antonio Paiva
Marc, I don't know exactly what you are using but I can tell you that I frequently do computationally demanding tasks in my work desktop and home laptop (both running Debian Sarge) and X continues working fine. While I'm waiting I frequently browse the web without major changes in speed. Mayb

Re: irq 11: nobody cared!

2005-07-06 Thread Antonio Paiva
Joan, I would suggest you to try a different kernel. I also experienced problems in the past related with the usb driver, and the same or similar problem to the one you report. At the time I was trying to use a 2.4 kernel and a 2.6 kernel solved the problem, but since you are using a 2.6 kern

Re: problems with eps

2005-05-29 Thread Antonio Paiva
Felix Natter wrote: I am using a standard LaTeX document class for presentations (prosper), which requires me to use latex+dvips+ps2pdf, and dvips only supports .eps for images... It appears to me that you goal is to get a PDF file as I would expect. Do you know that you can convert from GIF to