![]() ![]() X terminals were hardware boxes runnning X servers, not just another terminal window app. ![]() In most of my experience, Linux/Unix boxes that ran X were multiuser boxes you logged into over a network not single user boxes you logged into on the console. ![]() But even in those situations shoving stuff in global configuration files without being aware of the side effects and how to fix them is just setting up bad habits for later life. Log in over ssh with X forwarding enabled and with an X server running on the remote machine then run startlxde-pi.Īdmittedly neither of thsoe are likely to be used by a beginner or in a one Pi per user setup.Make sure that the script will 'exit 0' on success or. Once you open you the file, you will see something like this: /bin/sh -e rc.local This script is executed at the end of each multiuser runlevel. On the Raspberry Pi, open /etc/rc.local with a text editor. Login from a remote X server via xdmcp or similar. Add the script to the /etc/rc.local file.With the exception of vncserver, I don't know of any way to have more than 1 user logged in at a time? Though any process started by a user will be terminated on logout. Yes that is the global autostart and runs at user login. Though, to be fair, I suspect that won't matter for many Pi users. Then, I use Nano to create python script as nano pytest.py. I'm not usually a desktop user but isn't /etc/xdg/lxsession/LXDE-pi/autostart the global file for all users? Won't putting something in there cause it to be run whenever any user logins in to the desktop? First, I am going to create simple ‘hello world’ python script and save it in the desktop. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |