Skip to main content
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 ...
Trooper Z's user avatar
  • 168
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 ...
Seamus's user avatar
  • 22.8k
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, ...
Dmitry Grigoryev's user avatar
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. ...
ow3n's user avatar
  • 111
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/
eftshift0's user avatar
  • 780
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 ...
Botspot's user avatar
  • 1,809
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 ...
Dmitry Grigoryev's user avatar
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
danuel's user avatar
  • 19
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>/....
Raymond Burkholder's user avatar
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 ...
parovelb's user avatar
  • 157
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 ...
Dmitry Grigoryev's user avatar
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 ...
Oliver Trampleasure's user avatar
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 ...
Botspot's user avatar
  • 1,809
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 ...
user96931's user avatar
  • 739
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 ...
VTMExpor's user avatar
  • 166
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.
Dmitry Grigoryev's user avatar
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. ...
Ingo's user avatar
  • 42.6k

Only top scored, non community-wiki answers of a minimum length are eligible