2
votes
Accepted
Black Screen after changing .config/lxsession/LXDE-pi/autostart
If you had SSH, you could go back and rewrite it back to the original.
If you can access your files, back them up on a USB, and reinstall your version of Raspbian.
I would like it for you to provide ...
2
votes
How to save session in Raspberry Pi?
It's unclear why you're just now looking for a solution, given the importance you attach to your files, and the impact of a loss. But I'll leave that for you to ponder. In the meantime, I would guess ...
2
votes
Autolaunch Programs on LXDE startup
You should edit ~/.config/lxsession/<profile>/autostart if you have it, or make sure it is removed if you need a global LXSession configuration for all users. If you happen to have both files, ...
1
vote
Autolaunch Programs on LXDE startup
I use crontab because it is simple and equally useful for running all kinds of automated scripts regardless of the Linux/Unix system you happen to be using. This is also answered on this question. ...
1
vote
How to save session in Raspberry Pi?
Perhaps ddrescue could be what you are looking for to recover the bits and pieces that you care about from the memory card.
https://www.gnu.org/software/ddrescue/
1
vote
Default applications for LXSession in Raspbian Stretch
Raspbian Jessie had Default Applications for LXsession installed by default, but Stretch and beyond do not.
To install:
sudo apt -y install lxsession-default-apps
When finished, it should display ...
1
vote
(xfce4-terminal) Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
You don't need a session manager if you don't use a desktop environment and just start individual GUI programs via SSH. The whole concept of a session is designed to give a user which is logged in ...
1
vote
(xfce4-terminal) Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
The easiest way for me and was a basic solution.
$ sudo apt-get install xrdp
$ sudo service xrdp start
Try do a Remote Connection.
I think was enough. :)
Best Regards
1
vote
Autolaunch Programs on LXDE startup
In the /etc/xdg/lxsession/LXDE-pi/autostart file, ${HOME} and ~/ don't seem to work. Instead, as a work around, put in an absolute path. The line should therefore look like:
@/home/<you>/....
1
vote
Accepted
Problem running a Python3 script at startup with lxsessions
When launched my script initializes the serial ports ttyACM*. After failing with lxsession/LXDE-pi/autostart I went to see the lxsession autostart log .cache/lxsesion/LXDE-pi/rpi.log. I found out my ...
1
vote
Problem running a Python3 script at startup with lxsessions
I suggest you try adding a simple app to your autostart file, e.g. leafpad, just to make sure it is still in use. If Leafpad won't run, you'll have to concentrate on your desktop environment / session ...
1
vote
Accepted
Start Ruby on Rails server after GUI login
With Joan's help the solution is to refer to the absolute path of rails rather than rely on rvm.
which rails - provides an absolute path, in my case /home/pi/.rvm/gems/ruby-2.5.3/bin/rails. You then ...
1
vote
Accepted
Opening more than one Chromium Window on startup
To open two chromium windows (and not have them "stick together" as 2 tabs in 1 window), simply add this to both commands in your lxsession autostart:
--new-window
I found that command line flag by ...
1
vote
Accepted
LXDE crashes randomly
After two days, and a lot of work troubleshooting, I've fixed the problem by:
a) Inserting my problematic disk into another computer
b) Unmounting the directory (it was automatically mounted) by ...
1
vote
Accepted
Missing lxsession in the home directory cd ~/.config
If you just want to prevent your Pi from going into sleep mode you could just change lightdm which manages sleep mode.
Go into the config file:
sudo nano /etc/lightdm/lightdm.conf
and add the ...
1
vote
Black screen with cursor after configuring LXDE-pi/autostart
If you have no luck with Synregy, perhaps you could try barrier. It is available via apt in Buster.
I tried out Synergy a while ago but it never really worked for me.
1
vote
Black Screen after changing .config/lxsession/LXDE-pi/autostart
I haven't used LXDE so far but from a graphical user interface usually you can get to a text console by pressing {ctrl}{alt}F1 (..F2-F6). When you can switch to it then login and repair the settings. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lxsession × 23lxde × 8
raspbian × 7
pi-3 × 3
boot × 3
ssh × 2
pi-3b+ × 2
raspbian-stretch × 2
script × 2
kiosk × 2
raspberry-pi-os-buster × 2
gpio × 1
python × 1
sd-card × 1
python-3 × 1
vnc × 1
noobs × 1
gui × 1
chromium × 1
terminal × 1
raspi-config × 1
sudo × 1
reboot × 1
ruby × 1
rdp × 1