[SOLVED]Installing another WM/DE not listed at fresh install

If none of the more specific forums is the right place to ask

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby cds60601 » 2019-06-19 12:24

Final update:

I spent the evening last night doing pretty much what Garry outline. A fresh install/setup/tweak took about as long as say an install with Gnome without the setup/tweaking.
That being said the big difference; I was able do so with about 1000 packages less than the previous (my initial setup with the basic Gnome desktop).

This this was a huge time saver considering that ALL was done in less time. So, now I know how to deal with the remaining devices I still have yet to do.


Again, thanks to all that offered up knowledge on this.
C.
Server: Debian 10, Workstation: Debian Sid (BSPWM)
Laptop: Debian Sid (BSPWM)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 199
Joined: 2017-11-25 05:58
Location: Tampa, Florida

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby Head_on_a_Stick » 2019-06-19 16:46

Don't use SLiM, it's been dead upstream for years now and it doesn't support systemd login sessions correctly.

And don't use LightDM because it runs X as root, either use GDM instead or run without a display manager and add this line to ~/.profile to start the desktop automatically upon login to TTY1:
Code: Select all
[ $(tty) = /dev/tty1 ] && exec startx

To change desktops without a display manager use
Code: Select all
# update-alternatives --config x-session-manager

Or create a file at ~/.xsession to launch your chosen window manager; ~/.xinitrc could be used instead if a very basic environment is wanted — .xsession will start all the programs that a display manager would start but .xinitrc will only start what is listed in the file and nothing else.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12777
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby cds60601 » 2019-06-19 20:19

Head_on_a_Stick wrote:Or create a file at ~/.xsession to launch your chosen window manager; ~/.xinitrc could be used instead if a very basic environment is wanted — .xsession will start all the programs that a display manager would start but .xinitrc will only start what is listed in the file and nothing else.


Yup yup - removed lightdm in favor of using startx. All done!!!

C
Server: Debian 10, Workstation: Debian Sid (BSPWM)
Laptop: Debian Sid (BSPWM)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 199
Joined: 2017-11-25 05:58
Location: Tampa, Florida


Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby Bulkley » 2019-06-19 23:22

cds60601 wrote:Yup yup - removed lightdm in favor of using startx. All done!!!

Want to save yourself some keystrokes or just personalize startx? In ~/.bashrc scroll down to "# some more ls aliases". Add this:
Code: Select all
alias sx="startx"
You can change sx to whatever you want. Of course, this depends upon having ~/.bashrc. If not, there is probably a substitute.
Bulkley
 
Posts: 6017
Joined: 2006-02-11 18:35

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby Head_on_a_Stick » 2019-06-20 15:43

Bulkley wrote:Want to save yourself some keystrokes

The OP doesn't need to run startx manually, my suggested line in ~/.profile will launch it for them automatically if they login to TTY1.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12777
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby anticapitalista » 2019-06-20 20:18

Head_on_a_Stick wrote:Don't use SLiM, it's been dead upstream for years now and it doesn't support systemd login sessions correctly.



Hey, that's a feature! :lol:
antiX with runit - lean and mean.
https://antixlinux.com
anticapitalista
 
Posts: 389
Joined: 2007-12-14 23:16

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby sickpig » 2019-06-21 05:35

endangered one albeit :D
User avatar
sickpig
 
Posts: 589
Joined: 2019-01-23 10:34

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby Head_on_a_Stick » 2019-06-21 15:54

anticapitalista wrote:Hey, that's a feature!

But surely the only way to get SLiM working would be to use ConsoleKit and that is also dead upstream and long abandoned.

Using those two together would be like running the Desktop of the Walking Dead, can you imagine such a thing? Oh, wait... :mrgreen:
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12777
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby cds60601 » 2019-06-28 12:29

Head_on_a_Stick wrote:Or create a file at ~/.xsession to launch your chosen window manager; ~/.xinitrc could be used instead if a very basic environment is wanted — .xsession will start all the programs that a display manager would start but .xinitrc will only start what is listed in the file and nothing else.


HoaS - This is what I am doing currently (using .xsession). So my question; since .xsession would also be calling up .xprofile, would the listing below look correct for calling up both gnome polkit and keyring?

Code: Select all
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets &


Still having that issue of having to enter the creds on either login or reboot after logging into X.
I do have your suggestion of the export line before calling startx but there sees to be some error I can't manage to catch before X kicks in.

Edit: the error mentioned before startx, I was calling mpd when in fact it was previously called. So that error is moot now. Just puzzled on the key ring. The Pam bits seem to be in place so I am just stumped.
Server: Debian 10, Workstation: Debian Sid (BSPWM)
Laptop: Debian Sid (BSPWM)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian
User avatar
cds60601
 
Posts: 199
Joined: 2017-11-25 05:58
Location: Tampa, Florida

Re: [SOLVED]Installing another WM/DE not listed at fresh ins

Postby Head_on_a_Stick » 2019-06-28 19:40

cds60601 wrote:
Code: Select all
/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets &

Try this instead:
Code: Select all
export $(gnome-keyring-daemon --start --components=pkcs11,secrets)

No need for an ampersand — run lines in a terminal to test for this: if the prompt is returned then an ampersand is not needed.

Also note that ~/.xprofile is not read if a console login & startx is used, add stuff to ~/.profile instead (before the startx line).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12777
Joined: 2014-06-01 17:46
Location: /dev/chair

Previous

Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable