DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th May 2008
Lazy's Avatar
Lazy Lazy is offline
Port Guard
 
Join Date: May 2008
Location: Belgium
Posts: 16
Thanked 0 Times in 0 Posts
Default can't get out of twm - any escape?

After finally managing install and (with help) get twm working, I started experimenting with commands.

Don't know what I did at one point, but am stuck in twm now.
Exit worked for getting the windows away partly (all colors and icons are away) but the X11 doesn't shut.
Shutdown -h now or exit or logout... nothing works.

The screen I see has text starting with
last pid: 1762; load averages (etcetera)
and has the cursor on a blank spot after which (next line) is
PID USERNAME (etcetera)
pressing esc shows
Command not understood

Any way of getting out?
I read that BSD should never be simply turned off by the power button.

Last edited by Lazy; 30th May 2008 at 10:39 PM.
Reply With Quote
  #2   (View Single Post)  
Old 30th May 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,154
Thanked 182 Times in 149 Posts
Default

Try to kill X Window by pressing CTRL-ALT-Backspace.

You need to be root to do a shutdown -h now. Same condition is needed to go into single user mode using
Code:
$ kill -TERM 1
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 30th May 2008
Lazy's Avatar
Lazy Lazy is offline
Port Guard
 
Join Date: May 2008
Location: Belgium
Posts: 16
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by J65nko View Post
Try to kill X Window by pressing CTRL-ALT-Backspace.
THANK YOU!!
I should've remembered, this is one of the very first things I ever read about X11
It's the late hour again to blame (or the age )
Reply With Quote
  #4   (View Single Post)  
Old 5th June 2008
radcapricorn radcapricorn is offline
Port Guard
 
Join Date: Jun 2008
Posts: 15
Thanked 0 Times in 0 Posts
Default

BTW, you can also use CTRL-ALT-F[1-8] (assuming default configuration) to switch to console and manage from there.
Reply With Quote
  #5   (View Single Post)  
Old 28th June 2008
Lazy's Avatar
Lazy Lazy is offline
Port Guard
 
Join Date: May 2008
Location: Belgium
Posts: 16
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by radcapricorn View Post
BTW, you can also use CTRL-ALT-F[1-8] (assuming default configuration) to switch to console and manage from there.
Noted, thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remap colour escape codes bsdperson FreeBSD General 2 14th September 2009 10:52 AM
escape single quote in sed gosha Programming 5 9th March 2009 10:22 AM


All times are GMT. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick