Ubuntu :: Unresponsive Keyboard At Root Shell Prompt?
Jan 28, 2011
I have no user name or password and cannot log in. In recovery mode, I after I enter "drop to root shell prompt" my keyboard does not respond when I try to "give root password for maintenance" or try to enter "Control-D" at the blinking cursor.
Problem: When my screen saver kicks in after idle timeout and I get back to my desktop the keyboard is unresponsive in already opened applications with text fields. This happens with and without the password required after screen saver is engaged. This doesn't happen all the time and seems to be transient. It happens at least once a day, but not often.
Workaround: The mouse is still usable, so I open a terminal and hit a few keystrokes. The keyboard is now responsive and I can go back to typing in the open applications that I previously had open prior to the screen saver being engaged.
This just started happening recently on an older install of Linux Mint 9, 32 bit, Gnome with Compiz using a Logitech wireless keyboard and mouse.
I noticed another problem about the same time and I don't know if it is related but now when I restart I get the "default keyring login" pop up message. The keyboard and mouse are unresponsive for at least 60-90 seconds after everything has opened. It only recently started to do this and is not a result of old/slower hardware.
I don't know where to start looking for a cause or what section to post this in.
* When connecting to a host using NX (nomachine), the keyboard layout is wrong, Down arrow is enter, delete is print screen making it difficult to work.
* Gnome keyboard interface appears to do nothing when options are changed, works in fc10.
* Trying to changed the keyboard options originally crashed the nx connection, untill I murdered bug buddy who was the culprit in that issue.
In fc10 you could change options and see a result, not so in fc11, why ?
My keyboard has stopped responding till automatically landed at Ubuntu's login screen. I cannot access BIOS with F2 key. I cannot choose Win 7 from first boot menu (EasyBCD.) I cannot, again choose, Win 7 from secondary boot menu (GRUB.) I am left wondering if this is due to recent Ubuntu software updates?I am running Ubuntu 10.10 & my keyboard is a PS/2 Unicomp Customizer 105.
After I succesfully instaled ubuntu 10.04 server, I applied
export PC1="[e[36;1m]u@[e[31;1m]h:w$ [e[32m"
and my prompt was nice and colorfull. But, when I make logout and login, my prompt appears all green ([e[32m.) After restart, nevertheless, it looses color settings (of course) and appears plain white.
What should I do in order to keep my prompt color settings permanently?
I'm using XFCE and it doesn't by default lock the screen before hibernating. I see this as a bit of a security risk, and as I can't hibernate while the screen is locked, I'm a bit lost as to how to achieve this.
I've begun editing /etc/acpi/hibernate.sh, here's what I have so far code...
If I run with sudo, the system hibernates, but gnome-screensaver will not fire. I can verify this by trying "sudo gnome-screensaver-command --lock". The screen goes black, but is not locked. The screen locks properly without sudo.
So the only solution I can see is to edit /etc/acpi/hibernate.sh in such a way that gnome-screensaver-command runs under the current user, and pm-hibernate is called as root.
Also, when I click the HIBERNATE button in XFCE, how does it call pm-hibernate under root without prompting me for a password? I normally wouldn't be interested in such things, but as it seems relevant to my problem I'm a little more eager to learn
i have a brand new CentOS 5.2 installation and cannot login because it does not react to any keyboard inputs.By the way ... the cursor is still blinking - so the machine is running.
I changed the default SUSE prompt setting by modifying the shell variable PS1 to display the following information:
u : the username of the current user h : the hostname up to the first '.' w : the current working directory, with $HOME abbreviated with a tilde
I used export command to setup a new shell prompt:
export PS1="[u@h: w]$ " To add colors to the shell prompt and make a regular user prompt blue I used the following command syntax:export PS1="e[0;34m[u@h: w]$ e[m "
Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt.
Currently the terminal prompt looks like this:[karlis@karlis-desktop current_folder]$How can I minimize the prompt, so that it only shows $ or # without extra info in square brackets?I checked the preferences for the default Gnome-Terminal and Terminator - there are no settings for this. It is pretty hard to use terminal when working in directories with long names.
I have looked almost everywhere for how to change my default shell prompt. When I open my bash shell, the prompt is [fedora-dev@Fedora-Dev Documents]$. I would like it to open at fedora-dev@Fedora-Dev]$.
Can someone tell me where to change this at. I have looked in .bashrc, etc/profile, and environmental variables.
I need to create a shell script called 'custinfo' to prompt a customer to enter and display back the following: name, age, address, phone number, and product.
I would like to run some existing scripts and send it to a text file:
Note: 'script' is an exist shell script Note: '/opt/2011jun15/my.db' auto generates everyday with only changes to the directory 2011jun15 base on the current date
currently i will need to run the script manually and make changes to the path below, change directory name 2011jun15 daily and text file new2011jun15.txt ./script -f /opt/2011jun15/my.db > new2011jun15.txt
Am i able to write a shell script to prompt me for a change of path for only '2011jun15' and 'new2011jun15.txt'?
It will be great if i can automate the whole process?
Status: openSUSE 11.3; Fujitsu Tablet ST4110.I've managed to install successfully openSUSE 11.3 on my old Fujitsu Tablet 11.3. nomodeset needs to be used at GRUB boot. Now, at the login, when I click Others, and prompted to type a username, when I clicked on the virtual keyboard at the bottom right corner of my screen, the I-beam icon looses focus from the entry box, and each character pressed on the virtual keyboard does not appear on the entry box. When I try to click on the entry box, focus cannot be returned to the entry (ie. the I-beam icon does not flash at the entry box).
I have a problem when tried to upgrade my fedora 12 to fedora 13...
I run this command : su - yum update rpm ---- running success yum -y update --- running success
After this, my laptop hang so i force to shutdown by pressed power button ! Next problem which is after i boot my laptop, it always shows me, GRUB prompt shell, GRUB > (commands GRUB) !
Code: GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub>
I already run this command : Code: grub> find /grub/grub.conf (hd0,5)
grub> root (hd0,5) Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... yes Checking if "/grub/stage2" exists... yes Checking if "/grub/e2fs_stage1_5" exists... yes Running "embed /grub/e2fs_stage1_5 (hd0)"... 30 sectors are embedded. succeeded Running "install /grub/stage1 (hd0) (hd0)1+30 p (hd0,5)/grub/stage2 /grub/menu .lst"... succeeded Done. But when I reboot, it always shown me GRUB prompt shell.
I am getting more and more comfortable working with the shell, thus I would like to change its prompt color to my liking, as it will be easier for me to distinguish commands vs. outputs.
I've read a couple of instructions of how to change the .bashrc file and am familiar with what the codes in PS1 mean. Except, this file can be intimidating to newbie eyes.
Where exactly on the file is it that I need to make the change?
Here is what I am trying to do. I would like my prompt to like exactly like the prompt I use in Backtrack - which consist in two different colors, one for the host and another for the pwd. Here is what the Backtrack .bashrc file looks like:
# /etc/profile: This file contains system-wide defaults used by # all Bourne (and related) shells. # Set the values for some environment variables: export MINICOM="-c on" export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/local/share/man:/usr/bin/man:/usr/share/man export HOSTNAME="`cat /etc/HOSTNAME`"
[Code]....
I also read that in order to have the same results when I log in as root, I will have to copy the modified .bashrc file into /root
I'm currently on a Linux machine and the shell prompt is showing me the last return value and number of executed commands (picture included, with these numbers shown in purple).
My own computer doesn't have this, how can I configure it? I'm using Xubunto, if more details are needed let me know -- I'm not much of a Linux user (I don't know what's relevant here).
I've created a brand new CentOS 5.4 (Final) 64bit machine AMI on Amazon EC2. This was based off an existing image. I was able to follow the wiki to add NX server. I am using WIN XP desktop for NX client.
I can connect to the EC2 machine and get the GNOME desktop fine. I see the usual CentOS desktop and poke around.
Q/Problem:
I expected to open the Terminal window and get a shell prompt to su into root user (I need to be root to install some software that needs GUI). I do not want to install this from my plain SSH connection to EC2 (hence the NX server etc.).
When I open the Terminal window, all I get is the NX>105 prompt. I need to get to a shell prompt so I can su into root. For life of me, I cannot get around this prompt (I looked at NX documentation too). Note that this is a prompt NOT on client but on the remote machine. I do not need this as I'm already authenticated and logged in to remote GNOME desktop.
Obviously the TERMINAL is running some NX start up script (I've no idea which one). If there is some other way to sudo into root?
So i have a fresh install of the server edition of Karmic, i'm running the Xfce desktop. When I attempt to manage users and groups through the GUI, I am prompted for what I think is the root password, the reason I say this is because the account I am currently logged in has sudo privileges and it does not accept that password at all, but I read that by default the root account is 'locked,' (to be honest it was so long ago since I last installed Ubuntu I completely forgot if it is or isn't, my current desktop installation has su access) is it asking for the root password? why doesn't my current user account password work if the root account is 'locked'? I can perform all other administrative tasks with sudo no problem.
the funny thing is, I have the exact same setup in a virtual machine, the same problem happens, except for some strange reason after changing the password on the only account (besides root), the password required to administer users and groups stayed the same after the change. (at the time of installation I just put both the user and root password the same and now that it is setup), i'm now ready to change the passwords. except now I read that the root account is locked by default, but this strange problem occurs.
I have a bash shell script located at "/home/devin/.Scripts/script"
I want to attach it to a hot key, I go to "System > Preferences > Keyboard Shortcuts", click "Add", Type in a name, and under "Command" I put in "/home/devin/.Scripts/script", and then assign a key to it.
i using policy kit to restrict removable mounting to prompt for root password, but on 11.2, I am unable to do so.i read out, ver 11.2 not longer using hal and policykit, rather sth like freedesktop.org policy.
I followed instructions to enter single user mode by adding single at the end of kernel line but after that it doesn't ask for root password but brings up the sh# prompt. Isn't that supposed to be insecure? I understand for this the grub password can be applied but even after adding "single" it should ask for root password..or it should not..??
I've installed fedora10 on my virtual machine under a OpenSuse10.3. When installing i ve chosen English language and French layout for keyboard. But any time i run fedora my kb is English and i cannot find how to change it How can i do it using shell?
I've recently upgraded my squeeze to sid, then installed gnome shell as default window manager.
1. Gnome shell was normal until yesterday, I upgraded new packages up to date, then I cannot log into gnome shell any more (however, fallback mode is normal). It shows a sad computer screen with message "Oh no, something has gone wrong". The only thing I can do is pressing the logout button to log out.
2. Debian is running on my thinkpad T60p, and I can choose keyboard model in Gnome2, but I can't find any options in the system setting in Gnome shell to change keyboard layout for model IBM T60/R60.