When I make a ssh connection with root account to my desktop using putty and installed some programs. when I list that program type and press doubletab, will complete/list all associated commands.
Ex. Putty - SSH - 192.168.1.5
root@192.168.1.5:~# apt-get install aircrack-ng
root@192.168.1.5:~# ai<TAB><TAB>
airbase-ng aireplay-ng aircrack-ng airmon-ng airdecap-ng airodump-ng airdecloak-ng airtun-ng airdecloak-ng...
Xrdp - session Xorg - 192.168.1.5
root@192.168.1.5:~# air<tab><tab>
aircrack-ng airdecloak-ng
Both are root@192.168.1.5:~#
. I need understand this. Other thing its on xfc4-terminal run ssh root@localhost
and ssh root@192.168.1.5
do the same thing above respectively.
How can I push command in xfce4-terminal after installed this packages on ssh connection?
Same happens for the history commands. Example:
- SSH Connection: Only shows history of this user in ssh.
- Local connection: Only shows the xfce4-terminal history. Dont show packages installed with ssh session.
I think its a 'session' association?
sudo updatedb
(it will take awhile). – pa4080 Mar 27 '17 at 06:56root
as local account in graphical environment? This is completely wrong approach and some graphical applications may limit this behavior. You should create normal limited account and run only some commands asroot
by openingxfce4-terminal
and runsudo -s
,su -
or similar command in it to becomeroot
. – j123b567 Mar 27 '17 at 19:13if running as root then limit features to minimum or do nothing
. So this is the reason why it is bad idea. It may cause lot of unexpected problems like this. – j123b567 Mar 27 '17 at 20:55