From owner-freebsd-questions@freebsd.org Sat Jul 16 13:59:00 2016 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 71328B9B373; Sat, 16 Jul 2016 13:59:00 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from slim.berklix.org (slim.berklix.org [94.185.90.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0EB5B1A4C; Sat, 16 Jul 2016 13:58:59 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (pD9FE9D3F.dip0.t-ipconnect.de [217.254.157.63]) (authenticated bits=128) by slim.berklix.org (8.14.5/8.14.5) with ESMTP id u6GDvZeB050290; Sat, 16 Jul 2016 15:57:35 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id u6GDwmuU033182; Sat, 16 Jul 2016 15:58:48 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id u6GDwTi1040789; Sat, 16 Jul 2016 15:58:42 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201607161358.u6GDwTi1040789@fire.js.berklix.net> To: Yubin Ruan cc: freebsd-desktop@freebsd.org, freebsd-questions@freebsd.org Subject: Re: How to change back to the console when stucked by the desktop environment From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-URL: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Sat, 16 Jul 2016 20:56:01 +0800." <578A2EE1.8010108@gmail.com> Date: Sat, 16 Jul 2016 15:58:29 +0200 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2016 13:59:00 -0000 Hi, Reference: > From: Yubin Ruan > Date: Sat, 16 Jul 2016 20:56:01 +0800 Yubin Ruan wrote: > Hi, > I just tried FreeBSD-10.3 stable and get stuck when trying to use the > Mate desktop environment. I use Slim as the login manager. But when I > try to login, with correct username and passwd, Slim tell me that > "Failed to execute login command" > (Any idea why would that happen?) > So I try to switch back to the console use "Alt-F1...Alt-F8", which is > suggested by the doc. But that doesn't work. Why ? > > How can I switch back to the console to tune the system? (Ive never heard of Slim, but) general procedure: >From another net connected host: rlogin / telnet / ssh yourhost cd /var/log ; ls -ltr ls -l xdm.log messages Xorg.0.log + whatever logfile might be appropriate for your Slim ps -laxww kill some processes, watch if they restart vi /etc/ttys change eg ttyv1 "/usr/local/bin/xdm -nodaemon" xterm on secure to ttyv1 "/usr/local/bin/xdm -nodaemon" xterm off secure maybe you are using ttyv0 for xdm (I use ttyv1 to leave 0 for errors) kill -HUP 1 sometimes screen still wont come back, if desperate then reboot PS I dropped cc: freebsd-amd64@freebsd.org as this has nothing to do with that CPU, & freebsd.org list rules say dont cross post more than 2 lists. Cheers, Julian -- Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich http://berklix.eu/jhs/ Mail plain text, No quoted-printable, HTML, base64, MS.doc. Prefix old lines '> ' Reply below old, like play script. Break lines by 80. http://berklix.eu/brexit/#stolen_votes