Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-01-16 16:58:17

rick71
Member
Registered: 2014-03-04
Posts: 24

start xfce-terminal on atuo login

Raspbian GNU/Linux 9 (stretch)
XFCE 4.12
VNC server

I am using VNC remote login

In sessions I have:
sh /home/pi/bin/direwolf.sh

If I log out and log back in, the script runs, the terminal opens and direwolf runs. When I restart the pi and login in, the terminal does not open.

Any advice on how to get this working? Id there anywhere else I can put the script (bash.rc ?).

Thanks

Offline

#2 2022-03-06 16:57:17

him610
Member
Registered: 2022-02-19
Posts: 7

Re: start xfce-terminal on atuo login

You might want to consider placing .bash_aliases in your home directory then call your executable file from .bash_aliases. I have a file that I named run-id.sh that I run on each of my systems, including two raspberry pi devices of different vintage. It is written to give slightly different results from each computer (currently six) the file is installed on.
It runs when I logon to a remote device using ssh; or when I logon directly, it runs when I open xfce4-terminal.

The file .bash_aliases is not installed in your home directory by default, but a template for the file can be found at /shared/data/tmp/x.bash_aliases

Good luck, and have fun:)

Offline

Board footer

Powered by FluxBB