General :: Multiple Consoles - Used VFB As Temp?

Jan 11, 2011

I am attempting to setup linux in my embedded environment. I wanted to output the console display though the tty serial port and the vt. Since I don't have a frambuffer hw driver yet, I just wanted to use the vfb as a temp.

So, this is what I did in my configuration file:
CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty0 mem=126M video=vfb:"
CONFIG_VT=y
CONFIG_FB=y
CONFIG_FB_VIRTUAL=y
CONFIG_DUMMY_CONSOLE=n
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_VGA_CONSOLE=n

I would expect the tty output to go to the uart as well as the virtual-console; this does not seem to be the case, as no vt functions are called when I execute prompt commads - I can see the console in my serial terminal, and this all works fine.

Here are extracts from my boot:
Kernel command line: console=ttyS0,115200n8 console=tty0 mem=126M video=vfb:
...
Console: colour dummy device 80x30
console [tty0] enabled
...
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x3e000000 (irq = 99) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x3e001000 (irq = 9 is a 16550A
serial8250.0: ttyS2 at MMIO 0x3e002000 (irq = 97) is a 16550A
...

Here are my console binding results:
/ #
cat /sys/class/vtconsole/vtcon0/bind
0
/ # cat /sys/class/vtconsole/vtcon0/name
(S) dummy device
/ # cat /sys/class/vtconsole/vtcon1/bind
1
/ # cat /sys/class/vtconsole/vtcon1/name
(M) frame buffer device
/ #

View 3 Replies


ADVERTISEMENT

General :: Ubuntu - Using Multiple Consoles + Vim

Jul 12, 2010

I am gradually getting used to the CLI for Ubuntu. I am used to switching between windows when editing a file, going to the command line to run a cmd, and then back again etc.

I feel severly restricted by the CLI, as it seems I can only do one thing at a time. Surely, there must be a way where I can 'switch between' several command line consoles?

Also, I am using vim, and I sometimes need access the command line. At the moment, I have to quit vim to get to the CLI, and then start vim again. This is not very productive.

How to switch between CLI screens/consoles and also how to switch to the CLI from withinin vim and then back to vim again without having to close vim?

My distro is Ubuntu Lucid Lynx (10.04 LTS)

View 4 Replies View Related

CentOS 5 :: Run Multiple Sub Server Consoles?

Apr 30, 2011

I am tring to run a few game servers on CentOS 5.5, this is a headless server I am renting and I do have root level access and am able to install or run anything.
For me to run a game server I need issue the following command: ./r1q2ded-x86_64 +set dedicated 1 +set ip 69.172.231.46 +set port 27911 +set game lithium +exec server.cfg &

View 2 Replies View Related

Ubuntu :: Possible? /temp/www/fake/ Contents (directory) Avaliable Through /temp/www/?

Dec 20, 2010

I have a web server whos DocumentRoot is:/tmp/wwwNow, /temp/www/fake/ is a directory that contains a series of other files/folders.What I want to do is access the files in /temp/www/fake as if they were in the root directory (/temp/www/)For example:

could either be located in "/temp/www/test.php"
-or-
located in "/temp/www/fake/test.php"

so "http://127.0.0.1/test.php" would essentially call both directories. Is this possible? Whould I do this through apache or through the actual file system somehow? (Like some sort of symbolic link?) I would love to hear your input.

View 8 Replies View Related

General :: Virtual Consoles Are Not Coming Up?

Apr 26, 2010

I recently installed RHEL 5.2 on my system. I found that I was not able to show up virtual consoles that we generally do by hitting Ctrl + Alt + F1 through F6.

I installed Red Hat again but the same problem is there. However, I can go into Run Level 3 by

Code:
init 3

but it takes too long to display the prompt. Besides, hitting Ctrl key generates error "unrecognized key" something like that.

Today I installed Virutal Box on Windows XP Host. Then I installed RHEL 5.2. There also I faced the same problem.

However, Virtual Box works fine and I am glad that I can now have only one Host OS on my system and then install as many Guest OSes as I want. Dual Boot System was giving me a heacdache.

View 1 Replies View Related

General :: Virtual Consoles In Vmware Player?

Aug 10, 2010

I had installed vmware player in my windows 7 OS. How to work on virtual consoles in vmware player were I had installed linux.

View 11 Replies View Related

General :: Show Names Of Created Virtual Consoles In Screen

Nov 25, 2010

How can I tell screen to always show created virtual console names in the bottom. I am using Ubuntu.

View 1 Replies View Related

General :: Debian - Use High Resolution (same As Desktop) In Virtual Consoles

Dec 6, 2010

I want to use 1920x1080 in the virtual consoles, with:

Debian Squeeze; proprierary ATI drivers.

Switching back to the open source drivers, it works automatically, but I got no clue with these ones. Someone say I should use uvesafb by modifing initramfs accordingly.

View 2 Replies View Related

General :: Ubuntu - Command-line Program That Switches Consoles?

Jun 18, 2011

For whatever reason, the "Ctrl-Alt-Fn" sequence has no effect on one of my Ubuntu machines; the sequence is interpreted as ordinary input. I need to get the system to a console because I'm trying to do a dist-upgrade and that's going to bounce gdm etc.

Is there some command-line tool that can be used to switch consoles? I have some vague distant memory of that being possible.

(I'm running Ubunty Jaunty at the moment. Yes I know it's old; I'm trying to march forward.)

View 2 Replies View Related

General :: Mounting An Iso In Mnt/temp

Jul 12, 2011

So I mounted an ISO of MEPIS 11 in /mnt/temp, having understood that I can access the files. Well, no, I can't--not really. Almost all the files in the distro are part of the 1.2 GB "mepis" file that comprises the bulk of what's in the iso. I thought I would be able to look inside the distro's guts if I mounted the iso, which would probably have been helpful in explaining why my remastered copies of the ISO weren't any smaller even after I removed a large amount of the applications. (I wanted to modify MEPIS 11 to make it fit onto a CD.) If I can't do this, what is the practical use of mounting the iso and looking at the files?

View 2 Replies View Related

General :: Delete Temp Files Using Rm -rf?

Apr 14, 2010

i am trying to delete temp files using rm -rf but i am getting this error "bash: /usr/bin/rm: Arg list too long"

View 11 Replies View Related

General :: Remove Noexec From Temp Directory?

Nov 17, 2009

How do I remove the noexec from the tmp directory, temporarily?

View 3 Replies View Related

General :: Script To Delete Temp Files?

Jul 30, 2009

we have 2 linux desktop m/c as server and we use amc n windows as clients....we get more temp files like .AppleDoueble, ":2edstore".i need to remove these temp files periodically with the script. how to write a script to remove these temp files.....

View 8 Replies View Related

General :: Temp Script To Minus Value To Display In Conky?

Jan 18, 2011

I have an K10 AMD CPU and unfortunately it has a borked temp sensor. I have figured out that if I subtract 8 from value stored in /proc/acpi/thermal_zone/temperature that the result is very close to being spot on. The problem is I have no idea to do this and conky has no built in way to do this.

The data stored in /proc/acpi/thermal_zone/temperature looks like this:

Code:
temperature: 52 C

Is there some sort of script that can do this?

View 14 Replies View Related

General :: How To Find Size Of Flash File Not Stored In Temp

Apr 8, 2011

How to find the filesize of a flash which is not exactly stored in the temp but redirected by a fd.
flash31 -> /tmp/FlashXXvsg1uY (deleted) directory is /proc/processid
Chrome is downloading a flash and I can see in the proc directory the flash file, How can I see the current file size of such a file ?

View 1 Replies View Related

General :: Change /temp Directory From Its Original /dev/hda8 To Destination /dev/hdd5?

Dec 7, 2009

On Debian Standard System I would like to is change /tmp directory from it's original /dev/hda8 to destination /dev/hdd5

Code:

Disk /dev/hda: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]...

If I change /dev/hda8 to /dev/hdd5 and reboot the startx command fails to run.

View 7 Replies View Related

Fedora :: How Do I Disable Virtual Consoles

Sep 21, 2010

I'm building a web kiosk and I'm trying to figure out how to disable the ability to switch to tty2-6. All the references I've found refer to a process on older versions of Fedora.

View 11 Replies View Related

Ubuntu :: Tty Consoles Don't Show Up (notebook)

Aug 4, 2010

The problem is: CTRL-ALT-F1 etc does not give me the login consoles and i strongly suspect it has something to do with the notebook display adapter (a problem on its own, but in this case it seems to be the INTEL GMA).After pressing the key combo, the HD is working on something, but all I get is a frozen picture of my current (tty7) Desktop. After hitting CTRL+ALT-F7 it blacks out for a moment, comes back to normal gnome Desktop as if nothing happened.I tried setting different vga modes in grub (according to my research, this also sets tty consoles modes ?) with no luck.The output of 'hwinfo --framebuffer' is as follows (if it's of any help):

Code:

02: None 00.0: 11001 VESA Framebuffer
[Created at bios.464]
Unique ID: rdCR.7IS+B23HFDE
Hardware Class: framebuffer

[code]....

View 3 Replies View Related

Ubuntu :: Set Grub2 And Consoles To Use 1920x1024?

Apr 12, 2011

I've just upgraded to a new monitor, that has a default resolution of 1920x1024. How do I set Grub2 and consoles to use 1920x1024? Right now I can't use any console (Ctrl-Alt-F2). I'm using Ubuntu 10:04 x86_64.

View 5 Replies View Related

Software :: Out Of Frequency During Boot And On Consoles?

Aug 3, 2011

On the weekend I installed and played Crayon Physics Deluxe, and when I closed it it caused some graphics problems. I thought nothing of it and shut down the system. When I next booted the computer it gave a warning about hard disk erros at first, then rebooted, and then just gave me an out of frequency error right after the BIOS splash screen.

As I did not know what to do and where to look for the root of the problem I eventually set up the system (Ubuntu 11.04) anew, and even completely formatted the partitions for / and /home, so that absolutely everything should have been as it was on day one. But since then, even though the partition for / had actually been deleted and then created anew, instead of the Ubuntu splash screen I continue to get this out of frequency error until the login manager appears. And what's much worse, I get it immediately as soon as I switch to any console with Ctrl + Alt + F2 or any other, so I cannot use any console.

Then yesterday Skype had a crash, and again the whole thing started, after rebooting I only got the out of frequency error, nothing else. So I set the system up again, but the situation is still the same, the out of frequency error up to the login screen remains, and it also remains on the consoles.

There is no problem whatsoever with any system booted from CD. As all actual data had been wiped during the reinstall, I suppose that the problem must be connected with grub 2, some misconfiguration in the boot loader - but I have no idea how to check or change what's there.

The graphics adapter is a GeForce 7025 with nvidia driver 270.41.06. The Ubuntu setup offers two drivers, this is the older one apparently, but it's the same thing with the newer one. The monitor is a PKB Viseo 230Ws at 1920x1080 pixels, H 67 kHz and V 60 Hz.

View 1 Replies View Related

Programming :: Two Text Consoles On The Same Physical One?

Jun 27, 2011

How large would a program have to be to open two text consoles on the same physycal console? And what would the general outline be?

View 9 Replies View Related

Slackware :: Consoles Don't Display Any Output

Feb 6, 2011

I am using a 64-bit Slackware 13.1 distro (I chose 64 by mistake, to be honest, as I know there's less trouble with a 32-bit distro) and I have some problems with my consoles (in text mode). After changing the runlevel in ininittab to graphic mode (4), I can't enter any of my consoles. Actually, only ctrl+alt F1 shows some output, regarding the graphic mode (I'm currently using KDE4, the default for slackware 13.1) and F6 is the only normal consoles I have access to. However, if I log out and log in (with another user, maybe) there's no output anywhere (not on F1, neither on F6).

View 1 Replies View Related

General :: Use 'iw' To Create Multiple Virtual Interfaces To Connect To Multiple Networks?

Oct 26, 2010

I'm trying to connect one computer to two others in an ad-hoc infrastructure.

[computer 1] ---- [computer 2] ---- [computer 3]

computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.

[Code]...

View 1 Replies View Related

General :: Rename Multiple Files In Multiple Directories/subdirectories Recursively?

Aug 23, 2010

I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.

I tried the coding posted above.

find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....

but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"

View 9 Replies View Related

General :: Good Support To Multiple Desktops AND Multiple Monitors

Jun 4, 2010

I'm starting to have A LOT of opened windows in my machine. Sometimes within a project, I have e-mail/task management/personal e-mail/twitter, and a lot of different opened applications/terminals in my Linux workstation.Sometimes it would be interesting to have different workspaces to projects instead of this configuration I have nowadays that are classes of work (bad name, I know, but I think you got the idea).I'm starting to think about using two monitors: one with Corporate Management, Work and Personal. The second monitor is only the development state: each workspace here is about a project being worked on instead of groups of works like before. A workspace may be implementing different classes for example.

My question is: I just want to change to a second monitor using the mouse. I want to still be able to change workspaces in the same monitor using keyboard shortcuts. The keyboard shortcuts wouldn't change monitors, just worskpaces on the same monitor. All the tutorials I read (like this one) only tells how to use multiple monitors but doesn't answer my question about keyboard shortcuts.Does Linux (Ubuntu 10.04 Lucid Lynx or Debian 5.0.5 Lenny) support this envisioned setup (Different workspaces in a way that keyboard workspace switching only works in the current monitor) ? If so, how?I haven't tested this setup, that's why I'm asking. In this question the user says it works exactly how I want it to behave, can someone else confirm it?

View 3 Replies View Related

Fedora :: Disable The Extra Virtual Consoles?

Apr 4, 2010

I googled on how to disable the extra virtual consoles... I don't need 6 of them and decide to cut it down to 3 There was no luck with Google so I did this my own and seemed to have done the job...

Code:
rm /etc/event.d/tty4 tty5 tty6
This worked fine, but is there anything else I need to do with

[code]....

View 2 Replies View Related

OpenSUSE :: Keep Contents Of The Virtual Consoles After Logout?

Apr 3, 2011

I just upgraded to openSuSE 11.4 from 11.1. In 11.1 the contents of the virtual consoles are kept after a logout, so if I login again, I get the same environment as before. In 11.4 the contents are lost. How can I switch on this feature again?

View 9 Replies View Related

OpenSUSE Install :: The Alternate Consoles Not Working?

Dec 11, 2009

I am neither sure what these are called not if this is the proper place to report the problem, please let me know if there is a better place.The consoles that should ne invoked using CTRL-ATL-F1...Fx are simply not there or cause my OpenSUSE 11.2 64-bit to crash. If I hit a combination like CTRL-ALT-F3 (say), my screen goes completely black (there is absolutely nothing on screen), not only that I cannot return to X (using Gnome, if that makes a difference), none of the CTRL-ALT-Fx work after that and I must do a hardware reset.

View 2 Replies View Related

Ubuntu :: Way To Force Consoles To Be In Lower Resolution

Oct 1, 2010

I upgraded from 9.04 to 10.04.1 so I am still using legacy grub.Anyway, I noticed with the update that the console is using the framebuffer and using VESA for high resolutions.I really don't like or want this feature. So I added vga=0 to get 80x25 and it works initially but just when the X server is running (Xubuntu in my case) I can see how the console switches to a high resolution again. After this, if I go to a console, lets say tty1, it is using again a high resolution instead of 80x25 (VGA). Is there a way to force the consoles to be in a lower resolution and keep it that way? It used to work fine in ubuntu 8.xx and 9.xx

View 2 Replies View Related

General :: Multiple Servers Or One Server With Multiple VMWare?

Feb 7, 2011

I'm looking at setting up a couple automated systems: Here are a few examples:

* Internal accounting system to download and process emails
* Public web server to visit

I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?

To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved