Xorgs error while installing dwm

I was trying to install dwm( dynamic windows manager ) , Now when I use plasma i get an initial error on the terminal everytime I open it .
I added the line startx to .bash_profile and .bashrc according to the tutorial I was following for installing dwm .
I did install xorgs and related packages using the command -
sudo pacman -Sy xorg-server xorg-xinit libx11 libxinerama libxft webkit2gtk
Error encountered :-
/usr/lib/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn’t get a file descriptor referring to the console.

I am quite new to manjaro , your help would be appreciated !!!

To solve this I had to remove the startx line from .bashrc

Also … do not use pacman this way.
It is a recipe for a partial-upgrade which is unsupported.
Either use -S alone, or update along with db refresh -Syu.

(there are very specific examples when this can be ignored - such as fixing broken keyrings)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.