Debian :: Console Keyboard Is Us And Can't Be Changed?
Feb 4, 2010
after an upgrade i got an american keyboard-layout in the login-terminal. i ran dpkg-reconfigure console-data: its said keyboard layout would be german. i ran dpkg-reconfigure keyboard-layout: same thing. i checked the bugs for console-data and keyboard-layout: [URL] and the best i could find is this (console unusable after upgrade): [URL] but it doesnt seem to be exactly the same problem. its since about a week.main problem is the password, else its a little annoyance, not more.
when I finally wanted to install Debian to my hardrive. Somehow, how to copy it to USB drive and make it boot-able. Installation process started without problems, but it failed on step called (something like) "Find files in CD-ROM" - what was expectable, since I used USB drive. So I wanted to unmount "/cdrom" and mount my USB drive there instead. I moved to another terminal, and searched for right device. "ls /dev" does not help, since I can't scroll to see other devices. Also kernel messages - can't scroll. Tried to change keyboard layout, still didn't work. I also can't use less, because there is no apt-get installed. Another problem is, that after trying to mount only viewable device (/dev/sda1), mount failed bacause I gave there invalid argument, or directory didn't exist. (Note that I created directory in /mnt/... or /media/... first). So I am asking - how can I remap keyboard to use those page up/down keys?
I have console only on my machine and I have two problems with it:
1) I can't find how to enable programmer dvorak keyboard layout.
2) All the console settings don't stay after reboot, I have to do dpkg-reconfigure console-setup again. But after I do that I loose russian layout that I normally can switch to with Alt+Shift.
I tried to use NDN [URL] which is fork of famous DN . It's more advanced then Midnight Commander and I would like to use it to better understand Debian FS and do console works there. However, I have a problem and it seems that their support forum does not work, so I thought to ask for general help here, in case it's something that can be set in Debian. Problem is that when I run this manager I can't use arrow keys or 'num pad' or PgUp/PgDn/.... pad but only 'central part' of keyboard - regular keys and Fx buttons. So I was wondering if there could be some problem between terminal emulation and this application that can cause such behaviour which is unacceptable for normal usage, obviously.
I know there are many threads regarding this topic.I probably read most of them. At installation time I told Debian to use German keyboard layout (since I am from Germany). Now I want to switch it to American keyboard layout. In X this was no problem. But in the tty consoles I cant get it changed. It does not matter to me if it is system wide or user wide because I am the only user. (system wide would be a little bit more preferrable because it would affect the super user too, I think).I tried dpkg-reconfigure console-data and selecting my desired layout. This changes the Layout to American until reboot
I just installed Debian 6 and need to change the console keyboard layout (I am not running any sort of gui).I installed 'console-data' and ran:# dpkg-reconfigure console-dataThis assigns my Apple keyboard keys perfectly but it won't survive a reboot, which is really important for entering passwords
I'm getting a weird charset problem in a chroot'ed system that I kexec'ed into. It is especially noticeable in ncurses programs like aptitude, but it also noticeable in vim. [URL] My locales are configured to en_US.UTF-8, I have choosen my keyboard layout with kbd-config while in the chroot before kexec'ing into it, I've passed the bootkbd= parameter to the kexec'ed kernel, and my TERM variable is set to "linux". I can't try xterm because this chroot system doesn't has X.
EDIT: I just noticed that the keyboard layout I selected is not working properly. All keys work fine except the ones that are specific to my country. Instead of ç I get a weird symbol.
I changed my keyboard layout to arabic and now I can not login with my username and password. Also I am unable to type my root password. So I am completely locked out of my computer!!I was a overwhelmed by the information I found from searching forums. For now I'm working on making a bootable ubuntu CD so that I can run a live session and maybe fix this, but so far I am not having an easy time doing this
I have been using ubuntu 10.04 64 bits for about 3 month. Today I change my keyboard layout, so I want to test if everything is ok so I reboot my computer. When I try to reboot everything is as usual but the problem is that after grub. Nothing only a black screen no matter what i do. I doubt the keyboard layout change something but who knows. I run AMD phenom 940 X 4, 4 gig ram, Ati radeon HD 4870.
While I was away from my computer a friend changed my keyboard layout to a random layout thinking he could revert it via mouse actions only. Unfortunately, by the time I returned, my screen was locked. Now I cannot unlock my session to get back in to the KDE session to restore the correct keyboard layout.
However, I can log in to a console. In the console (e.g., Ctrl-Alt-F1), the keyboard layout is unchanged, so I can edit any text files and make any other changes required. How can I change the KDE keyboard layout from a console? I'm running Kubuntu 10.04. There is no .kderc file in my home directory. And Xorg.conf doesn't contain the settings either. I'm not sure where else to look.
I recently installed virtual box on debian and after it had finished my terminal informed me that I could remove some "unnecessary" software by use of sudo apt-get autoremove. When I did this, some of the icons on the desktop changed and all of the icons in the drop down menu on the bar at the top of the screen also changed to ordinary folder symbols. The theme that I was using also went away. I restarted the computer and it booted back into a shell prompt with no GUI. I tried to get back to the GUI using alt+f7 but it didn't seem to exist
I have a logitech wireless keyboard/mouse, but just lost the tiny usb wireless receiver.
I want to use my laptop as the keyboard for the other machine (Ubuntu 10.10) until I replace the keyboard and mouse.
Is it possible to control the console session's keyboard over ssh? I only want keyboard control, I don't want to use something like VNC because the video is too slow.
EDIT: I'd like to be clear that I want to be able to control gui applications running on the console session, so something like unix screen won't
I am logging into an Ubuntu 8.04 machine using ssh, so I use a console. The keyboard layout is US-standard, obvioulsy. However, I would like to use french-canadian keyboard layout. And I don't know at all how to switch it in console. Give me Gnome or KDE, and we're done. But this is console only. I guess it has to do with the loadkeys command. Ok. I retrieved from the web a file cf.map.gz. Maybe ubuntu requires a different kind of file? Using "locate cf.map" I get nothing, except the file I have downloaded. Any package I should demand to be installed? (if yes, what do I do once they are in?) I tried using both the .gz and uncompressed files.
Code:
loadkeys cf.map.gz Couldnt get a file descriptor referring to the console
Code:
loadkeys -u cf.map.gz Couldnt get a file descriptor referring to the console Loading cf.map.gz
[code]....
They tell us about some program, console-data, using root privileges. Intriguing, but I am only a user, and do not have any root privileges. The system admin. has never used another keyboard layout, and knows even less than I on this matter. I tried similar stuff on my openSUSE at home, on a newly created experimental account, and I am equally unable to change within the console the keyboard layout (similar error messages).
I use Slackware 13.1. So far I chose during the installation of the system lat2a-16.psfu.gz font and my applications worked well in console mode. Now the same applications with the same font display gridded rectangles instead of some diacritical characters. In /etc/rc.d/rc.font I have standard setfont -v lat2a-16.psfu.gz command:
/etc/rc.d/rc.font:
Code:
setfont -v lat2a-16.psfu.gz
In /etc/rc.d/rc.keymap I have standard loadkeys pl2.map command:
/etc/rc.d/rc.keymap:
Code:
if [ -x /usr/bin/loadkeys ]; then /usr/bin/loadkeys pl2.map; fi
Standard setfont -v lat2a-16.psfu.gz command reports for some reason loading of the Unicode mapping table:
# setfont -v lat2a-16.psfu.gz
Code:
Loading 256-char 8x16 font from file /usr/share/kbd/consolefonts/lat2a-16.psfu.gz Loading Unicode mapping table...
[code]....
I examined /etc/rc.d directory but I didn�t find the setting switching the console to the Unicode mode. The same with env and set commands outputs. I tried to overwrite Slackware 13.1 /usr/share/kbd/consolefonts/lat2a-16.psfu.gz with lat2a-16.psfu.gz file provided in kbd packages from Slackware 12.2 and 11.0 but the results were the same. I suppose the problem is caused by improper handling of the system settings by the kernel but I�m not sure.how can I get rid of Unicode console font and keyboard layout and come back to ISO-8859-2 font and keyboard?
I'm guessing the answer to my question is in manipulating the kernel command line. But with what arguments? (and does the kernel have it's own fonts to be used on a FB device?)
The host is a ARM9 based embedded system with a 1-bit LCD screen.
This is a prelude question to: Naming a Frame buffer Device
I am using a backup system with cron + tar. Since the server is very busy, I get often the cron-email: "The file XYZ has changed while reading". This message is a bit annoying and I see it as critical point in my backup system. I believe that this file is then not in my backup. (Is that correct?) Let's imagine the hard disk dies and I have to recover the system and my personal data, and in the night the mysql-table XYZ was not in the backup, because it was in read-usage. I would then have lost this table forever. Is there any way to tell TAR, that it should force the file to be included (if in read-usage, then wait 2 seconds and try again)?
I did a bunch of updates, in sid, no issues. But when I rebooted the next day the log in had chanded. No problems logging in, the appearance had changed, and you now have to use the mouse to click on your name to open the password box, where before you could hit enter and get the same results. It is not much, but I have been trying to to restore it back with out much luck. I've played with gdm and gdm3 and a couple of other things but no luck. I did see a update for log in but have not been able to figure out the next step.
We had a server failure this morning because grub was throwing error 15 (file not found). We discovered that the disk had changed names from hd0,0 to hd1,0. Making the appropriate replacements in menu.lst fixed the problem, but I'm still wondering what could have caused the spontaneous name change.
here are some other possibly related tidbits: * the server had been down because of a power loss, but it is behind a UPS so i doubt there is any electrical damage * eth0 also temporarily failed but the system failed over to eth1
My current theory is that when the bios was configuring the hardware the loss of eth0 shuffled around the addresses of the remaining hardware on the pci bus, which somehow caused the hd0/hd1 confusion. The problem is that everything i've read [URL] says that the drive assignment should be based on the way the disk is connected to the motherboard (which in this case didn't change)
Someone in my dept rather stupidly changed an IP of a webserver, and ever since we changed it back we cannot mount 3 NFS drives.
The Error Code: HTTP1:/etc# /etc/init.d/networking restart Reconfiguring network interfaces...if-up.d/mountnfs[eth0]: lock /var/run/network/mountnfs exist, not mounting if-up.d/mountnfs[eth1]: lock /var/run/network/mountnfs exist, not mounting done.
I have removed that lock file and tried a Code: mount -a but it just hangs?
The FSTAB hasn't changed at all, and the other web servers can mount to the NFS share fine. I have tried alot, removing the lock file and rebooting etc but no luck. Debian Lenny.
I use Debian Stretch and I've installed it twice with the same ISO on the same laptop. First just to test a few things, then freshly installed it again.
The first time the wireless card was named wlan0 (as always for me, I've never had another name), the second time though it was suddenly named wlp3s0.
How did this occur and may I change it back to wlan0?
How do I force recompilation of the kernel .deb packages. After a small change I make to the sources without having to clean the sources and recompile the whole kernel again?
Code: Select all$ fakeroot make -f debian/rules.gen setup_i386_none_686 $ fakeroot make -f debian/rules.gen binary-arch_i386_none_686 binary-indep
Calling the second command again does not recompile the modified code, just recreates the .deb packages.
If I use:
Code: Select all$ make -f debian/rules clean before the build command, then it will recompile everything which takes ages.
How can I force recompilation of the files/objects I changed (and dependencies)?
I use this guide: [URL] .... ('Building only a single kernel variant' section)
I've been using dhcpd for address assignments to PCs for a very long time with no issues. I recently upgraded from lenny to squeeze and now dhcpd seems to have new behavior which I can't seem to change. Here's what I want to do. First, I have a simple situation and don't want to get involved with dynamic DNS updates. I have host statements for each of my PCs and a range statement for cases where I install a new device and don't yet have a host statement for it. Previously, I could discover the ethernet address for the new device from the dhcpd log and add a host statement with an address of my choosing for the new device.
I'd then restart dhcpd and do something like reboot the device or issue an ipconfig /renew statement on the new PC. What would happen is that the old dynamically assigned IP address would be NAKed and the device would do a DHCPDISCOVER, etc. and get the new IP address I specified in the dhcpd.conf host statement. In squeeze, this no longer works. The client asks for the old address it got dynamically and the server just says yes. I can't seem to find a way to get it to NAK the dynamic address and use the new address I've specified in the host statement. I'd appreciate any enlightenment on how this is now supposed to be done. Here's my simplified dhcpd.conf file:
How can I start a program from tty1 console text mode to be executed in tty2 console text mode? Actualy I would like to start a program (chat client cli program) in tty8 automaticaly when linux PC boots.
I've been using debian unstable for some months, and after some problems I've been having with the nvidia non-free drivers and pulseaudio, I decided to do a new fresh install. As in the first time, I used a netinst CD, and all went ok. The first three times it booted perfectly, with gnome and all the apps, without problems. I updated the system with the unstable repositories, and I went home (i was somewhere else).
When I got home (like an hour ago), my new debian OS boots, but it brings me to the console, instead of automatically logging me in normally, with the GUI and Gnome and everything. It asks for login and password, and then it's just the console, and if I type, for example, Iceweasel or vlc or any program, it tells me that there's no display or that the X window system is not available. What happens?
It worked just fine a few hours ago, ant I only updated my system...! Also, it booted normally a few times after upgrading, so it's quite strange. Also, before that, I tried to install Debian Testing from a CD ISO image, and I succeeded, but the same happened so I used the netinst image and it worked. But now it just won't work...
My partition system is now like this:
/dev/sda4 - ext4 Debian Sid (old one) mounted as / [BOOT] /dev/sda1 - extended, containing new one: /dev/sda5 - ext4 Debian Sid (new one) mounted as / /dev/sda6 - swap (new one) /dev/sda7 - ext4 Debian Sid (new one) mounted as /home/ /dev/sda3 - swap (old one)
(bold means "primary" partitions, italics means the logical partitions inside the extended one)
playing with debian I find that I have no answer when I try to resize my console if I wish to use it without a GUI. Are there something that could resize the screen ? In this moment it seems to be 640x480 and it could be better if the resolution could be 800x600. I have tryed to modified /etc/grub/00_header
if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=800x600 ; fi