From owner-freebsd-questions@freebsd.org Sun Oct 8 08:24:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EE95E2D774 for ; Sun, 8 Oct 2017 08:24:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6DBC6595B for ; Sun, 8 Oct 2017 08:24:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Sun, 08 Oct 2017 10:23:58 +0200 Received: from r56.edvax.de (port-92-195-127-141.dynamic.qsc.de [92.195.127.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 010113CBF9; Sun, 8 Oct 2017 10:23:57 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v988Nv2e002766; Sun, 8 Oct 2017 10:23:57 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Oct 2017 10:23:57 +0200 From: Polytropon To: "Thomas Mueller" Cc: freebsd-questions@freebsd.org Subject: Re: Screen Saver under FreeBSD 11.1 Message-Id: <20171008102357.efdcaf63.freebsd@edvax.de> In-Reply-To: <201710080816.v988Gpas002745@r56.edvax.de> References: <201710080816.v988Gpas002745@r56.edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 5F0196A35E5 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1460 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 08:24:02 -0000 On Sun, 08 Oct 2017 08:10:25 +0000, Thomas Mueller wrote: > > from Manish Jain: > > > On 10/05/17 18:32, Eduardo Lemos de Sa wrote: > > > I have used FreeBSD 11.1 (release/amd64) since some months. Everything > > > seems to working good, but I couldn't find a way get screensaver working. I > > > added into my /etc/rc.conf: > > > > saver="blank" > > > blanktime="120" > > > > > rebooted several times, but simply it did not work. Under X11, I could have > > > xscreensaver working (and to reinforce security, I am working under X11 > > > enviroment to have screen locked). Please, could you give some advise to > > > solve this? > > > > Thanks in advance > > > > My best regards > > > > Eduardo > > > Getting the saver to work in console mode is difficult nowadays - > > perhaps even impossible. > > > The only way you can get saver to work in console mode is to add this to > > /boot/loader.conf and reboot : > > > kern.vty=sc > > > The default console driver under 11.x is vt. If you use sc, your saver > > will begin to work, but then X will refuse to start (happens under > > 10.3/11.0). If you manage to get it to work under 11.1 - good luck ! > > Same symptoms occur with NetBSD with DRMKMS, which is their name for vt or newcons. > > I can only guess it would occur with Linux too and would not fight it. I'd say it's already present in Linux for a long while, but as Linux is already quite X-centric (at least the desktop distros, obviously), it is not a problem over there. Hardly anyone uses Linux in text mode. :-) > X will not start from sc in FreeBSD or NetBSD. Exactly, that's why the traditional text mode has been lost in FreeBSD, as soon as your system should run X. > I have wondered if console screensaver could be made to work with > vt or DRMKMS, but then there is the danger of not being able to > come back from screenblanking. This special sympton has been occuring when using sc with X (at a time where you could actually _start_ X from sc), but switching back from X to sc left the screen blank. With vt, you are always in graphics mode (there is no text mode anymore), so I'd assume that blanking and returning is not a problem here (no mode-switching). > I no longer use sc in FreeBSD. It only works for systems that do not run X. > In NetBSD, I like booting into 1920x1080 video mode for console > and getting 67 (?) rows and 240 columns. And that is exactly what I personally have problems with. The system boots with 80x25 text mode, then 80x25 graphics mode, then blanks for several seconds, and finally returns with tiny letters in an unpleasant font. On the laptop's native display, it becomes unreadable. So say goodbye to text mode, use X with xterms (or any other terminal application), where it's far easier to get a readable font at a terminal size you want, be it 80x25 or 132x67. And use xlock / xlockmore / xscreensaver instead. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...