You are not logged in.
Over the last couple of days, whenever I've opened any X virtual terminal (it doesn't do it when I ctrtl-alt-fX), it opened in a directory within my home directory, (namely the one I use for various programming projects), instead of the home directory. I thought that maybe if I removed that directory it might solve the problem, so I did, but apparently it didn't fix it, because now it outputs this:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directoryIt outputs a subtly different message (chdir instead of shell-init) when I cd into a different directlry. I looked through my .bashrc, .bash_profile and .Xresources and none of them had anything relating to directories.
Does anyone know how I could fix this?
Last edited by alexanderthegre (2012-09-30 22:36:42)
Offline
Did you launch X in that directory?
sudo ls -dl /proc/$(pgrep Xorg)/cwd
Or maybe the program you use to launch the terminal (WM, xbindkeys, etc)?
Offline
What terminal emulator are you using?
Offline
Oops, yeah, I probably did start x from that directory... I rebooted and now it works. Thanks!
Offline