You are not logged in.

#1 2014-08-11 17:22:06

cb9
Member
Registered: 2013-01-22
Posts: 27

[Solved] New Install, Starting X automaticall after startup.

Hi,

I have installed Arch linux with Openbox yesterday. I have not set it up completely yet. I have added exec openbox-session to ~/.xinitrc


#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice


exec openbox-session

But everytime I start my laptop, I have to manually start X using startx. How can I automatically start X whenever I boot system.

Thanks

Last edited by cb9 (2014-08-11 17:47:52)

Offline

#2 2014-08-11 17:41:40

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] New Install, Starting X automaticall after startup.

It's clearly explained in the wiki.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2014-08-11 17:42:06

torors
Member
Registered: 2012-09-28
Posts: 106

Re: [Solved] New Install, Starting X automaticall after startup.

Offline

#4 2014-08-11 17:47:24

cb9
Member
Registered: 2013-01-22
Posts: 27

Re: [Solved] New Install, Starting X automaticall after startup.

Thanks.

Offline

Board footer

Powered by FluxBB