You are not logged in.

#1 2018-12-27 23:27:44

gonzalo2099
Member
Registered: 2018-12-27
Posts: 15

Archiso troubles with startx on boot

hi to everyone, since the last updates i'm getting troubles with archiso to start X on boot. Before all was working fine and without any problem, something has changed on scripts and needs to be done in a different way???
Now when i try to startx on boot is not possible. I write down my configuration, maybe someone knows how to solve it.

customize_airootfs:
-systemctl enable sddm ( my display manager )
-systemctl set-default graphical.target

iso user configurations:

-  ~/.xinitrc  ->  exec startkde
-  ~/.bash_profile ->  i added the following to the default :  exec startx

Last edited by gonzalo2099 (2018-12-27 23:28:08)

Offline

#2 2018-12-27 23:58:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Archiso troubles with startx on boot

Not a Programming issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-12-28 00:05:29

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

Re: Archiso troubles with startx on boot

So are you starting X via startx in the bash_profile or via sddm?  Do you have an autologin set up for the user whose bash_profile you added that to?


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

Offline

#4 2018-12-28 00:33:56

gonzalo2099
Member
Registered: 2018-12-27
Posts: 15

Re: Archiso troubles with startx on boot

now that i had that problems, im trying both. I have and autologin in sddm for the liveuser and in bash_profile i just have the following:

#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
fi

Offline

#5 2018-12-28 08:36:20

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

Re: Archiso troubles with startx on boot

"exec startkde" is not a sane xinitrc, see https://wiki.archlinux.org/index.php/Xinit#xinitrc and pay attention to the second note box.

Overmore you've provided no usable failure data (Xorg log, error messages on the console, …) - "It does not work" is because "you're doing it wrongly", there could be a gazillion of issues from kernel updates to package splits, so for an informed comment, you'll have to post logs and error messages. You can use https://wiki.archlinux.org/index.php/Pastebin

Offline

Board footer

Powered by FluxBB