You are not logged in.

#1 2024-02-28 09:15:36

milo-diaz
Member
Registered: 2024-02-28
Posts: 6

How to use xinitrc file for different user to use different WM.

How to use xinti file to start window manager in arch i am stuck in between diplay manager and xinit. Like i have installed arch linux with window manager "DWM" and i create two user and now i want to try other window manager like "xmonad , awesome ,etc " and some desktop enviornment so when i use a dispaly manager like "lightdm"  it does show me xmonad but not showing DWM in user session and i tried to download other like "xfce4 " lightdm show me xmonad and lightdm in user-session but not showing me my dwm . I want to keep dwm as my default and want to use other user for using other desktop enviornment and window manager what should i do . And i also tried it with xinitrc file but in second user xmonad does not work and dwm does for that . Need help any one i am new to arch linux

Offline

#2 2024-02-28 10:20:33

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 134
Website

Re: How to use xinitrc file for different user to use different WM.

First of all, if you want to use xinit, you need to get rid of lightdm.

So, you want to use each WM with different users, like UserA with WM1 and User2 with WM2, right? for that create and configure a xinitrc file for each user.

UserA will have a xinitrc file in

/home/UserA/.xinitrc

and UserB in

/home/UserB/.xinitrc

Every time you want to test WM1, log in with UserA; every time you want to test WM2, log in with UserB.
It will be different if you want to test multiple WMs with the SAME user. In that case, follow this.

If you still have issues, post detail info, like your xinitrc file, what strategy are you following, log errors, etc, so we can see what's the exact issue.


I'm just someone. Please use [code] [/code] tags.

Offline

#3 2024-02-28 14:18:21

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

Re: How to use xinitrc file for different user to use different WM.

There is no need to have different users just to use different WMs.

You can have many different WMs installed and select which one to use each time under the same user.  You can even have the same user logged in multiple times simultaneously to different WMs on different ttys if you really wanted.


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

Offline

Board footer

Powered by FluxBB