Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2016 15:58:29 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        Yubin Ruan <ablacktshirt@gmail.com>
Cc:        freebsd-desktop@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: How to change back to the console when stucked by the desktop environment
Message-ID:  <201607161358.u6GDwTi1040789@fire.js.berklix.net>
In-Reply-To: Your message "Sat, 16 Jul 2016 20:56:01 %2B0800." <578A2EE1.8010108@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference:
> From:		Yubin Ruan <ablacktshirt@gmail.com>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607161358.u6GDwTi1040789>