LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-22-2011, 12:28 PM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Rep: Reputation: 53
If X Window System is not used what takes it's place?




If Linux is not in GUI mode, what application handles input and output?

Thanks in advance!

Last edited by theKbStockpiler; 03-22-2011 at 12:30 PM.
 
Old 03-22-2011, 12:32 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
The kernel always handles input and output. Can you explain more what you mean?

As far as what I THINK you are asking, if you try running a GUI program in init 3, you will get an error for no display being found due to not being in init 5.
 
1 members found this post helpful.
Old 03-22-2011, 12:33 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
The console.
 
1 members found this post helpful.
Old 03-22-2011, 12:38 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
/sbin/mingetty
 
1 members found this post helpful.
Old 03-22-2011, 01:00 PM   #5
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
"I" Took too long to post!

Quote:
(Quoting myself)The X windows system is a large application that I can't get the details from other than to Reverse Engineer or to analyze from system calls. Trying to figure it out from etymology is extremely indirect from the commands that control it. So i'm looking for how the data flows from the keyboard to the terminal in a application sense. What code controls the transfer of data.

I believe that the keyboard for example has a way to store keystrokes. I assume it has it's own micro processor on the mboard to do this. I'm not interested that much in the hardware. But somehow this data is transferred to the display. So if the huge X Windows System is not installed ,what chunk of code (applications) daemons maybe transfers the data to the display.


Maybe it is just drivers? X is just described in abstractions of code commands and not really what happens at a data level.
I counld not find much on getty before but I will use the received info to try again.

Thanks for the Replies!

Last edited by theKbStockpiler; 03-22-2011 at 01:13 PM.
 
Old 03-22-2011, 06:46 PM   #6
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
kernel drivers handle all the input/output functionality. The X server just reinterprets those inputs to use it how it sees fit.

There are various programs to see the output of the keyboard and mouse on the console but those programs are just showing you what the kernel is interpreting.

What is your question?

Do you want a detailed explanation of what the kernel is doing? read a book on the linux kernel, that's a complicated question.

Do you want a detailed explanation of what the xserver is doing with the kernel information or why X needs its own drivers ontop of the linux kernel? read a book on x server architecture, that is an equally complicated question.

Do you simply want to see a dump of key codes or the ouput of the keyboard on the console? Well that answer is a lot simpler. Check out the man pages for dumpkeys, loadkeys, and keymaps.
 
1 members found this post helpful.
Old 03-22-2011, 11:07 PM   #7
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986

Original Poster
Rep: Reputation: 53
The linux kernel is a scapegoat.

Thanks for the great replies. If the kernel takes care of everything if X is not installed I will inform myself more in that area. Thanks to everyone for sharing there expertise.

Also I found a decent Redhat doc (that I hope is not copywriten) that has a decent dialog on terminals Types and such which it seems would be beneficial to be knowledgeable of. It's good reading even if you are not currently in need of it. http://www.redhat.com/mirrors/LDP/HO...l-HOWTO-7.html I would like to bring to mind a few text editors that I've been playing with that are simple and functional , Tea(gtk) and Geany. I would also like to mention qps as the best Linux Process monitor available as well as Konsole as a better featured choice over Gnome Terminal.

Last edited by theKbStockpiler; 03-22-2011 at 11:17 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximized window does not fill screen - dock now takes it own place fkasmani Linux - Desktop 1 06-29-2010 07:09 AM
How to place the output of a script in a separate terminal window SBN Linux - General 2 12-27-2008 06:38 AM
The .c file of kernel source code where TCP connection takes place. indrajeetmopari Linux - Kernel 2 02-12-2008 06:52 PM
LXer: $0 Laptop shakeup: Ubuntu 7.04 is gone, Wolvix Hunter 1.1.0 takes its place LXer Syndicated Linux News 0 01-11-2008 01:50 AM
LXer: Tux Takes His Place on Chastain Motorsports Indy Car LXer Syndicated Linux News 0 04-20-2007 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration