Fedora :: Getting Console Input During System Startup?

Jan 26, 2010

I am setting up a system for students to use to run lab-based exams. On bootup, the system needs to download an encrypted file containing the exam files, and then ask for a decryption password.

I want to do this during system startup (before anyone logs in). But I am having trouble getting keyboard input at this point.

I've put a script in /etc/rc.d/rc5.d/S99examsetup along the following lines:

Code:
#!/bin/bash
echo -n "Enter password:"
read EXAMPW
echo "You gave me: $EXAMPW"

but it doesn't respond to keyboard input. I have tried appending "< /dev/console" but this also doesn't work; in fact if I insert 'tty' before the first 'echo', it tells me that /dev/console is the tty being used for input anyway.

Is there a way round this? I can use plymouth ask-for-password, but that doesn't seem very portable, and it interacts badly with the graphics driver on one of my machines.

View 4 Replies


ADVERTISEMENT

Fedora :: Get A "grub>" Console At Startup And System Doesn't Boot

Dec 11, 2010

I'm having a strange behaviour with GRUB, and I don't know much about it. The problem is that GRUB is looking at the wrong place when it starts. I have a /boot partition (/dev/sda1) with everything for booting and grub. This gets updated when I update, say, the kernel, grub, etc. But I also have a /backups partition (/dev/sda4) with a directory /backups/boot/grub that is a copy of /boot/grub. The /backups/boot directory only has the /backups/boot/grub directory, not the kernels, etc.

If I delete the /backups/boot/grub directory, I get a "grub>" console at startup, and system doesn't boot. SO: Why is grub looking at /backups/boot/grub instead of /boot/grub and how can I fix this? This is my grub.conf, identical in both directories, and both pointing to /boot=/dev/sda1=(hd0,0):

[Code]...

View 3 Replies View Related

Server :: No Input On Serial Console?

Oct 7, 2010

I've got a home server running ubuntu 10.0.4. It have no monitor or keyboard. So I want to access it from a serial console. (I use SSH currently but if something goes wrong, I need to be able to do something... so serial console seems a fine thing). OK, so on the server, I tell grub to output everything on ttyS0 and opened a getty on ttyS0. On the client side (Laptop running Ubuntu 10.0.4 with pl2303 USB to Serial adapter) I use Minicom.

Home server restart:I see grub menu, linux kernel messages, login prompt. But, I can't do anything:In grub or at the login prompt, no key press is recognized by the server.I've got write permission to /dev/ttyUSB0. I tried a different getty (mgetty)with no success.I stopped the getty on ttyS0 on the server. And run minicom.

From the server's minicom, if I type something, it appear on the client screen. From the client's minicom, if I type something, some garbage appear on the server screen :(One of this things for each char typed). If I short-circuit pin 2 and 3 of the client serial port, it echoed what I type. The two serial ports are connected with a nullmodem cable. (seems to be a full handshaking cable). Of course, same serial port config for both minicom, grub and getty. Hope I'm understandable enough. (English not my primary language). Can somebody help me make this *$*#! serial console working right ? I'm on it for 10 hours now with no success...

Edit : I nearly forgot to tell you I had to update the standard ubuntu kernel to 2.6.34-020634rc1-generic because there was a bug in the pl2303 driver in the stock kernel (2.6.32-25-generic) which prevented me from doing anything (even receiving).

View 8 Replies View Related

General :: Input Any UTF-8 String As If Typed On Keyboard From Console In Xorg?

Oct 6, 2010

Like in xte "str ў", but with support of all characters.

View 1 Replies View Related

Ubuntu :: Startup Tty1 Instead Of X Console?

Mar 4, 2011

I want to use Ubuntu to build an information terminal. This will basically be an X application that displays interesting information. I has to be lightweight seeing that it is installed on compact flash memory.I started with a 10.04 command line install and added xserver-xorg. Please note I am not using a window manager or desktop environment; bare bones X only. I have created a /etc/init.d/myapp file which can start my application by calling "/usr/bin/xinit ${MYAPP}". I used update-rc.d to create a symlink in rc2.d that points to /etc/init.d/myapp. Here is my problem:

On startup the application runs but the system sometimes switches to tty1 (virtual console 1) instead of displaying the X console. I then have to manually switch to it by pressing Ctrl-Alt-F7. How can I make it *always* display the X console with my application? Another thing I noticed is sometimes the X server runs on virtual console 7 and other times on 8. I though that X starts on the first available console and Ubuntu has 6 ttys configured by default. So I would expect it to always run on 7, like and ordinary Ubuntu desktop.

View 1 Replies View Related

Ubuntu :: Run Program In Console At Startup?

Mar 28, 2011

I would like to know whether there is a way of running a console program at startup. That means even before user login. My guess was that it would have to be run like a service but this idea comes from my ... windows" experience.

View 6 Replies View Related

Fedora :: Sphinx Audio - System Does Not Respond As It Is Waiting For Microphone Voice Input

Oct 13, 2010

I have installed Fedora 11 recently on a new system. Sphinx speech recognition was working fine on my old system. When i run the same project on my new system, the system does not respond as it is waiting for microphone voice input.

Then I checked the microphone and have set it properly and its working now. The details how i made my microphone working is at the following link: [url]

Though, I can record and play any sound, but it is not working with sphinx project.

View 1 Replies View Related

Fedora Installation :: System Gets Loaded With A Bunch Of Fonts And Input Methods For Various Eastern Languages?

Nov 18, 2009

When I install I never select language support other than English, yet the system gets loaded with a bunch of fonts and input methods for various Eastern languages and I spend time taking them out.Why are they getting installed at all?

View 7 Replies View Related

Fedora :: System Hangs At Startup

Dec 23, 2009

I booted up the computer (Fedora 11) and it hung at the blue screen with the F bubble in the middle. I waited for quite sometime without any change to the system I held down the power button to power off and tried starting the computer again with the same result.

When the sytem reboots and I press alt+ctrl+2 i see messages like below on the black screen:Unknown username "root" in message bus configuration file.Could not get password database....Failed to start message bus: Could not get UID and GID for username "dbus"..Please help me get the system up. I saved some data and did not take a backup. Is there's a way I can restore my system to a previous date? Or backup my data somehow?

View 2 Replies View Related

Fedora :: Create A Startup Disk Of System?

Jul 9, 2011

I am currently in place where I get high speed internet connection. I am using F15 64 bit version. I've installed a lot of softwares and updated theOS completely. My question is is there any way that I can create a startup disk of my system so that I can install it in other system of same configuration.

View 1 Replies View Related

Fedora :: Removed Tomboy Notes From System Startup?

Oct 20, 2009

I've removed Tomboy notes from the startup applications by accident :-( I've tried to re add it again by typing in tomboy in the command area, but when the system starts up, the main window for tomboy notes opens up & when i close the main window tomboy shuts down.How can I get it the way it was before, just a icon in the notification area on system start up?take a look at the system start up command for Tomboy Notes and post it I know the command tomboy notes use in the applications menu * it's Tomboy* but I can't remember the code in the start up applications or system start up command to get it just a icon in the notification area without the main window opening up every time I start gnome,

View 3 Replies View Related

Fedora :: Where To Load Module Snd-mixer-oss At System Startup?

May 18, 2011

Where I can load the module snd-mixer-oss at system startup?

View 2 Replies View Related

Red Hat / Fedora :: Running A Script As Root On System Startup?

Apr 29, 2009

There is a script that I want to run as root when the machine boots up(which starts the Redhat Certificate System services). The problem I have is if I put this on rc.local it wont run because I havent logged in as root. Is there a way that I can run this without logging in as root at the machine startup?

View 5 Replies View Related

Fedora Networking :: Nmbd Doesn't Want To Start At System Startup

Jan 25, 2010

I It does not start when the system boots. The smbd daemon is present and there are no suspicious messages in the system log, dmesg or the samba logs. The nmb service *is* enabled at all of the relevant run levels and does start if I issue the command "service nmb start" as root after I log in. This particular box's networking is 802.11n via a usb port and is under the control of the network manager. I have another fedora 12 box with an internal intel 5100 802.11n card and it does not have this problem.

View 10 Replies View Related

Fedora :: Add Something To Start When Logged In - System - Preferences - Startup Applications ?

Mar 4, 2010

How to add something to start when you are logged in (System -> Preferences -> Startup Applications), but I want to know, where this parameters stored.

View 2 Replies View Related

Fedora :: X Server Freezes On Startup After Yesterday's System Update / Fix It?

May 15, 2010

After yesterday system update the x server won't start up anymore. It locks immediately with blank screen leaving the computer unresponsible until hard reboot. I hat to once again go with the "vesa" driver, as I mentoined earlier in another thread it is a life saver, always works. My video card is integrated Radeon HD3250 - video driver was fglrx from ATI itself. "radeon" driver now reports that modesetting is not supported and will not load with EE-type X server error.

Anyone else experienced this? Are there any changes in the most recent X server that once again break compatibility with the official ATI driver?

View 3 Replies View Related

Fedora :: Updates Borked System - "1272,2981621 Panic Occurred- Switching Back To Text Console"

Jul 29, 2011

After updates installed today, Fedora 15 shut down hangs with the following: 1272,2981621 Panic occurred- switching back to text console. The Caps Lock light flashes and I have to manually shut down the computer. As an aside, I am notified of 65 more updates but, I cannot install them. I'd really like to keep using Fedora.

View 1 Replies View Related

Fedora Hardware :: Software RAID1 /boot Volume Doesn't Mount Automatically At System Startup

Feb 7, 2010

My software RAID setup is as follows.

/dev/md0 (made from sda1 and sdb1) RAID1 /boot partition
/dev/md1 (made from sda2, sdb2, and sdc2) RAID5 / partition

Earlier on I had some trouble with my sda drive, it dropped itself from both arrays, screwing up the mirroring of my two raid partitions participating in the /boot partition. I eventually got everything sorted out and back in sync. (I also have grub installed to MBR on both sda and sdb). Things are working fine regarding that, but since then I've had this issue:

During boot up, I'll get an error message that it could not mount my /boot partition (when fstab is set to either /dev/md0 or the UUID). It claims c9ab814c-47ea-492d-a3be-1eaa88d53477 does not exist!

My fstab:

Code:

[mark@mark-box ~]$ cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Wed Jan 20 16:34:41 2010

[code]....

As far as I know, it isn't neccessary for /boot to be mounted always, correct? Although, as I understand, I need to have it mounted whenever making kernel changes correct?

View 2 Replies View Related

Ubuntu :: Startup Manager "input Not Supported"?

Feb 13, 2010

I downloaded and installed "Startup manager" from the symantic package manager, allowing me to change my boot order in a dual setup. Works great, but I HAD to mess with it, and I changed some settings in the program. Now When I boot, I can't see grub! its says "input not supported!" The settings I changed were, Quote:1) Changed the startup managers rez to 1600x9002) Changed the theme of the startup managerNow I can't get to my Ubuntu desktop.What do I do ?

View 2 Replies View Related

General :: Disconnect Process From System Console?

May 9, 2011

I have a long-running process that was started in bash terminal on Debian. Unfortunately it wasn't started inside screen.
Is there a way to disconnect this process from current console and connect to it from screen?

View 1 Replies View Related

OpenSUSE Install :: Boot 11.4 On Dualboot Nvdia G7600 Based System - Fresh Install "system Console Stolen At Line"

Apr 22, 2011

I tried to update one of my home machines with a fresh install. This is far from new to me so I did not expect any problem. But I was proven wrong. First: did install the system as usual. First anomaly: system blocked during the install process but did restart it flawlessly one I tried to eject the DVD from the player. It needed actually that intervention to retake working. It then went to install and froze during the first system start. I rebooted with failsafe settings, it then correctly configured. I reached a beautiful desktop. I performed the updates from the update repository and I joined the nvidia proprietary driver repository (which updated to the G02 driver).

I then rebooted the machine and now I am in trouble. In normal mode the system (dual boot Opensuse, XP) does not boot at all and freezes immediately after hitting enter as before. In safe mode it goes further but does not reach X anymore. It blocks with the following line statement: "system console stolen at line 266". I then tried "startx". But the system goes into a scrolling loop that does not allow me to read the output. how to get at least the error message of the loop? I read some line passing by that the system might have an X11 authorization problem.

Athlon Phenom X4 905e
Nividea G7600 graphic card
Former system installed and running flawlessly: 11.1

View 9 Replies View Related

Ubuntu :: Set System Default Input Method?

Apr 15, 2011

I am wondering how i could set the system default Input Method of my choice. I have install extra language support (Chinese) and SCIM package (Chinese packages included)

All went well when i test it in Leafpad. The only thing I found it troublesome is that I need choose the input method manually every time. SCIM is already running at start up.

I have tried to set it via Language support without joy.... the System IME still showing X input method..

View 2 Replies View Related

Software :: System Utility To Dump HDD Sectors To Console?

Dec 11, 2010

Can someone point out such a program?

View 5 Replies View Related

Slackware :: Console App Causing System To Hang On Shutdown?

Jul 14, 2011

I have been looking for a lightweight bandwidth monitoring app and came across bmon. It does what I need. However it has an interesting way of exiting.

when it is running and you close it down it ask you 'Really quit (y/n)' and does not shut down. I am used to just right clicking on my desktop and selecting 'leave' when it comes to shutdown time.

A few times now the laptop hangs on shutdown if bmon is open. I guess it is due to the app asking if it should shutdown. Is there a way to disable the app asking or alternatively nuke it for sure with some script on shutdown.

I could search the relevant konsole running the app and go thru the steps to shut it down but sometimes I am in a hurry and it doesn't feel like the way to go anyhow?

View 3 Replies View Related

General :: Change System Console Screen Blanking Behavior?

Jun 14, 2010

How do I change the screen blanking behavior on Linux virtual terminals?

For example, if I switch to a VT from X, login, and leave the system alone for 5 minutes or so, the screen will blank like a screensaver. It comes back with any keypress, like a screensaver.

Mostly I just want to change the timeout, but I'm also interested in other settings.

If it helps, one of my systems is running Ubuntu 10.04 with the stock graphics drivers. fbset shows the console using the radeondrmfb framebuffer device.

View 2 Replies View Related

OpenSUSE Install :: System Crippled (no Input) Totally Dead

Mar 20, 2010

OpenSUSE 11.2 x86_64
Kernel 2.6.33-34.1(from Kernel:HEAD repo)
KDE 4.4.1

Did the daily set of updates today, which included the kernel, but that update only had to do with enabling IPV6 on all flavors of the kernel. The update also included updates to the xorg packages from the X11:XOrg repo. However I was prompted that a requirement couldn't be met and one of the options was to downgrade xorg-x11-driver-input to the previous revision (not previous version). I thought that wouldn't matter so I did it.

I reboot and I am able to choose the kernel I want in the grub boot screen, get to the KDM login screen, however, after that the input is totally dead! Mouse and keyboard don't work whatsoever. I have a Logitech Cordless Desktop Wave mouse (LX8) & keyboard so I tried it with a standard PS/2 wired mouse & keyboard but it produced the same exact problem.

View 9 Replies View Related

Debian Configuration :: Can't See System Start And Stop Message From Console After Install

Sep 26, 2015

After install debian 8, I can't see system start and stop message from console ... How can I enable system message from console in debain 8?

debian 7 output
----------------------------------------------
root@demo:~# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@demo:~#

debian 8 output
-----------------------------------------------
root@demo:~# service apache2 restart
root@demo:~# <=============================== No message (start or stop)

View 0 Replies View Related

Hardware :: Formatting USB Drive To NTFS System - Input / Output Error

Feb 12, 2011

I have new external usb drive which I'm trying to format to NTFS so I can also use in in windows. I've set it up using fdisk

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x604a2a7d

Device Boot Start End Blocks Id System
/dev/sdd1 1 60801 488384001 7 HPFS/NTFS

And tried formatting using
mkfs -t ntfs /dev/sdd1

However I get the following error
Cluster size has been automatically set to 4096 bytes.
Initializing device with zeroes: 100% - Done.
Creating NTFS volume structures.
Error writing to /dev/sdd1: Input/output error.
Error writing non-resident attribute value.
add_attr_sd failed: Input/output error
Couldn't create root directory: Input/output error

View 5 Replies View Related

Ubuntu Servers :: Blinking Cursor On Console Can't Login But Ssh Works And System Is Running?

May 23, 2011

I built a 11.04 server system in vmware workstation a few days ago, set it up for something and now I have a strange problem. It boots without problem. I can login via ssh, the services run and everything is OK from the outside. But on the console there's just a fast blinking cursor on the screen, no login or anything to that affect. Just blank and a blinking cursor.

View 7 Replies View Related

OpenSUSE Install :: Use Windows System Recovery Console And Committing Fixmbr And Fixboot Commands?

Jan 21, 2010

I've been using opensuse 11.2 and windows xp at parallel. After I decide to reinstall windows, I got the error saying "invalid partition table" after the first restart of windows xp installation.

I tried to use windows system recovery console and committing fixmbr and fixboot commands, but didn't work.

After all, i boot with opensuse livecd to run the grub and got my opensuse back.

How can I installed windows on a opensuse installed system? My plan was first to install windows xp, then opensuse again.

View 1 Replies View Related







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