Member

rej
I installed a snapshot of Xfce AntiX – with upgraded new kernel to another partition on the same device – Thinkpad T60p x64.
Installed Mate desktop through Package Installer.
Could not access Mate at log-in after installation. Tried to uncomment [Xfce] LightDM [user name and time out in “seat”] auto-login and when rebooted, only a command terminal appeared and would not accept my password for log-in.
Tried uninstalling Xfce after installing Mate – only the command terminal appeared and again would not accept my password.
Tried accessing through “other desktops”. Opens Xfce if Mate is selected.
Tried same with a snapshot of original but upgraded and updated IceWM desktop [without new kernel] – same result. Always logs in to Xfce or only command terminal.
Reloaded snapshot after each failed attempt.
Searched online – watched Dolphin’s desktop installation videos.
Changed User .desktop-session default-desktop from xfce to mate – still logged into xfce.
and [separately]
[Desktop]
Language=en_US.utf8
Session=lightdm-xsession
to
[Desktop]
Language=en_US.utf8
Session=lightdm-xsession=MATE
Still no mate.
Do I need to not upgrade the IceWM snapshot? Or start with a completely fresh install of AntiX?
Any help would be appreciated.
Thank you.
Forum Admin

Dave
Based on the use of the xsessions directory by lightdm and many other login managers, and that I have notice today slim also has the option…
Should we consider to modify the function of /usr/local/lib/desktop-session/desktop-session-slim-update.sh to build / update .desktop files?
This should make starting the “antiX sessions” after installing another window manager/login manager a little more manageable.
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
Forum Admin

Dave
Though I have not tried it you may be able to install / configure xinit-xsession so that you can load ~/.xinitrc from lightdm. Then you can symlink (or call in) /usr/local/bin/desktop-session with ~/.xinitrc. This should then work similar to slim by running desktop-session (to build the particular session) though you cannot choose which session directly from lightdm. Instead desktop-session will load the default session which is the last one used. Therefore to change to another session you would use the “desktop” menu under the root menu. If that works then you should specify xinit-xsession as the default in /etc/lightdm/lightdm.conf
Wow that is a lot of “sessions”.
No idea if this will actually work, you will need to try. It is kind of ass/u/me.d that if you are using another login manager you know what you need to adapt. Generally a different desktop environment is used…
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
Forum Admin

Dave
Are you using lightdm or another login manager?
I ask because as the error says you are missing the desktop code file. (I ASSume that the comma is a typo)
[Errno 2] No existe el fichero o directorio: /home/richard/. desktop-session/,desktop-code.0
My guess from that is slim is not being used and as a result is not invoking desktop-session. You can ” fix” it by making that file with the contents of “icewm”. Meanwhile I will see if I can fix the wallpaper app to load a default desktop when a code is not available.
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
Member

demoliveguything
Hello helpful people.
I’m fairly new to Linux and also new to forums in general, this being my first post ever…
Using antiX 17 live with persistence on a tiny 2 GB USB in a laptop with no hdd. I’m trying to make Chrome Remote Desktop work, and the info online says to create a virtual desktop session by looking in /usr/share/xsessions/ for the .desktop file for my preferred desktop environment (space-fluxbox) and creating a file called .chrome-remote-desktop-session in my home directory with the following content: exec /usr/sbin/lightdm-session “<YOUR_EXEC_COMMAND>”
What exactly should I put in that .chrome-remote-desktop-session file? I’ve tried a few options and none of them work:
exec /usr/sbin/lightdm-session “startfluxbox”
exec /usr/sbin/lightdm-session “/usr/bin/startfluxbox”
exec /usr/sbin/lightdm-session “omgjustwork”
etc
Note: I’m not interested in Vino or any other alternatives.
Forum Admin

Dave
Dave, thanks for helping. It sounds to me like you are saying that if I just want to run Icewm normally, I could run neither slim nor lightdm, and instead, just login and run the script?
What do you mean normally? Icewm is set to boot normally in antix by using slim with desktop-session under the name “icewm”; Either press f1 at the slim login or in the menu, under desktop -> other desktop -> icewm.
And if that worked, and I wanted to change my user login script to just make that script call whenever I logged in and the system runlevel was 5, what script would I need to change?
~/.bashrc IIRC, but you should make a separate script to call X with some conditional statements so that you can log into a console as well (I used a menu). Otherwise you will not be able to use a terminal or console unless X happens to crash….
I did try it, and was able to login without lightdm, and was able to run the script (with icewm as the parameter), and x comes up with icewm, but both the keyboard and mouse are both not working. I tried looking at the logs but found no errors that would tell me where to look.
Likely because you need to add your user to the input group, but you can find the X log at
/var/log/Xorg.0.log
or somewhere under
~/.local/
which should tell you if the xinput (or mouse / kbd /xevent /etc) driver is loaded or unloaded and why.
Maybe slim will get fixed, soon. If I understood the boot sequence, I would have a chance at tweaking and just setting the downloads variable for now…
Not sure what is broken in slim for a “normal” use of icewm for you? Maybe you have posted this elsewhere and could place a link to it?
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
Forum Admin

Dave
Not sure with lightdm, maybe in /etc/lightdm/lightdm.conf you could specify desktop-session as the login manager…. but I do not think lightdm will pass the correct information as it generates it’s own sessions where as a part of desktop-session generates the available sessions and inserts them into slim. You can use it apart from slim and lightdm by issuing the command
startx /usr/local/bin/desktop-session space-fluxbox
On the command line. I have set it in the past in a script to ask which session and start, and inserted a call to that script in my bashrc file
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown
Moderator

BobC
Question: I switched to lightdm, but I don’t think desktop-session is being run anymore, because I found that streamlight can’t save downloads because $XDG_DOWNLOAD_DIR isn’t set. I had to put things like conky into my .icewm/startup to get them to run. Should I just be running desktop-session someplace?