You are not logged in.

#1 2023-05-29 13:01:39

fhhw
Member
Registered: 2023-05-29
Posts: 2

Differences between startx and display managers

I want to know differences between startx and display managers when it starts a GUI session. There are some answers when I search the issuse in Google, such as https://unix.stackexchange.com/question … ay-manager. But the answer dosn't solve the problem I meet. When I use startx to start a GUI session, some applications may cause problems, for example, the application associated with gtk2 will start very slowly (Maybe this problem is caused by dbus). And some application may not work, such as sunloginclient (a remote control software). But these won't appear when using display managers (such as gddm), I want to know what is causing this problem.

Offline

#2 2023-05-29 13:10:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,734

Re: Differences between startx and display managers

last link below.
Post your xinitrc in doubt, but from the symptoms, you're not importing the session environment.

Offline

#3 2023-05-29 13:20:32

fhhw
Member
Registered: 2023-05-29
Posts: 2

Re: Differences between startx and display managers

My .xinitrc file is:

#! /bin/sh
[ -f ~/.xprofile ] && . ~/.xprofile
# exec bspwm

exec bspwm

and my .xprofile is:

#!/bin/sh
xrdb -merge ~/.cache/colorer/Xresources
# lock-screen-timer &
# timemanager &
# setxkbmap fr
xsetroot -cursor_name left_ptr
xset +fp /usr/share/fonts/misc/
xset fp rehash
xset b off

Offline

#4 2023-05-29 13:27:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,484
Website

Re: Differences between startx and display managers

Follow the last link in seth's signature as you were advised.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB