You are not logged in.

#1 2023-01-06 11:58:43

rupeshforu3
Member
Registered: 2023-01-06
Posts: 63

starting window manager from non gui login prompt arch Linux

Hi I am Rupesh from India and I have a system with Intel i3 10th generation processor and a crt monitor. I have installed Arch Linux along with windows 11. At present current kernel version is 6.1.

Everything is working fine I mean I am able to login using sddm display manager into kde plasma and gnome desktop environments and do some work. Yesterday I have installed window managers like awesome, black box etc., Some of these window managers like awesome have an entry in sddm but others like blackbox don't have.

Now my requirement is I want to use blackbox, aewm and so upon booting process has been completed and seeing sddm display manager I have pressed Ctrl alt F2 and I got command line login prompt and I have entered my username and password and after that I have entered command blackbox but I am getting errors.

Upon entering the commands of window managers like blackbox aewm I am getting errors as

can't open display check your DISPLAY variable

After that I have exported display variable to screen 0 and issued same command as before but I am getting error as "Invalid MIT-MAGIC-COOKIE-1 key".

I am showing whole process as below.

Arch Linux 6.1# login
password

$ aewm++
can't open display check your DISPLAY variable

$ export DISPLAY=:0
$ aewm++
 Invalid MIT-MAGIC-COOKIE-1 key
can't open display check your DISPLAY variable

The same thing is happening when I issue the command startplasma-x11.

Kindly try to suggest how to set display variable properly and are there any things to do inorder to use other window managers which does not have an entry in sddm display manager.

May I know how to add an entry for blackbox in sddm display manager ie., how to create a file in /usr/share/xsessions.

If you can't suggest everything atleast try to refer a small manual or link in internet so that I can follow.

Regards,
Rupesh.

Offline

#2 2023-01-06 12:12:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,708

Re: starting window manager from non gui login prompt arch Linux

The normal way of starting standalone window managers from the terminal is via startx/xinit, make sure you follow the instructions/blue notes here for initial setup of the xinitrc: https://wiki.archlinux.org/title/Xinit

Last edited by V1del (2023-01-06 12:14:19)

Online

#3 2023-01-06 12:32:30

rupeshforu3
Member
Registered: 2023-01-06
Posts: 63

Re: starting window manager from non gui login prompt arch Linux

I the link provided by you I found as

startx /path/to/window/manager/name

It's somewhat helpful.

May I know how to add an entry in sddm display manager.

Offline

#4 2023-01-06 12:33:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,708

Re: starting window manager from non gui login prompt arch Linux

Online

#5 2023-01-06 13:18:14

rupeshforu3
Member
Registered: 2023-01-06
Posts: 63

Re: starting window manager from non gui login prompt arch Linux

Hi at present I am able to launch window manager from tty2.

May I know how to make monitor display resolution as 1024*768 to all desktop environments and window managers. At present each and every time when I login to a desktop environment or window manager the default resolution is 800*600. Each and every time I have to change resolution using tools such as arandr or monitor settings.

Another issue is as I am using sddm display manager and my system has 3 users added. Each and every time when my system gets booted it shows only one user which was created during installation. I mean it can't remember and show last user login.

Last edited by rupeshforu3 (2023-01-06 13:19:07)

Offline

#6 2023-01-06 13:39:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,708

Re: starting window manager from non gui login prompt arch Linux

Please make seperate threads for unrelated questions in the future and mark this one as [SOLVED] if the original question is answered. For the "current" set:

  1. Sounds like KMS kicking in late: https://wiki.archlinux.org/title/Kernel … _KMS_start

  2. Are the users not visible at all or simply the last logged in user not deected? If the former https://wiki.archlinux.org/title/SDDM#O … he_greeter if the latter make sure rememberuser is enabled in the sddm.conf and maybe pos a

    sudo journalctl -b

    https://wiki.archlinux.org/title/List_o … n_services

Online

#7 2023-01-06 14:20:03

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

Re: starting window manager from non gui login prompt arch Linux

In addition to making seperate threads for unrelated questions, be sure to search the wiki prior for each question first.  So far everything you've asked is very clearly outlined in the wiki.  Some of these questions are even addressed by articles linked from the "general recommendations" section of the wiki which is linked to by the end of the installation guide.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2023-01-06 14:55:51

rupeshforu3
Member
Registered: 2023-01-06
Posts: 63

Re: starting window manager from non gui login prompt arch Linux

Sorry I am new to this forums and I have not thought to create separate threads for just one simple question.

I am new to Unix concepts and you know everything about where to search for troubleshooting etc., and at present I am learning how Linux boots etc., and it will make some time to know the basics and then advanced topics.

Thanks for your patience.

Offline

#9 2023-04-02 16:10:18

PhilWill22
Member
Registered: 2023-04-02
Posts: 1

Re: starting window manager from non gui login prompt arch Linux

rupeshforu3 wrote:

Sorry I am new to this forums and I have not thought to create separate threads for just one simple question.

I am new to Unix concepts and you know everything about where to search for troubleshooting etc., and at present I am learning how Linux boots etc., and it will make some time to know the basics and then advanced topics.

Thanks for your patience.

You're new? You've been posting on many other forums for at least 10yrs now. opensuse forums, linux.org, unix.com, linuxquestions, and others. You've done this same junk
for a long time, with the "I'm new" and asking for scripts and handouts and not showing that you've done much of anything. All these questions were easily found if you tried
to do anything for yourself.

This you?
https://forums.fedoraforum.org/member.p … upeshforu3   (registered 2013? that's 10yrs isn't it?)
https://geek.digit.in/community/threads … ux.212151/ 
https://techenclave.com/members/rupeshforu3.89235/
https://community.unix.com/t/starting-w … nux/389464

Last edited by PhilWill22 (2023-04-02 16:16:37)

Offline

#10 2023-04-02 18:20:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,784

Re: starting window manager from non gui login prompt arch Linux

PhilWill22, my primary concern is why you found it necessary to register to call someone out in your first post for a statement made three months ago which had received no response.

I am going to close this old thread.  rupeshforu3, if you need to reopen this thread, use the report link and drop a note for the moderators.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB