Debian :: Login Via SSH - Bash Autocomplete Stopped Working
Feb 3, 2011
For some reason my bash autocomplete stopped working. I get the error when I try to cd into a directory, pressing <tab> for autocomplete:
cd A-sh: <( compgen -d -- 'A' ): No such file or directory
Autocomplete works for the root user and for the other user on the machine, just not logged in as this user. The .bashrc file looks fine to me, and I didn't make any changes to it to even cause the bash autocomplete to stop working (as far as I know).
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
What else could cause autcomplete to stop working? I log in via ssh, btw.
View 11 Replies
ADVERTISEMENT
May 4, 2011
I did a bunch of uninstalls and reinstalls lately, trying different distros. Now I'm back to Ubuntu but tab autocomplete in terminals doesn't work anymore. It is quite less convenient now to use the terminal. I tried changing interpreter to /bin/bash and it doesn't work. I use guake.
View 2 Replies
View Related
Mar 30, 2011
I have been using my system for couple of weeks, and normally update software when the icon is displayed on top bar (gnome). Last couple of days there were updates for X, and I am not sure whether that is the cause of my problem. Once bootup, I get the login screen. When enter the password the login screen keep coming back. there is no error about any password issue, or anything. It keeps prompt me to enter the password.
I could login back the following way.
1. ctrl + alt + F1 , and login with the same username/pwd as for X
2.change to root
3.pkill gdm3
4.exit from root to user privilege
5. startx
The system starts X correctly and no login screen is displayed. I could use the system as usual.
The only thing I did custom to my system was upgrading to the latest kernel (2.6.38) using the source. This was to get support for my hardware, but that was about a month ago. I do not see anything in /var/log (X, demesg etc).
View 4 Replies
View Related
Oct 20, 2010
Have a bash script which contains a line like this:
if [[ ${array[${last}]} =~ "screenpc.PRODUCTION.*" ]]
which WORKED as expected in bash 4.0.33 and now fails in 4.1.2
Instrumented the script to print the value of the left-hand side and it is exactly what is expected.
As noted above, this has been working fine until we installed Fedora 13 (kernel 2.6.33), and now it fails.
Tried setting shell 'extglob' to On with same results.
Did something change? Are there other shell/bash options that need to be set?this has the whole installation stopped!
View 10 Replies
View Related
Jan 6, 2009
Is there a way to customize bash autocomplete such that it avoids searching for commands? I want it to auto complete file and folder names only!
View 2 Replies
View Related
Mar 6, 2010
Ubuntu has stopped booting correctly. Now it shows the Ubuntu logo and then, instead of GDM, it shows a console login prompt. How do I go about troubleshooting this?'m in Windows XP (which I like a lot better than Ubuntu, because it actually works) but all my files and work are on my Linux partition.
View 9 Replies
View Related
May 9, 2010
Everytime I restart my PC and the login, Before the login window goes away a window pops up saying "Power Management has stopped working" If I click cancel nothing happens, if I click Logout Anyway then the window goes away and I continue to login. Whats up with that? I am using a Desktop.
View 3 Replies
View Related
May 9, 2011
I've a really strange problem with the auto-complete in midnight commander. I've linux installed in a laptop, and when I do Esc-TAB with the keyboard of the laptop, the autocomplete works. But, if a connect an USB keyboard to the laptop, the autocomplete of the mc doesn't work in the USB keyboard, but stills work in the laptop keyboard.
View 1 Replies
View Related
Jan 6, 2010
Since I updated to Karmic, I noticed a very annoying problem that forces me to restart Firefox every 20 minutes or so: When the cursor is located inside the address bar (CRTL+L), I always type one or two characters, a drop down menu appears with most visited links that contain these characters, I press <down-arrow>, <Enter> and go to one of my usual links. I use this all the time, which allows me to go to me usual links in a second or two. The problem is that this feature stops working after browsing for some time: no drop-down menu appears and pressing the down-arrow does nothing.
The only other problem that happens in coincidence is that you have to click 2 or 3 times on the 'arrow-down' button on the right side of the address bar before you get a drop-down menu with the most visited links (this normally happens on the first click). The problem appears at random moments (typically after some 10 to 20 minutes of browsing, but sometimes earlier) and disappears when I restart FF. I tried clearing the history, but that does not change anything. Does anyone else see this problem and knows how to fix it?
My setup:
Toshiba notebook, 32 bit
up to date Karmic
FF 3.5.6, with some add-ons: adblock plus, bugmenot, all-in-one gestures, xmarks and some dictionaries, all working without any problems.
View 3 Replies
View Related
Mar 10, 2011
I have been running X applications over my ssh connection for a long time using the command ssh -Y servername.example.com -p 222 . About a week ago, I noticed that it no longer works. I also tried ssh -X servername.example.com -p 222 but again, no success.
View 8 Replies
View Related
Apr 9, 2011
I've been administrating a dedicated Linux CentOS 5 (Linux 2.6.26.5-rootserver-20080917a) server for around 2 years, and although not a network or Linux expert, been learning to configure as need arises. Primarily using Plesk for day-to-day, but occasionally using Putty to SSH into server.
For all the time I've had the server, I've been connecting to my server via sFTP using "root" password. ( Although, I know this is really bad practice, I assume made safer by connecting with SSH FTP)
After spending another normal day in the office developing websites, connecting to my server as root using SFTP in Filezilla AND Dreamweaver I left for the night.
Returned next morning, after having done no manual updates or amends to my server; I could no longer SFTP into my server?
Thought it may be related to my office network, so tried it from home over the weekend, same result; can no longer connect SFTP for root?
I can connect to the server via Putty using my "root" username and password.
After spending hours looking on the internet for a solution, I'm lost for ideas as I didn't make any changes?
What happens when I open my Filezilla and try connecting as SFTP is it states:
Error:Connection timed out
Error:Could not connect to server
I checked server log /var/log/secure and it states:
Accepted password for root from UNKNOWN port 49212 ssh2
Apr 9 07:41:41 s15320264 sshd[7122]: fatal: Write failed: Connection reset by peer
Odd part is, it's worked fine for weeks, months without ever failing to connect?
Also, notice that Putty connection seems to take much longer to authenticate root user than it used to?
Checked via Plesk Health Monitoring and all CPU, Memory and Disk Levels are well below any alarm levels.
I have run all Plesk updates to 10.2.0 in the hope that it resolved it, but to no avail.
View 19 Replies
View Related
Jun 10, 2011
When I use sudo, command does not auto-complete with 'tab'. Perhaps its some sort of security measure? I'd like to turn it off, because its just annoying. Older versions of debian didn't have such problem. Using debian_testing_amd64.
View 4 Replies
View Related
Apr 27, 2010
I just got a new pc after my two pc's decided to die. I have had them for many years, maybe around 2001. So, I am new to this 64 bit OS. I'm running squeeze amd64. I am having some troubles with flash in Iceweasel. It just stopped working one day. So, I downloaded Firefox to see if flash would work in it. Here's the interesting thing. Iceweasel will play flash. I will close the browser and reopen to discover it no longer wants to play flash. I'll open Firefox, then close it. I'll then open Iceweasel and Flash will work in Iceweasel again.
This happens often. To get Flash to work, I just close Iceweasel, open Firefox, close Firefox, open Iceweasel and go to a flash site and all is good. Is there something I can do to get Flash to always work without opening Firefox?
View 14 Replies
View Related
Jun 22, 2010
My printer is a HP laserjet 4 Plus. It used to work with the gutenprint drivers pretty much since always.I don't know when it broke, because I don't use it that often. I have tried with the generic postscript driver, with the gutenprint driver, with the j4dith driver and with the hplib driver. Basically, what happens is that all jobs never finish processing in the queue. On the other hand cups-pdf still works.
View 14 Replies
View Related
Nov 18, 2010
My sound stopped working today,
My sound info is all located here: [URL]
View 1 Replies
View Related
Mar 13, 2011
ethernet suddenly stopped working and can't get it back, says something about device not active but it works well with the Debian live dvd, what could be the problem?I'm using mobile internet now and this seems to have happened after setting up the mobile connection but I dont think it as anything to do with the wired problem.
View 3 Replies
View Related
Oct 28, 2015
I have a debian box connected to a windows storage server.
For a number of years I have been using CIFS to connect, and now it seems to have stopped working.
Code: Select all~# mount -t cifs //192.168.97.66/sharefolder/ /localfolder -o rw,file_mode=0666,dir_mode=0777,username=NASuser,password=**** -vvv
mount: fstab path: "/etc/fstab"
mount: mtab path:Â "/etc/mtab"
mount: lock path:Â "/etc/mtab~"
mount: temp path:Â "/etc/mtab.tmp"
mount: UID:Â Â Â Â 0
mount: eUID:Â Â Â Â 0
mount: spec:Â "//192.168.97.66/sharefolder/"
[CODE]
View 4 Replies
View Related
Jan 1, 2011
So everything was working perfectly on my system. I have Debian SID, with the debian-multimedia repos and liquorix repos for kernels. Flash worked perfectly one boot, then the next boot the video still works perfectly but no audio. I found several "fixes" on the web, including creating .asoundrc in your home directory and another that said to
Quote:edit /etc/firefox/firefoxrc -- change the line FIREFOX_DSP="none" to FIREFOX_DSP="aoss"neither of those have done anything. Have tried using both the flashplugin-nonfree and flashplayer-mozilla, same thing on either. ALL other sound works, smplayer, amarok, system sounds, etc.
View 1 Replies
View Related
Jul 2, 2015
Dell Vostro 230 with integrated Broadcom NIC.
Wakeonlan was working just fine with Wheezy on this machine. After upgrade, wakeonlan will resume from suspend but not from shutdown.
I have no problem with other machines (same software setup) after upgrade. None of my other machines have a broadcom NIC.
No BIOS settings were changed during the upgrade. If I enter the BIOS on boot and make sure settings are correct then 'save' and shutdown, without booting to debian, I can then successfully wakeonlan. Then, if I do not boot debian, but shutdown before debian starts, I can wakeonlan successfully again.
If I boot debian and then shutdown, game over: wakeonlan nolonger works.
$ ethtool eth0 | grep -i wake
Supports Wake-on: g
Wake-on: g
A bit of research found the suggestion:
$ lspci -tv | grep -i ether
+-1c.2-[02]----00.0 Broadcom Corporation NetLink BCM57788 Gigabit Ethernet PCIe
$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
P0P2 S4 *disabled
P0P3 S4 *disabled
[Code] ....
How to get wakeonlan working under Jessie with a Broadcom BCM57788?
View 8 Replies
View Related
Sep 8, 2015
I use scim to input Chinese in Libreoffice-writer. It worked on one of my computers until a couple of days ago.
Normally to start scim I press Ctrl and the space bar at the same time. Then I use the input method Cangjie to input Chinese.
Now when I do so in Libreoffice-writer "English/European" appears in the scim panel. The other choice is "English/Keyboard". The choice of either doesn't enable me to input Chinese.
In all other software scim works as before.
The computer runs Debian sid. On another computer that runs Debian sid too I don't have the same problem. I have version 5 of Libreoffice on both computers.
View 1 Replies
View Related
Nov 5, 2015
My Iceweasel is not consistently opening pages. This is new behavior after changing the /etc/network/interfaces file for setting up bridging. The home page is advanced google search. When Iceweasel opens to google, I get a message saying the site is not secure and won't open it. Inputting [URL] ...., it takes about 90 seconds before it opens the site then freezes. If I go to forums.debian.net, the site is fully navigable, if I put anything in the Iceweasel search bar, it freezes.
View 3 Replies
View Related
Aug 30, 2011
I use Debian 6 as my main distro, installed on partition 1 (sda1) on my laptop. After installing a second distro on sda2 everything still worked fine and both distros show up on the boot up screen. After installing a 3rd distro on sda3; suddenly my cursor (in Debian) is frozen and I can't use either the touch-pad or the 'left and right clickers'. It seems unlikely that this would have anything to do with installing another distro but on the other hand it is a bit of a coincidence...or? The cursor works on the 2nd OS. The 3rd has not yet showed up on the boot screen (I want to do a 'update-grub from within Debian)
View 5 Replies
View Related
Mar 15, 2010
I'm in somewhat of a sticky situation. ssh has just randomly stopped working on my server after a power failure. Everything else that doesn't rely on ssh is still working fine though. It can still receive mail and everything, just no ssh.Background on the server, running debian etch on a PPC machine.ssh is (supposed to be) running on port 2000. Even if I am physically logged into the machine I can't log in with ssh -p 2000 user@127.0.0.1.
I can ssh to and from any other machine on my network (the server can even ssh into another machine). So it isn't my network causing issues.It seems like the port 2000 is completely closed, if nmap the server's IP address I get PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
110/tcp open pop3
[code]...
View 9 Replies
View Related
Dec 21, 2014
I did some mess with adobe flash player and now I have no soound on my Thinkpad T60.
root@debian:/etc/modprobe.d# dpkg -l|grep alsa
ii alsa-base 1.0.25+3~deb7u1 all ALSA driver configuration files
ii alsa-utils 1.0.25-4 i386 Utilities for configuring and using ALSA
ii bluez-alsa:i386 4.99-2 i386 Bluetooth ALSA support
ii libsox-fmt-alsa 14.4.0-3 i386 SoX alsa format I/O library
ii libwine-alsa:i386 1.4.1-4 i386 Windows API implementation - ALSA sound module
[CODE]..
View 1 Replies
View Related
Nov 3, 2010
Anybody know how to get pictures off of one? I've got a computer with XP, but the software doesn't want to work. I've tried setting it up in a VM, but VirtualBox won't patch the camera through for some reason. The SD card adapter it came with stopped working, so that's a no-go.
View 2 Replies
View Related
Nov 29, 2010
Debian 5 64 bitGnome, using compiz-fusion.Compiz had been working well ever since I installed it last year; a couple of days back there was a debian update (I think and x-server update was there); now compiz does not work anymore. if I select compiz as the window manager from the cmpiz-fusion icon, I cannot move/resize wndows, the titlebar disappears.
View 6 Replies
View Related
Nov 5, 2010
sometime ago i have setup a nice Debian FTP server. and left the company. everything was working fine for about 5 month, administrator was able to login to root, do changes and manage system, etc. Suddenly he told me that he cannot login via PUTTY, the root user and pass say Access Denied.Looked all over the web for at least a REASON, but did not find anything. I suggested to go and do passwd reset, via runLevel 1. i hope this helps him. But i am still curious why all of the sudden, in a locked down room, where only one person has access root get disabled.
View 4 Replies
View Related
Jun 29, 2015
I installed Jessie (8.1.0) and encountered a problem which is non-existent in Wheezy (7.8.0).
My shell is zsh and I use tmux both installed from packages, I use this zsh feature that when you type "ls /" and then hit "Tab" twice, it will present you a menu where you can select the directory you want navigating the menu with the arrow keys. It works fine out of tmux (in bare shell) but stopped working inside a tmux session. In bare shell you hit Tab twice and get into the menu, in tmux you hit Tab twice and it displays the table of suggestions but just keeps cycling suggestions (cycling directory names) and not sending me to the menu.
Here's some screenshots:
1) Working (no tmux): I hit tab twice and got in the menu.
2) Not working (in tmux): I hit tab twice and it just cycled directory names after "/"
t isn't in my config file, I tried without my .tmux.conf (with tmux set to default settings) and it still had no effect.
View 5 Replies
View Related
Feb 3, 2010
I was running 2.6.26 and I've recently upgraded to 2.6.32-trunk-amd64 along with other packages (mostly dependencies)... which possibly involved the network stack.
After this upgrade my home gateway stopped working and I'm clueless to where the problem may be.
I can see that the iptables are still there when I type:
iptables -t filter -L -v -n -x --line-numbers
iptables -t nat -L -v -n -x --line-numbers
View 14 Replies
View Related
Oct 13, 2010
after i installed latest ATI proprietary drivers ( 9.3 legacy drivers) for my HP compaq nc6000 with a "Mobility Radeon 9600" the standby and the suspension stopped working, i mean, if i try to suspend or hibernate my laptop, it closes X (this is fine) but after it gets freezed on the whole screen black with just a blinking underscore and nothing more, neither an error message after reboot.All i can do is to force shutdown by pressing poweron button for 5 secs.I'm running on a lenny, stable with stable repo.What can i do to understand where does this problem comes from and maybe fix it?
View 3 Replies
View Related