Body
If you make any errors when editing the Linux dotfiles in your CAEN Home Directory, it may prevent you from successfully logging into computers running the Linux CLSE. The CAEN VNC client and SSH can also be affected by spurious output from the login shell, and prevent remote access. There are a couple options for accessing your home directory to fix (or reset) your files, so you can log into Linux again:
Use a CAEN Windows Computer
Since your Linux dotfiles are stored in your CAEN Home Directory, you can access them directly from any on-campus CAEN Windows computer, or via the Windows Remote Desktop Service:
- Log into a CAEN Windows computer.
- Open the File Explorer, and go to the network drive labeled CAEN Home Directory (N:).
- Next, go into the dotfiles folder.
- At the top of the Explorer window, click the View tab, and make sure the Hidden items box is checked:
- Find the file(s) you changed, such as .bashrc or .bash_profile.
- Right-click each file, and select Rename:
- Add .old to the end of each file name.
You should then be able to log in successfully, and the dotfiles will be regenerated with the default configuration.
Use the Redot Command (SSH required)
If you are able to gain terminal access to a CAEN Linux login server via SSH, the /usr/caen/bin/redot command will reset your dotfiles for you, which should allow you to log into Linux in a CAEN computer lab or via the VNC client. For more information, refer to our knowledge base article.