LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-06-2005, 12:08 PM   #1
fireflyanant
LQ Newbie
 
Registered: Feb 2005
Location: B-224 shahpura BDA colony Bhopal India
Posts: 7

Rep: Reputation: 0
console switch problem


hi

there is this problem on my system. when i try to go to theconsole window using ctrl + alt + F1 the switch to console does takes place but is unsuccessful. what happens is that after displaying the console there is no further activity and as i wait for the prompt to start blinking there the console is switched back to the graphical window and also that the user is logged out with the switch to the graphical .
Can anyone suggest em some solution ?
thanking you
fireflyanant.
 
Old 04-06-2005, 12:28 PM   #2
mmmm
Member
 
Registered: Oct 2004
Location: Poland
Distribution: Slack 10.1, Mandrake 10.1
Posts: 118

Rep: Reputation: 15
When you run X windows consoles [1-5] are not available.
You can switch only to console 6 (ctrl + alt + F6)
 
Old 04-06-2005, 03:35 PM   #3
calcon
Member
 
Registered: Mar 2005
Location: somewhere over the rainbow theres a place....
Distribution: Ubuntu Dapper and Arch
Posts: 121

Rep: Reputation: 15
You can use screen
It may be pre-installed on your computer, but I don't know.

Here is a quote from the article "The Antidesktop" on Freshmeat:
Quote:
screen

screen has long won my vote for "Most Undercelebrated Unix Tool". I'm amazed at the number of people I've met at LUG meetings who have never heard of it. I'll quote the description of it from our listing:

Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells. Each virtual terminal provides the functions of the DEC VT100 terminal and, in addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line and support for multiple character sets).

When you log onto a system and run screen, a window is created with a shell in it. You can create any number of other windows and switch back-and-forth between them. screen stays out of your way unless you hit its control key (^A by default). "^A c" creates a new window. "^A n" and "^A p" move to the next and previous windows. "^A w" gives a list of the current windows and shows which you're in. "^A 3" moves to the third window, etc. ("^A a" gives a literal "^A".)

This is especially useful if, for example, you need to log onto your university's system and perform multiple tasks there. You can read mail in one window, chat on IRC in another, edit your project in other, compile it in another, etc.

Perhaps the best feature of screen is that it lets you detach and reattach sessions. When it's time to leave home, you can hit "^A d" to detach the session, and log out. All your processes will continue to run. Drive to school, log in, type screen -D -R, and your session will reattach itself, and you can continue right where you left off. Log out and go to class, and reattach there. Go over to a friend's house, and reattach there. You can have your text mode "desktop" running all the time, with everything laid out as you like it, and connect to it from anywhere, as GUI people do with VNC.

You can set your desktop up in your ~/.screenrc so you don't have to start all your applications every time. Mine looks like this:


startup_message off

screen -M -t root 0 su -
screen -t mail 1 mutt
screen -t emacs 2 xemacs -nw -e gnuserv-start
screen -t irc 3 epic4
screen -t yahoo 4 centericq
screen -t mixer 5 aumix
screen 6
screen 7
screen 8
screen 9
screen 10

select 1

If I don't already have a screen session running, all I have to do is type screen, and my 11 windows are created for me. I'm dropped into the first one so I can read my mail while my other apps start in the background, log me onto IRC, etc. Depending on your needs, you could have other windows tailing log files (and monitoring them to alert you to activity (-M)), logging you on to other servers, etc.

screen has a huge feature set. It can log windows to files, can split a session between multiple terminals, will let you copy and paste between windows using only the keyboard, and is rumored to be surprisingly effective against the heartbreak of psoriasis. Just take a look at its man page or info documentation to get an idea of its scope.
calcon
 
Old 04-06-2005, 10:20 PM   #4
fireflyanant
LQ Newbie
 
Registered: Feb 2005
Location: B-224 shahpura BDA colony Bhopal India
Posts: 7

Original Poster
Rep: Reputation: 0
console switch problem

I an using Redhat WS release 3. and i have used consoles from [1-5] which were the command line consoles which are switched from X windows . the ctrl + alt + [F1 - F5] are also very much functional, all that is to be done is to log on again and the work does get carried out very effeciently.

I do not wish to use some software to solve the problem.
it would be great if i could be provided with some technical explaination as to why is this happeneing.

the main problem still persists. the ctrl + alt + F1 window does not gives me the prompt and switches back to graphical but at the same time the other consoles work normally.

thank you for the information u all provided it was anways additional knowledge to me

fireflyanant
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch from X to console wizard7423 Programming 13 12-29-2004 09:11 AM
How to switch to Gnome under console? explorer1979 Debian 1 08-27-2004 07:09 PM
Cant switch to console from X sepppel Linux - Newbie 2 07-18-2004 12:57 PM
to switch from X window to console: go_sooner Linux - General 2 02-03-2004 09:36 AM
how to switch to console login? miica Linux - Newbie 5 10-30-2003 10:45 PM


All times are GMT -5. The time now is 03:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration