[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Don't want a desktop environment



green wrote:
> If you want to be automatically logged in without authentication, try
> the nodm package.  Otherwise, I do not know much about slim; can you
> try running `dpkg-reconfigure slim` as root?

Previously I have used the lightdm graphical login manager for setting
up "kiosk mode".  In the /etc/lightdm/lightdm.conf file set the
autologin-user variable and it will automatically log in.

File /etc/lightdm/lightdm.conf snippet:
  [SeatDefaults]
  autologin-user=yourusernamehere

I had not heard of nodm before.  Interesting.  Thanks for mentioning
it.

> You probably want to create a file `~/.xsession` (that is, `.xsession`
> in your $HOME) containing `exec i3wm`.  If you add other startup
> commands later, they should go *before* this line.

I like using $HOME/.xsession but there are some pitfalls.  We should
create a wiki page devoted to the proper use of it.  It has subtle
behavior and often confuses users.

Alternatively you can configure i3 as the default x-window-manager.

  $ update-alternatives --display x-window-manager

  # update-alternatives --config x-window-manager

Configuring i3 will set it up as the default window manager.  If that
is the only reason for $HOME/.xsession then that is not needed.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: