Have to log out of a virtual terminal twice in order to exit virtual terminals
Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it.
I have to log out of a virtual terminal by typing exit, then exit again as in:
I DON'T have to do this when I'm using gnome-terminal or xterm. It just exits.
I do notice that if I have done this in xterm for example:
It lists exit instead of logout after typing exit.
Now lest one thinks it is that I have typed bash in the vtty, that is not the case. Also, echoing $SHLVL gives:
so I'm not in subshells.
I have mv ~/.profile ~/.profile.bak and mv ~/.bashrc ~/.bashrc.bak to make sure that it is nothing that I have done.
Other users can log in a vtty and completely exit with one command.
I'm not sure how the vtty's work nor how to begin to toubleshoot this further.
Any ideas?
With thanks,
Narnie
PS
btw, I have also renamed my .bash_logout script as well so it isn't in that. However, one wouldn't think it would be there anyway as I'd never be able to log out.
It is something that is different about a vtty (via getty) vs windowed terminal.
I have tracked this problem down to a ecrypts issue.
I have a the Private ecrypts directory set up as usual except that I don't like it's automounting behaviour.
The original listing of the dir looks like:
I have renamed auto-mount to this, which prevents the auto-mounting of the ecrypts folder, which I manually mount if needed.
If have have auto-mount as the original name, then I don't have to log out twice from a vtty. When I have auto-mount renamed so that ecrypt doesn't see it, I have to log out of vtty twice. This is very highly reproducible in that it occurs EVERY time. Also of note, it doesn't really matter if the private dir is "mounted" or not, which caused me to miss this. It is just renaming that one file that breaks it like this.
Anyone have any idea as to a fix?
I'll be posting a bug report in view of this as well.
Thanks,
Narnie
---------- Post updated at 12:48 AM ---------- Previous update was at 12:31 AM ----------
Hope that everyone is doing well today. Happy Friday.
I am running an illumos (opensolaris) based system which is like SmartOS, OmniOS, and OpenIndiana
I have been searching all over the Internet into various documents and forms that have to do with Solaris, Opensolaris, Illumos, and SmartOS... (3 Replies)
Hi All,
Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines?
Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Hi,
I'm working on a project that requires formatted text to be displayed on the screen plugged into a Linux machine. I want to be able to control this text via a bash script and format it in a particular font and size. Changing the background colour would also be beneficial.
Does anyone know... (3 Replies)
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
I just wondering if there are ways to open multiple virtual terminal to a single LPAR.
After I have use putty to login to the VIOS. I will use mkvt -id <LPAR id> to open console but if my friend want to open 2 second one, it will say, VT already connected.
IS there a way to work this around ? ... (1 Reply)
Do we have any Virtual Data Center software as we have Virtual Machine?
I want to practice everything of Solaris practically but i don't have resources like data center which includes Servers, Data storages, switches, and other things. (2 Replies)
Hi Folks,
I want to check all the virtual hostname's/IP's of a host/ip. Currently we are using HP-UX and open SuSe. Please tell me the command to list out all virtual names of a particular host.
many thanks in advance. (2 Replies)
Hello,
I would like to know if there is a command or any configuration file to find and differentiate the Virtual IP Addresses (of the Cluster Resource Group) and the IP Address of the Cluster Node. I observe that the ifconfig -a command returns all the IP addresses configured on the ... (1 Reply)
Hello All!
I want to know how to create virtual terminals in aix. As in Linux, simply by using Ctl-Alt-F1-F6 keys, i can switch to any of the 6 corresponding virtual terminals. But i dont know how to do that in AIX. Also if I access an AIX server through remote desktop, will the method to create... (0 Replies)