Fermer automatiquement une session ssh après x secondes
Bonsoir, Tourt est dans le titre, comment fermer une session ssh lorsque le client ne fait plus rien pendant x secondes. J'ai ces lignes dans "sshd_config" : ClientAliveInterval 600 ClientAliveCountMax 0 Soit 600 secondes, j'ai beau partir faire du vélo 3 heures, ma session est toujours active. André
Re: Configuarar apache para roda arquivos .py
Marcos, Eu utilizou o módulo wsgi: https://code.google.com/p/modwsgi/ Achei ser o mais simples para implementar no meu ambiente. Abraço Leandro Henrique Stein Analista de Informática Claro: (41) 9935-9960 Skype: leandro.h.stein Twitter: @leandrohstein "Desculpar-se é um sinal de fraqueza. Exceto entre amigos" - Leroy Jethro Gibbs Em 19/09/2015 14:37, "Marcos Antonio Rufino do Egito"escreveu: > Pessoas boar tarde! > > Estou tentando fazer o meu server local rodar arquivos python mais não > estou conseguido pois o tutoriais que encontro mandam configurar arquivos > que não encontro, com httpd ... > > Alguém poderia ajudar, uso o Debian Jessie. > Quero poder por um arquivo .py e ver ele funcionar. > > Abraços > > -- > > Marcos Egito > CV: http://lattes.cnpq.br/2389439225800702 > GNU/Linux User #491326 > blog maregito.wordpress.com > TIM 081-9525-3834 > > > "Sabedoria é não dizer nada, quando tudo que queremos é falar tudo, > sabedoria é saber calar, para poder dizer mais com o silêncio!" > (Eu) >
Re: Boxed W8/W10 PC; must anything be done, first, to enable dual-bootable later?
On Sat, Sep 19, 2015 at 11:43:11AM +0100, Ron Leach wrote: > List, good morning, I have purchased a Windows 8.1 (optional W10) notebook > and I wondered what, if anything, I ought to do *first* before letting > Windows start after first switch-on, and then also installing Debian to make > a dual boot system. I have installed Debian to dual boot on several Windows > laptops in the past but have never installed on UEFI, nor side by side with > W8.1 or W10. I do need to continue to be able to also boot to Windows for > work purposes. > Not a problem, probably. I have at least one machine here dual booting which has had 8.1 on, updated to 10 and dual booting with Debian on UEFI. > In the past I have partitioned a system with 3 sections: > - A windows OS and programs area > - A separate partition where I store all data files (documents, > spreadsheets, etc) which I could read from and write to, from Windows or > from Debian > - A Debian OS area (including /home, but happy to take advice on that) > 8.1 and 10 may already set up several Windows partitions. > Previous m/c preparation methods have been: > - Let Windows start, configure it as required, and compress its use of the > HD > - Create the shared files partition > - Create a blank partition for Debian > followed by a Debian install. > Suggestion is to leave Windows as is and just create a single partition to install Debian at the end of the disk. > The machine config is Celeron N2840, 32GB SSD, 2GB RAM, W8.1/W10, WiFi, USB > 2/3, SD card slot. Apparently (some web comment) the machine also has a > special partition where it keeps various codes and certificates, and only a > recent kernel (I think, > 3.16, does that seem likely?) can read past that, > on boot, without hanging. This sounds very like a Bay Trail machine: http://wiki.debian.org/InstallingDebianOn/Acer/T100TA may help here. You might need Debian multi-arch .iso to start with. > > The m/c has not yet been switched on. I would welcome advice about the > initial sequence of using this machine, to facilitate the subsequent > installation of Debian. Specific queries I have are: > > 1. On switch on, do I need to interrupt the boot? Eg should I leave UEFI on > or off, and ought I change any other BIOS things first? It might be handy > to change the boot sequence to default to USB first, I thought, in case > there's some reason to *not* start Windows immediately on first switch on. Switch off Secure Boot. You can leave UEFI on. > > 2. Some comments on the web suggest 'imaging' the system, next, in case of > needing to fallback to the original system - though I suspect that was where > users had decided to remove Windows entirely, not something I wish to do. > (And I'm not sure how, unless the machine would boot from a live DVD or > something which I suspect it won't unless the BIOS config is changed). > Clonezilla on a USB stick will work nicely. > 3. Because I'll be using Windows from time to time, I will want to have > created its 'recovery' files and I'm inclined to do that pretty much as soon > as Windows starts and settles down. After that I'll compress the space > Windows takes, and create my additional 'files' partition, using Windows, so > that Windows can see that partition without difficulty. Do that after installing Debian? Don't boot to Windows before installing Debian, potentially. > > The main Windows issue is whether Debian more happily co-exists with Windows > 8.1 or Windows 10, because (apparently) we will have a one-shot choice > between the two, on Windows' first start after switch on. > If Windows is installed first, then Debian, Debian should recognise that there is a Windows install and install grub-efi correctly. > 4. Then I'd like to install Debian. I'd prefer to install Debian Wheezy > because we have a very slow internet service and already have the install > DVDs for D7.8. Is Wheezy 7.8 installable on UEFI, or should I use the > legacy boot system in the BIOS? > No, don't install Wheezy at all if: Jessie works from the outset with UEFI. You may find that there is no legacy boot option in the BIOS if you are unlucky. > And that's really my main point of uncertainty, and why I haven't yet > switched the machine on. Do I need to do something, first, to ensure that I > will be able to install Wheezy and be able to dual boot, after having let > Windows start, and compressing the space it takes? > If you boot from Debian install media you can use the partitioning tools in the installer to shrink an installed Windows partition. Put the empty space at the end of the disk. > Apologies for the length of the post, but would be grateful for any advice, > > regards, Ron Hope this helps, AndyC
Re: augmenetation taille /tmp
On 19/09/2015 23:40, Jean-Michel OLTRA wrote: >> Personnellement, je ne comprends pas qu'un reboot n'ait pas résolu >> ce problème. > > Non seulement ça ne le résoud pas, mais en plus ça fait empirer le > phénomène, puisque mon volume monté sur /tmp s'est pris 64M après le > reboot ! La seule explication possible que je vois à un truc pareil c'est que tu as un processus (ou plusieurs) qui est lancé au démarrage du système qui t'écrit plein de trucs dans /tmp et cela avant même le vidage de /tmp qui lui aussi s'effectue à chaque démarrage du système. Pour moi, un fichier qui prend de la place dans le fs mais qu'on ne voit plus dans l'arborescence, c'est forcément un fichier utilisé par un processus, je ne vois pas comment il peut en être autrement (où alors un fs en vrac peut-être). Perso, à ta place je tenterais ceci : # apt-get install lsof lsof | grep /tmp/ Sauf erreur, ça devrait t'afficher la liste de tous les processus qui utilisent un fichier dans /tmp/ *même* si celui-ci n'existe plus dans l'arborescence. À tester donc... PS : j'ose à peine te le demander mais bon juste au cas où : tu as bien sûr fait un `ls -al /tmp` pour afficher aussi les fichiers « cachés », n'est-ce pas ? ;) -- François Lafont
Re: augmenetation taille /tmp
Bonjour, Le samedi 19 septembre 2015, Francois Lafont a écrit... > Personnellement, je ne comprends pas qu'un reboot n'ait pas résolu > ce problème. Non seulement ça ne le résoud pas, mais en plus ça fait empirer le phénomène, puisque mon volume monté sur /tmp s'est pris 64M après le reboot ! -- jm
Re: Fermer automatiquement une session ssh après x secondes
Bonsoir, As tu essayé ServerAliveInterval dans le fichier de configuration du client ? Le 19 sept. 2015 20:44,a écrit : > Bonsoir, > > Tourt est dans le titre, > comment fermer une session ssh lorsque le client > ne fait plus rien pendant x secondes. > > J'ai ces lignes dans "sshd_config" : > ClientAliveInterval 600 > ClientAliveCountMax 0 > > Soit 600 secondes, j'ai beau partir faire du vélo 3 heures, > ma session est toujours active. > > André > >
Re: augmenetation taille /tmp
Bonjour, Le samedi 19 septembre 2015, Sylvain L. Sauvage a écrit... > > L'occupation de ma partition montée sur /tmp augmente > > régulièrement. C'est un volume logique. > Qu’est ce que tu entends par « volume logique » ? Un LV de LVM ? Tu > penses que ça peut être un facteur ? C'est bien un LV de LVM. Et je commence à me dire que c'est peut-être un facteur. > Autrement dit, la partition se remplit mais aucun fichier > n’apparaît prendre cet espace. Oui. > Donc les fichiers en cours mais effacés ne semblent pas être > ceux qui prennent de l’espace. Oui. > Et arrêter les suspects habituels ne libère pas l’espace > disque qui, je suppose, n’est toujours pas rendu et n’est > toujours dans aucun répertoire…? Exact, ça ne change rien. Certains fichiers marqués comme (deleted) disparaissent (apache, mysqld). Mais ça n'apporte rien. > > Une idée pour un meilleur diagnostic ? > Je suppose que tu as vérifié que l’espace utilisé grossit > toujours même sans les services ? Non. J'ai stoppé la machine ensuite. L'espace utilisé ne grossit pas en fonctionnement. J'ai l'impression que ça grossit au démarrage de session. La première fois (et la seconde…, mais là je savais où taper), le symptôme le plus immédiat fut que X n'était pas lancé au boot (mais gdm3 tournait toujours). En fait, juste pour l'anecdote, j'ai pu le relancer via un `service gdm3 restart`, mais je me suis retrouvé avec une drôle de configuration clavier sous X, puis avec un souci sous aptitude (suppression d'image noyau obsolète). > Et si tu réduits la taille de la partition et que tu attends que > quelqu’un plante ? Je pourrais essayer, mais je n'y crois guère, puisque rien n'écrit dedans si je ne fais rien. Sauf X au démarrage, puis des choses comme aptitude comme dit plus haut. > Et quel est le FS ? xfs /dev/mapper/debian-lvtmp on /tmp type xfs (rw,relatime,inode64,noquota) Je reviens sur la configuration en volume comme facteur. Je me dis que si je ne vois rien concernant le système de fichiers (fichiers effacés mais toujours ouverts par exemple), c'est peut-être que l'augmentation est due à des metadonnées de lvm2. J'ai posté il y a quelques semaines un souci avec lvm2 et le nouveau noyau 4. Celui ci a été corrigé, mais y aurait il un bogue résiduel ? Je viens d'enregistrer les sorties de `df` et `df -h`. J'ai d'autres volumes logiques sur ce raid logiciel, un qui couvre /usr, et un autre sur un home utilisateur qui n'est plus utilisé. Je vais voir si ceux ci grossissent également. La suite demain, donc. -- jm
problema con xrandr
Hola lista Estoy usando Debian Wheezy en un DELL Inspiron 15R 5537. Necesito conectar otra pantalla para extender mi escritorio, pero no funciona. Este es el mensaje de error que emite cuando intento extender el escritorio con xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 1366 x 768, current 1366 x 768, maximum 1366 x 768 default connected 1366x768+0+0 0mm x 0mm 1366x7680.0* La salida que emite lspci -v para el video es: 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: Dell Device 05e9 Flags: bus master, fast devsel, latency 0, IRQ 61 Memory at b000 (64-bit, non-prefetchable) [size=4M] Memory at a000 (64-bit, prefetchable) [size=256M] I/O ports at 4000 [size=64] Expansion ROM at [disabled] Capabilities: Kernel driver in use: i915 Probe con un livecd de Ubuntu, con la segunda pantalla conectada y en ese caso si extiende correctamente mi escritorio. Le agradezco cualquier ayuda que me puedan dar con este problema. -- Pablo Magé Grupo IDIS FIET-Unicauca
Re: Manejo de ancho de bandas en aplicaciones a nivel Sistema Operativo
2015-09-19 14:53 GMT-03:00 Camaleón: > El SO en este caso es el kernel y QoS es a nivel de kernel, es decir, lo > que buscas: > > Journey to the Center of the Linux Kernel: Traffic Control, Shaping and QoS > > http://wiki.linuxwall.info/doku.php/en:ressources:dossiers:networking:traffic_control > > 10.3. Quality of Service > https://debian-handbook.info/browse/stable/sect.quality-of-service.html > > Saludos, > > -- > Camaleón > > Gracias por el dato. Siempre pense que QOS se hacia desde el lado de tener un servidor contra los clientes y no contra aplicaciones que tiene el mismo SO. -- Pablo
Re: Fermer automatiquement une session ssh après x secondes
Le 19/09/2015 20:44, andre_deb...@numericable.fr a écrit : > Bonsoir, > > Tourt est dans le titre, > comment fermer une session ssh lorsque le client > ne fait plus rien pendant x secondes. > > J'ai ces lignes dans "sshd_config" : > ClientAliveInterval 600 > ClientAliveCountMax 0 > > Soit 600 secondes, j'ai beau partir faire du vélo 3 heures, > ma session est toujours active. > > André > > Le client a peut-être un keepalive C'ets le paramêtre ServerAliveInterval dans la configuration du client.
Re: Fermer automatiquement une session ssh après x secondes
> Le client a peut-être un keepalive > C'ets le paramêtre ServerAliveInterval dans la configuration du client. > As tu essayé ServerAliveInterval dans le fichier de configuration du client Je ne souhaite pas que le client décide, mais le serveur, car il y a plusieurs clients différents qui se logguent, il faut de la sécurité. Peut-être ce n'est pas possible... je n'ai pas vu cette possibilité, par des recherches via Google. André > > Tout est dans le titre, > > comment fermer une session ssh lorsque le client > > ne fait plus rien pendant x secondes. > > J'ai ces lignes dans "sshd_config" : > > ClientAliveInterval 600 > > ClientAliveCountMax 0 > > Soit 600 secondes, j'ai beau partir faire du vélo 3 heures, > > ma session est toujours active. > > André
Re: problema con xrandr
deverias forsar a usar resoluciones mas pequeñas para empesar a probar otro monitor conectado, por ejemplo 640x480 :-) te mando el link de la wiki de debian: https://wiki.debian.org/XStrikeForce/HowToRandR12 Use xrandr to enable/disable/move/resize multiple outputs -- ** software libre no significa gratis: richard m. stallman http://wiki.debian.org/es/NormasLista#resumen http://wiki.debian.org/es/NormasLista/Gmail http://es.wikipedia.org/wiki/Top-posting
Re: Printing Margins
On Sat, Sep 19, 2015 at 11:39:30AM -0400, Richard Barmann wrote: > I have a flyer and a 3fold Brocure that I save to print with. In Xfce it > prints perfect. When I go to Kubuntu 15.10 the margins are way off and I > lose part of the text. I am drawing from the same file. I tried to reset > margins but cannot get the right and Left margin smaller. I built them in > Xfce using Scribus. Is there a remedy or do I have to go to Xfce to do my > printing. > Thank you. > Dick Barmann Sadly, this is a Debian list: we (probably) can't help with problems with Kubuntu 15.10 (which is a beta and not yet released.) It is certainly possible that Scribus in Kubuntu would be a different version. Try troubleshooting in Scribus on the version that works for you. Same printer? _Exactly_ the same document in the same version? If it prints in [Debian] XFCE, may I suggest that you print it there and have done with it? All the very best, feel free to come back here with problems in Debian rather than problems with Debian derivatives maintained by others. All the very best, Andy C. [Sent to Mr. Barmann and copied to the list as he may not be subscribed to the list].
Re: augmenetation taille /tmp
Bonjour, On 19/09/2015 19:22, Sylvain L. Sauvage wrote: >> deux, elle avait conservé sa taille initiale (100M). J'ai du >> la remonter à 500, puis 800 hier soir, avec actuellement une >> occupation (au sens de df) de 560M. Hier soir, lorsque j'ai >> stoppé la machine, j'avais 496M. Donc 64M de mieux au reboot, >> si je puis dire. Évidemment, un `du -sh /tmp` ne donne >> quasiment rien. > > Autrement dit, la partition se remplit mais aucun fichier > n’apparaît prendre cet espace. > D’où l’idée de chercher des fichiers effacés mais toujours là > avec lsof : Honnêtement c'est vraiment super bizarre qu'après un reboot il y ait encore un /tmp bien rempli. Car des fichiers non visibles dans /tmp mais toujours présents parce qu'il y a des processus qui lisent ou écrivent encore dedans, ça d'accord, mais après un reboot je ne vois pas comment ça peut persister (vu que les processus sont morts et donc les fichiers sont définitivement perdus, l'espace est considéré comme disponible par le fs). Personnellement, je ne comprends pas qu'un reboot n'ait pas résolu ce problème. -- François Lafont
Openssh client or server problem?
Hello, when i execute shutdown to my Debian 8 stable openssh-server from a debian laptop, the ssh shell in laptop hangs on even when the connection is closed due to shutdown. I am not aware of the cause of this problem. Do i need to configure something? Thank you!
augmenetation taille /tmp
Bonjour, L'occupation de ma partition montée sur /tmp augmente régulièrement. C'est un volume logique. Il y a une semaine ou deux, elle avait conservé sa taille initiale (100M). J'ai du la remonter à 500, puis 800 hier soir, avec actuellement une occupation (au sens de df) de 560M. Hier soir, lorsque j'ai stoppé la machine, j'avais 496M. Donc 64M de mieux au reboot, si je puis dire. Évidemment, un `du -sh /tmp` ne donne quasiment rien. Un `lsof -a +L1` sur /tmp ne donne quasiment rien, que des fichiers apache2 ou mysqld. L'arrêt de ces services ne rend rien de probant, et surtout pas de l'espace disque. Avant de stopper la machine, j'ai tenté, hier soir, de me mettre sur le terminal, couper X et un certain nombre de services (postfix, mysql, apache, cron, clamav, nut, dnsmasq, memcached, libvirt). Sans succès. Une idée pour un meilleur diagnostic ? Merci. -- jm
Re: recherche conseil ou retour d'expérience sur parc info école primaire
Le 18/09/2015 22:45, Christophe De Natale a écrit : J’ai sûrement omis de communiquer certaines données de mon problème, comme : village de Dordogne de 600 habitants donc mairie pas avec des gros moyens, 7 institutrices dans une école qui a récupéré le public des écoles fermées aux alentours, une salle info qui ne va peut-être pas servir tant que ça (j’espère me tromper). Avec 10 PCs, on peut hésiter entre faire une installation "classique" sur chaque d'eux ou les configurer en clients légers/lourds. L'avantage d'une solution clients légers/lourds, c'est pour installer une nouvelle application ou en mettre à jour (comme le plug-in flash du navigateur web), tu n'as pas besoin de passer sur chaque machine, juste sur le serveur ... En plus, tu peux très facilement agrandir le parc informatique, simplement en activant le boot PXE d'une nouvelle machine ... Un autre point à étudier aussi, je pense, c'est la création des comptes utilisateurs (professeurs et élèves) et l'espace de stockage alloué aux utilisateurs. Dans notre lycée, le serveur LTSP est couplé à un serveur Samba Edu 3 qui fait office (entre autre) de serveur Ldap et Samba pour l'ensemble de tous nos PCs et notre serveur LTSP a été configuré pour consulter l'annuaire ldap et monter automatiquement les partages réseau Samba des utilisateurs lors du démarrage des clients LTSP : tout est automatisé de ce fait. En installant seulement un serveur LTSP, il faudrait créer "à la main" l'ensemble des comptes utilisateurs de l'école et l'espace de stockage pour les utilisateurs sera le disque dur du serveur LTSP, sans quotas pour les utilisateurs ... Après cela dépend du nombre d'utilisateurs, avec un DD de 160 Go et quelques dizaines d'utilisateurs, il est possible de créer une partition de 120 Go dédiée à /home pendant l'installation du serveur Debian, afin d'éviter qu'une saturation du /home ne fasse planter le serveur LTSP ... Il faut je pense prendre en considération tous ces éléments avant d'opter pour une solution plutôt qu'une autre et Abuledu est peut-être plus une solution "clé en main" pour la gestion des comptes utilisateurs et des quotas utilisateurs. Le déploiement au sein d'une école est peut-être de ce fait plus simple. Bonne continuation et bon courage. Nicolas Aldegheri
Re: iceweasel download panel uses gimp for pdf
On Sat, 19 Sep 2015 07:36:43 +0200wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, Sep 18, 2015 at 07:28:29PM -0700, Jimmy Johnson wrote: > > On 09/18/2015 07:11 PM, Ross Boylan wrote: > > >When I download a pdf in iceweasel and click on the download icon > > >to open the list of downloaded files, and click on a pdf file, > > >gimp starts. > > > > > >I want okular to be used instead. How can I do that from the > > >download panel? (I know I can open the file independently). > > > > > >Also, when I open the containing folder (from the same download > > >panel) gwenview starts. I want a regular file browser. > > > > > >I can't figure out where this is set. The pdf application > > >association in iceweasel has "always download"; I think these are > > >settings for embedded content on web pages, and don't control file > > >associations from the download pane. > > > > > >I'm running under KDE; it lists okular as the top file > > >association for pdf, though gimp is an alternate. > > > > Hi! > > > > Right click on a .pdf file, choose open with, other, drop down box > > choose Okular. Done. > > Explanation: there is a system global "database" which associates the > MIME type of a file with the preferred application(s) to open it (with > many kludges inherited from Windows, alas). > Indeed, but Iceweasel (and possibly other browsers) has its own independent database, which allows an application to be selected, or the user asked at download time. Open Preferences, then Application. > For some strange reason The Gimp has been associated to > "application/pdf". Now every user has to correct that to some > sensible PDF viewer. > Not in my sid, which has Evince, now known as 'Document Viewer' set for pdfs. I must find another PostScript viewer, as Evince is also set for that, and it's rubbish at displaying the few PS files it can open without crashing... -- Joe
Debian tracker
Hi all, when I try to download debian ISO images via bittorrent I get an error message: Error: invalid data from tracker when accessing http://bttracker.debian.org:6969/announce. Using wget I see #wget http://bttracker.debian.org:6969/announce --2015-09-19 09:52:43-- http://bttracker.debian.org:6969/announce Resolving bttracker.debian.org (bttracker.debian.org)... 130.239.18.146, 2001:6b0:e:2018::146 Connecting to bttracker.debian.org (bttracker.debian.org)| 130.239.18.146|:6969... connected. HTTP request sent, awaiting response... No data received. Retrying. Any idea? Thanks/regards, mls
Re: Debian tracker
I tested several times during the last 2 weeks and my impression is that the tracker was always down. Does someone knows someone responsible who can be contacted? Cheers mls On Saturday 19 September 2015 11:20:18 linuxthefish wrote: > Tracker is down here also! > > On 19 September 2015 at 11:03, mlswrote: > > Hi all, > > > > when I try to download debian ISO images via bittorrent I get an error > > message: > > > > Error: invalid data from tracker > > > > when accessing http://bttracker.debian.org:6969/announce. > > > > Using wget I see > > > > #wget http://bttracker.debian.org:6969/announce > > --2015-09-19 09:52:43-- http://bttracker.debian.org:6969/announce > > Resolving bttracker.debian.org (bttracker.debian.org)... 130.239.18.146, > > 2001:6b0:e:2018::146 > > Connecting to bttracker.debian.org (bttracker.debian.org)| > > 130.239.18.146|:6969... connected. > > HTTP request sent, awaiting response... No data received. > > Retrying. > > > > Any idea? > > > > Thanks/regards, > > > > mls
Re: Openssh client or server problem?
Karagkiaouris Diamantiswrote: > when i execute shutdown to my Debian 8 stable openssh-server from a > debian laptop, the ssh shell in laptop hangs on even when the > connection is closed due to shutdown. I am not aware of the cause of > this problem. Do i need to configure something? This is a systemd phenomenon, which shuts down the computer so fast and kills the networking before the sshd process serving your connection is terminated. Grüße, Sven. -- Sigmentation fault. Core dumped.
Re: Boxed W8/W10 PC; must anything be done, first, to enable dual-bootable later?
On Saturday 19 September 2015 11:43:11 Ron Leach wrote: > List, good morning, I have purchased a Windows 8.1 (optional W10) > notebook and I wondered what, if anything, I ought to do *first* > before letting Windows start after first switch-on, and then also > installing Debian to make a dual boot system. I have installed Debian > to dual boot on several Windows laptops in the past but have never > installed on UEFI, nor side by side with W8.1 or W10. I do need to > continue to be able to also boot to Windows for work purposes. First of all I'd do a complete disk image with e.g. Clonezilla. Just my 2 cents Best regards Eike -- Eike Lantzsch ZP6CGE It's is not, it isn't ain't, and it's it's, not its, if you mean it is. If you don't, it's its. Then too, it's hers. It isn't her's. It isn't our's either. It's ours, and likewise yours and theirs. -- Oxford University Press, Edpress New
imprimir pdf
Buenas, Tengo una impresora epson lx 300+; por fa alguien podría explicarme como imprimir los pdf. Los documentos de libre office los imprimo bien. saludos a todos -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/
Re: Debian tracker
Tracker is down here also! On 19 September 2015 at 11:03, mlswrote: > Hi all, > > when I try to download debian ISO images via bittorrent I get an error > message: > > Error: invalid data from tracker > > when accessing http://bttracker.debian.org:6969/announce. > > Using wget I see > > #wget http://bttracker.debian.org:6969/announce > --2015-09-19 09:52:43-- http://bttracker.debian.org:6969/announce > Resolving bttracker.debian.org (bttracker.debian.org)... 130.239.18.146, > 2001:6b0:e:2018::146 > Connecting to bttracker.debian.org (bttracker.debian.org)| > 130.239.18.146|:6969... connected. > HTTP request sent, awaiting response... No data received. > Retrying. > > Any idea? > > Thanks/regards, > > mls >
Re: Debian tracker
Hi, mls wrote: > Does someone knows someone responsible who can be contacted? linuxthefish wrote: > > Tracker is down here also! mls wrote: > > > when I try to download debian ISO images via bittorrent I get an error I have seen complaints about missing ISOs being processed at debian...@lists.debian.org At least there is hope for a pointer to the appropriate place. Have a nice day :) Thomas
Boxed W8/W10 PC; must anything be done, first, to enable dual-bootable later?
List, good morning, I have purchased a Windows 8.1 (optional W10) notebook and I wondered what, if anything, I ought to do *first* before letting Windows start after first switch-on, and then also installing Debian to make a dual boot system. I have installed Debian to dual boot on several Windows laptops in the past but have never installed on UEFI, nor side by side with W8.1 or W10. I do need to continue to be able to also boot to Windows for work purposes. In the past I have partitioned a system with 3 sections: - A windows OS and programs area - A separate partition where I store all data files (documents, spreadsheets, etc) which I could read from and write to, from Windows or from Debian - A Debian OS area (including /home, but happy to take advice on that) Previous m/c preparation methods have been: - Let Windows start, configure it as required, and compress its use of the HD - Create the shared files partition - Create a blank partition for Debian followed by a Debian install. The machine config is Celeron N2840, 32GB SSD, 2GB RAM, W8.1/W10, WiFi, USB 2/3, SD card slot. Apparently (some web comment) the machine also has a special partition where it keeps various codes and certificates, and only a recent kernel (I think, > 3.16, does that seem likely?) can read past that, on boot, without hanging. The m/c has not yet been switched on. I would welcome advice about the initial sequence of using this machine, to facilitate the subsequent installation of Debian. Specific queries I have are: 1. On switch on, do I need to interrupt the boot? Eg should I leave UEFI on or off, and ought I change any other BIOS things first? It might be handy to change the boot sequence to default to USB first, I thought, in case there's some reason to *not* start Windows immediately on first switch on. 2. Some comments on the web suggest 'imaging' the system, next, in case of needing to fallback to the original system - though I suspect that was where users had decided to remove Windows entirely, not something I wish to do. (And I'm not sure how, unless the machine would boot from a live DVD or something which I suspect it won't unless the BIOS config is changed). 3. Because I'll be using Windows from time to time, I will want to have created its 'recovery' files and I'm inclined to do that pretty much as soon as Windows starts and settles down. After that I'll compress the space Windows takes, and create my additional 'files' partition, using Windows, so that Windows can see that partition without difficulty. The main Windows issue is whether Debian more happily co-exists with Windows 8.1 or Windows 10, because (apparently) we will have a one-shot choice between the two, on Windows' first start after switch on. 4. Then I'd like to install Debian. I'd prefer to install Debian Wheezy because we have a very slow internet service and already have the install DVDs for D7.8. Is Wheezy 7.8 installable on UEFI, or should I use the legacy boot system in the BIOS? And that's really my main point of uncertainty, and why I haven't yet switched the machine on. Do I need to do something, first, to ensure that I will be able to install Wheezy and be able to dual boot, after having let Windows start, and compressing the space it takes? Apologies for the length of the post, but would be grateful for any advice, regards, Ron
Re: Openssh client or server problem?
Hi! > On 19 Sep 2015, at 13:25, Sven Hartgewrote: > > Karagkiaouris Diamantis wrote: > >> when i execute shutdown to my Debian 8 stable openssh-server from a >> debian laptop, the ssh shell in laptop hangs on even when the >> connection is closed due to shutdown. I am not aware of the cause of >> this problem. Do i need to configure something? > Same here... > This is a systemd phenomenon, which shuts down the computer so fast and > kills the networking before the sshd process serving your connection is > terminated. > At the shell prompt enter shutdown -h +1 and hit Enter twice. The ssh shell remains responsible and the session can be terminated via exit. > Grüße, > Sven. > > -- > Sigmentation fault. Core dumped. >
Re: imprimir pdf
Hola merlinva2...@grannet.grm.sld.cu... Decías el 19 de septiembre del 2015 Buenas, Tengo una impresora epson lx 300+; por fa alguien podría explicarme como imprimir los pdf. Los documentos de libre office los imprimo bien. saludos a todos Sencillo abrir el pdf con la aplicación que utilices Evince tal vez y mandar imprimir -- _ (·)> /|\ José Tomás Mateo Ruiz \_/_ 50550 Aragón España -- Sólo en la filosofía es donde cada pensador, cuando es original, determina no únicamente lo que quiere responder, sino lo que quiere preguntar... para responder al concepto de filosofía. -- Georg Simmel. (1858-1918) Filósofo alemán.
Re: Openssh client or server problem?
> > On 19 Sep 2015, at 16:51, Volker Thieme> wrote: > > Hi! > >> On 19 Sep 2015, at 13:25, Sven Hartge wrote: >> >> Karagkiaouris Diamantis wrote: >> >>> when i execute shutdown to my Debian 8 stable openssh-server from a >>> debian laptop, the ssh shell in laptop hangs on even when the >>> connection is closed due to shutdown. I am not aware of the cause of >>> this problem. Do i need to configure something? >> > Same here... > >> This is a systemd phenomenon, which shuts down the computer so fast and >> kills the networking before the sshd process serving your connection is >> terminated. >> > > At the shell prompt enter > > shutdown -h +1 > > and hit Enter twice. The ssh shell remains responsible and the session can be > terminated via exit. responsible = responsive :-) > >> Grüße, >> Sven. >> >> -- >> Sigmentation fault. Core dumped. >> >
Printing Margins
I have a flyer and a 3fold Brocure that I save to print with. In Xfce it prints perfect. When I go to Kubuntu 15.10 the margins are way off and I lose part of the text. I am drawing from the same file. I tried to reset margins but cannot get the right and Left margin smaller. I built them in Xfce using Scribus. Is there a remedy or do I have to go to Xfce to do my printing. Thank you. Dick Barmann
Re: augmenetation taille /tmp
Le samedi 19 septembre 2015, 10:39:36 Jean-Michel OLTRA a écrit : > Bonjour, ’soir, > L'occupation de ma partition montée sur /tmp augmente > régulièrement. C'est un volume logique. Qu’est ce que tu entends par « volume logique » ? Un LV de LVM ? Tu penses que ça peut être un facteur ? Bon, à partir d’ici, je vais reformuler pour vérifier que l’on comprend bien… > Il y a une semaine ou > deux, elle avait conservé sa taille initiale (100M). J'ai du > la remonter à 500, puis 800 hier soir, avec actuellement une > occupation (au sens de df) de 560M. Hier soir, lorsque j'ai > stoppé la machine, j'avais 496M. Donc 64M de mieux au reboot, > si je puis dire. Évidemment, un `du -sh /tmp` ne donne > quasiment rien. Autrement dit, la partition se remplit mais aucun fichier n’apparaît prendre cet espace. D’où l’idée de chercher des fichiers effacés mais toujours là avec lsof : > Un `lsof -a +L1` sur /tmp ne donne quasiment rien, que des > fichiers apache2 ou mysqld. L'arrêt de ces services ne rend > rien de probant, et surtout pas de l'espace disque. Donc les fichiers en cours mais effacés ne semblent pas être ceux qui prennent de l’espace. > Avant de stopper la machine, j'ai tenté, hier soir, de me > mettre sur le terminal, couper X et un certain nombre de > services (postfix, mysql, apache, cron, clamav, nut, dnsmasq, > memcached, libvirt). Sans succès. Et arrêter les suspects habituels ne libère pas l’espace disque qui, je suppose, n’est toujours pas rendu et n’est toujours dans aucun répertoire…? > Une idée pour un meilleur diagnostic ? Je suppose que tu as vérifié que l’espace utilisé grossit toujours même sans les services ? Et si tu réduits la taille de la partition et que tu attends que quelqu’un plante ? Et quel est le FS ? -- Sylvain Sauvage
Re: Problem VNC (Vino) access from windows or other clients
Thanks for help :) On Sat, Sep 19, 2015 at 10:24 AM, Seekerwrote: > > > On 9/18/2015 10:59 AM, Muhammad Yousuf Khan wrote: > >> >> >> can you please also advice any client for windows. right now the only >> platform i have is Windows to access the machine. and Remmina does not work >> for Windows. >> >> Any suggestion please? >> >> Thanks, >> Yousuf >> >> RealVNC or UltraVNC if you want security that is built in. > > TightVNC is another option, but doesn't have the level of security built > in that you would want > if you are connecting over the internet. > > If you can't get the Windows clients to play well with the security in the > Linux servers, then you > could use SSH to create a secure connection, then go over the SSH > connection to connect the client > to the server. If you google 'ssh tunnel' there are lots of 'HOW TO' links. > > If you don't have any objections to using stuff that requires a Google > account, you could try using > Chrome Remote Desktop. > > > https://chrome.google.com/webstore/detail/chrome-remote-desktop/gbchcmhmhahfdphkhkmpfmihenigjmpp > > I tried it when it was first released only long enough to see it work > between my phone as the client > and a computer running Windows with Google Chrome as the server. At that > time it wasn't working > for me on my Linux desktop using Chromium, so could still be an issue > using it with Chromium. It > allows you to set up a permanent connection for yourself, may be an issue > if you want to allow other > people to connect without you having to be there to generate a code. > > Later, Seeker > >
Configuarar apache para roda arquivos .py
Pessoas boar tarde! Estou tentando fazer o meu server local rodar arquivos python mais não estou conseguido pois o tutoriais que encontro mandam configurar arquivos que não encontro, com httpd ... Alguém poderia ajudar, uso o Debian Jessie. Quero poder por um arquivo .py e ver ele funcionar. Abraços -- Marcos Egito CV: http://lattes.cnpq.br/2389439225800702 GNU/Linux User #491326 blog maregito.wordpress.com TIM 081-9525-3834 "Sabedoria é não dizer nada, quando tudo que queremos é falar tudo, sabedoria é saber calar, para poder dizer mais com o silêncio!" (Eu)
Gray screen vnc viewer (Debian 8.3)
All, I am having gray screen issue no matter what setting i put in my xstartup file. when ever i connect the client it shows me something gray screen i can not see anything in the log i dont know what is going on. it never happend to me before. no xstartup config is working in this. any suggestion would be highly appreciated. #!/bin/sh # Uncomment the following two lines for normal desktop: #unset SESSION_MANAGER #unset DBUS_SESSION_BUS_ADDRESS # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #gnome-session & gnome-session --session=gnome-classic & Thanks, Yousuf
Re: Gray screen vnc viewer (Debian 8.3)
Just sharing: i am no longer using default vino server. i am using vnc4server and also tightvncserver both shows the same result. On Sat, Sep 19, 2015 at 10:41 PM, Muhammad Yousuf Khanwrote: > All, > > I am having gray screen issue no matter what setting i put in my xstartup > file. > > when ever i connect the client it shows me something gray screen i can not > see anything in the log i dont know what is going on. it never happend to > me before. > no xstartup config is working in this. > > any suggestion would be highly appreciated. > > > #!/bin/sh > # Uncomment the following two lines for normal desktop: > > #unset SESSION_MANAGER > #unset DBUS_SESSION_BUS_ADDRESS > > # exec /etc/X11/xinit/xinitrc > > > [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup > [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources > > xsetroot -solid grey > vncconfig -iconic & > > #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP > Desktop" & > #gnome-session & > > gnome-session --session=gnome-classic & > > > > > > > > > > > Thanks, > Yousuf >
Re: [Fwd: Re: imprimir pdf]
El Sat, 19 Sep 2015 12:23:36 -0400, merlinva2012 escribió: > Lo que sucede es que las letras salen muy pegadas unas con otras y/o en > ocasiones cambia las letras, es como si no reconociera la fuente o algo > así. > Incluso he probado imprimir una sola página pero pasa lo mismo. Las > páginas que imprimo solo tienen texto nunca imágenes Es posible que el PDF que estás intentando imprimir utilice fuentes vinculadas en lugar de incrustadas y la impresora o el sistema no las tenga y las sustituya por otras lo cual suele ser contraproducente. Te recomendaría dos cosas: 1/ Intenta que los PDF tengan las fuentes incrustadas para evitar que sean reemplazadas por otras. Con "gs" podrás recrear el PDF indicándole que integre los tipos de letra (consulta el manual pero Google me ha chivado el parámetro "-dEmbedAllFonts=true" pero seguramente haya otras opciones). 2/ Prueba a generar un archivo PS en lugar de PDF ya que el formato PostScript se lleva mejor con los conversores (de todo tipo, bien sean impresoras físicas o virtuales) porque el formato PS está mejor definido que el PDF, vaya, que es más estricto y no deja lugar a la interpretación. Saludos, -- Camaleón
Re: Manejo de ancho de bandas en aplicaciones a nivel Sistema Operativo
El Sat, 19 Sep 2015 13:26:20 -0300, Pablo escribió: > Gente no se si es OT por el tipo de consulta. Pero va dirigida a Debian. > Mi consulta es la siguiente. Como hace un sistema operativo(Debian) para > decidir como manejar el ancho de banda de una conexion de red? es decir > tengo muchas aplicaciones que necesitan descargar informacion desde > internet como decide el SO a quien darle mas ancho de banda o no. > Alguien tiene alguna pista de por donde buscar esta data. Estuve > buscando pero solo di con el tema de QOS cuando necesito saber a nivel > SO El SO en este caso es el kernel y QoS es a nivel de kernel, es decir, lo que buscas: Journey to the Center of the Linux Kernel: Traffic Control, Shaping and QoS http://wiki.linuxwall.info/doku.php/en:ressources:dossiers:networking:traffic_control 10.3. Quality of Service https://debian-handbook.info/browse/stable/sect.quality-of-service.html Saludos, -- Camaleón
Detectar una antena por puerto de red modelo NexNet RSU-2510-VF
Buenas noches lista: Quiero comentarles que tengo una Antena o modem (no se como llamarle, que me encontre en el trabajo. Esta me recuerda a una que tuve hace muchos años atras, ya que es el mismo modelo. Estas antenas las instalaban los de varias empresas como E-Go, Avantel entre otras (en Mexico), yo tuve una y la instalaban en el exterior con un tuvo y la mantenian lo mas alto posible para recibir la señal y este modem o antena estaba dentro de una caja que resistia la interperie. En ese entonces recuerdo que habia comenzado a usar linux, pero no sabia nada (hoy se menos). Estoy seguro que la use con un sistema operativo X y funcionaba. Ahora que me encuentro, la conecto por el puerto eth0, perfectamente se que no recibe la señal, los led recorren la tapa secuencialmente de izquierda a derecha (significado que no recibe señal, pues las empresas que menciono ya no brindan este servicio). La idea es re-utilizarla para recibir una señal wifi proveniente de otro edificio de la empresa y poderle brindar el servicio de internet. La mayoria de los modems trae una pagina web donde se puede configurar, normalmente se usa la ip 192.168.1.1 ó tal vez 192.168.100.1 u otra mas 192.168.1.254 etc. El caso es que cuando la conecto y trato de levantar la red mediante: sudo ifup eth0 Se tarda bastante y me arroja el siguiente resultado: Listening on LPF/eth0/00:30:67:e7:57:24 Sending on LPF/eth0/00:30:67:e7:57:24 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 No DHCPOFFERS received. No working leases in persistent database - sleeping. Mi archivo ubicado en /etc/network/interfaces contiene la siguiente informacion: auto eth0 iface eth0 inet dhcp Esta configuracion la he probado con otros modems y sin ningun problema me asigna una ip aunque no tenga conexion a internet, esto me sirve para hacer una red privada sin problema. Trato de saber la ip del gateway mediante: sudo ifconfig eth0 Link encap:Ethernet HWaddr 00:40:67:d7:57:24 inet6 addr: fe40::230:62ff:fee7:5724/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:153 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:35599 (34.7 KiB) Como podran darse cuenta, no aparece ni la ip del gateway ni la ip asignada a la maquina. Yo supongo que estas se asignan cuando la antena se conecta al ISP mediante la configuracion que trae. Tambien he tratado de resetear el modem, pero no hay ningun swich por ningun lado, esto pensando que si la reseteo podria volver a tomar la configuracion de fabrica, pero no hay tal boton de reset. Recuerdo vagamente en ese entonces cuando yo tenia contratado el servicio que si llegue a usar linux y funcionaba. Otra cosa que podria ser seria tener el driver, pero he tratado de buscar el manual y el driver en internet y no tengo resultados (llevo varios dias). Cuando ejecuto lspci en la consola para saber sobre el hardware me arroja resultados de lo que trae la motherboard y de los dispositivos pci (de ahi su nombre lspci). Lo mismo sucede cuando ejecuto lsusb, me detecta solo los dispositivos conectados mediante usb. ¿Como puedo saber que chipset trae si esta conectado por puerto red? ¿Habra algun comando para escanear y conocer lo que esta conectado en el puerto eht0?. Otra cosa que intente (aunque ya fue de manera digamoslo para ver y funcionaba y me detectaba la ip del modem), porque se que el problema podria estar en la configuracion del archivo interfaces) es que ejecute: nmap -Pn 192.168.1.1-254 Pero nada, no encontro ningun host levantado. Tambien lo intente con la ip: nmap -Pn 192.168.100.1-254 Lo hice con estas ip's porque son las mas comunes, pero el resultado siempre es el mismo, no encuentra el host levantado. Considero que el problema estaria o en el DRIVER o en el archivo INTERFACES. ¿Alguna idea de como puedo resolver esta situacion?. Gracias
Re: imprimir pdf
El Sat, 19 Sep 2015 08:22:19 -0400, merlinva2012 escribió: > Tengo una impresora epson lx 300+; por fa alguien podría explicarme como > imprimir los pdf. Los documentos de libre office los imprimo bien. > saludos a todos Hum... lo normal es que cuando abres un PDF lo puedas imprimir por lo tanto creo que deberías indicar qué es exactamente lo que sucede (p. ej., que no imprime nada, que salen caracteres extraños, que sale una hoja en blanco...). Teniendo en cuenta que se trata de una impresora matricial, mira que el documento no sea de gran tamaño ni contenga gráficos complejos o simplemente se quedará atorado el búfer que apenas tendrá 64/128 KiB. Es decir, genera un documento sencillo con 4 líneas de texto, pásalo a PDF y prueba a imprimirlo. Saludos, -- Camaleón
Re: soucis avec xrandr
Le Fri, 28 Aug 2015 13:22:09 +0200, Bernard Schoenackera écrit : > bonjour, > > je n'arrive pas à obtenir une résolution de 1600x1200 > > voici ce que me dit xrandr : > xrandr > xrandr: Failed to get size of gamma for output default > Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768 > default connected 1024x768+0+0 0mm x 0mm >1024x768 61.00* >800x600 61.00 >640x480 60.00 > 1600x1200_75 (0x17f) 245.660MHz > h: width 1600 start 1632 end 2560 total 2592 skew0 clock > 94.78KHz v: height 1200 start 1223 end 1238 total 1261 > clock 75.16Hz > > la carte graphique : > > lspci |grep VGA > 01:00.0 VGA compatible controller: NVIDIA Corporation NV5 [Riva TNT2 > Model 64 / Model 64 Pro] (rev 15) > > le script qui permettais d'obtenir la résolution ad hoc : > > # !/bin/sh > # script-xrandr.sh > > xrandr --newmode "1600x1200_60.00" 161.00 1600 1712 1880 2160 1200 > 1203 1207 1245 -hsync +vsync xrandr --addmode LVDS1 1600x1200_60.00 > xrandr --addmode LVDS0 1600x1200_60.00 > xrandr --addmode VGA-1 1600x1200_60.00 > xrandr --addmode VGA-0 1600x1200_60.00 > xrandr --output VGA-1 --mode 1600x1200_60.00 > xrandr --output VGA-0 --mode 1600x1200_60.00 > > > la version du noyau : > uname -ar > Linux hamtaro 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u3 > (2015-08-04) i686 GNU/Linux > > > qui aurais une solution ? > > slt > bernard > bonjour, grâce à une âme charitable j'ai résolu mon problème de résolution ... ci joint le script corrigé slt bernard script-xrandr.sh Description: application/shellscript
Manejo de ancho de bandas en aplicaciones a nivel Sistema Operativo
Gente no se si es OT por el tipo de consulta. Pero va dirigida a Debian. Mi consulta es la siguiente. Como hace un sistema operativo(Debian) para decidir como manejar el ancho de banda de una conexion de red? es decir tengo muchas aplicaciones que necesitan descargar informacion desde internet como decide el SO a quien darle mas ancho de banda o no. Alguien tiene alguna pista de por donde buscar esta data. Estuve buscando pero solo di con el tema de QOS cuando necesito saber a nivel SO -- Pablo
[Fwd: Re: imprimir pdf]
Lo que sucede es que las letras salen muy pegadas unas con otras y/o en ocasiones cambia las letras, es como si no reconociera la fuente o algo así. Incluso he probado imprimir una sola página pero pasa lo mismo. Las páginas que imprimo solo tienen texto nunca imágenes > Tengo una impresora epson lx 300+; por fa alguien podrÃa explicarme como > imprimir los pdf. Los documentos de libre office los imprimo bien. > saludos a todos Hum... lo normal es que cuando abres un PDF lo puedas imprimir por lo tanto creo que deberÃas indicar qué es exactamente lo que sucede (p. ej., que no imprime nada, que salen caracteres extraños, que sale una hoja en blanco...). Teniendo en cuenta que se trata de una impresora matricial, mira que el documento no sea de gran tamaño ni contenga gráficos complejos o simplemente se quedará atorado el búfer que apenas tendrá 64/128 KiB. Es decir, genera un documento sencillo con 4 lÃneas de texto, pásalo a PDF y prueba a imprimirlo. Saludos, -- Camaleón -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/