Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
greetd+tuigreet: unusable... [pending]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Tue Nov 23, 2021 10:30 am    Post subject: greetd+tuigreet: unusable... [pending] Reply with quote

A couple of problems here:

In value or position keystroke random erroneous interpretation in:
login/passwoard.
CR keystroke effect.
Within session selection(F3)

On the left border of the screen, login or password prompt may appear, likely depending on the in pregress input step.

Things are so unstable, in a row attempts limit may be hit before session does start, triggering postponing next attempt for a couple of mn.

It seems like some forum buddies are using it...

Using openrc here, what could I be missing here? No go systemd may be :roll:?

Side note: In an attempt to fix, I pulled gui-apps/tuigreet: version bump to 0.7.1 which fails to import some of the referenced 'crates' here.

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.


Last edited by CaptainBlood on Thu Nov 25, 2021 6:42 pm; edited 2 times in total
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Thu Nov 25, 2021 4:36 pm    Post subject: Reply with quote

I sometimes lose the login or password prompt, but if I just ignore it and type username<ENTER>password<ENTER> it logs in.
I think we have some variable(s) or virtual console settings wrong.

I'll try to tinker with greetd+tuigeet to get it working propely...
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Thu Nov 25, 2021 5:21 pm    Post subject: Reply with quote

At least, I feel not being alone having problem of some sort...

Looking forward to have a fully functionnal text only session manager, which would fit my low memory preference:

I'll be waiting for 0.7.1 in portage tree, hoping it to fix..

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Thu Nov 25, 2021 6:05 pm    Post subject: Reply with quote

One possible solution would be to set some sane values with stty before greetd starts tuigreet.

EDIT: Since tuigreet uses ncurses I think it does set some sane defaults too...
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Thu Nov 25, 2021 6:46 pm    Post subject: Reply with quote

For the record, github bug report
Unure if that's the source of my issues.

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Thu Dec 02, 2021 9:36 am    Post subject: Reply with quote

Thks to upstream gui-apps/tuigreet-0.7.1 unstable has been merged in portage tree.
Not stable enough to remove OP |pending] state here. :(

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Wed Feb 23, 2022 5:10 pm    Post subject: Reply with quote

0.7.2 of tuigreet has been released (also in gentoo repo).
I haven't yet tested it. Does it fix this, CaptainBlood?
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Wed Feb 23, 2022 6:32 pm    Post subject: Reply with quote

Zucca,
untested yet...
Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Wed Feb 23, 2022 6:54 pm    Post subject: Reply with quote

As desapointing as before...
Things are runniing so bad, keystroke, session selection list browsing, etc...
I hardly believe someone can dev & publish such a garbage.
Beginning to think many unspecified things here may mismatch upstream env...

I may be doing things so wrongly here, though...

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Wed Feb 23, 2022 7:19 pm    Post subject: Reply with quote

Upstream report
Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Sun Feb 27, 2022 11:58 am    Post subject: Reply with quote

I just tested it too.
  • "Username" gets displayed only after I have typed the username + <ENTER>
    • ... exactly the same for password input
  • Text input field gets cut at least on the command input field, so that it is cumbersome to type longer file path.
Are these also the symptoms you have on your machine, CaptainBlood?

EDIT to add:
package versions:
gui-apps/tuigreet-0.7.2
gui-libs/greetd-0.7.0


Anyways, I normally prefer agreety, since it gives me more flexibility (I can, for example force user to use specific gui using only a simple shell script.) But tuigreet looks "nicer".
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Sun Feb 27, 2022 3:15 pm    Post subject: Reply with quote

Somehow worse alike...
openrc here, wondering if systemd is expected?
Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Sun Feb 27, 2022 4:29 pm    Post subject: Reply with quote

CaptainBlood wrote:
openrc here, wondering if systemd is expected?
OpenRC (with openrc-init too) here too. I don't think systemd is a requirement, but systemd may set some virtual console settings correctly (in favor of tuigreet) at boot. I'm just guessing here.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Sun Feb 27, 2022 5:39 pm    Post subject: Reply with quote

gentoo bug report & patch
Didn't change anything here...
Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Sun Feb 27, 2022 9:04 pm    Post subject: Reply with quote

CaptainBlood wrote:
dlm upstream as a, alternative to tuigreet.
Should have posted to tuigreet post, sorry.
Thks 4 ur attention, interest & support.
Yeah. I guess I could create an ebuild... I'll try to work on it in next few days.

EDIT: Oh it's a rust program. This might be PITA to accomplish.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Sun Feb 27, 2022 9:11 pm    Post subject: Reply with quote

Zucca wrote:
CaptainBlood wrote:
dlm upstream as a, alternative to tuigreet.
Should have posted to tuigreet post, sorry.
Thks 4 ur attention, interest & support.
Yeah. I guess I could create an ebuild... I'll try to work on it in next few days.

EDIT: Oh it's a rust program. This might be PITA to accomplish.
Expected: mainly why I tried passing the buck :wink:
Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Sun Feb 27, 2022 10:15 pm    Post subject: Reply with quote

There's hope...
https://gitweb.gentoo.org/proj/cargo-ebuild.git/tree/README.md
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Sun Feb 27, 2022 10:33 pm    Post subject: Reply with quote

Hey, your link ... I'm totally lost there... :oops:
Believing you saying there's hope... :roll:

I may soon try to do it in my local repo my old fashion way, though...

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Mon Feb 28, 2022 3:17 pm    Post subject: Reply with quote

CaptainBlood wrote:
I'm totally lost there... :oops:
It's a program that helps creating rust ebuilds.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Mon Feb 28, 2022 6:26 pm    Post subject: Reply with quote

Zucca wrote:
It's a program that helps creating rust ebuilds.
Nice to confirm my guess... :o
Didn't do my homework investigating any further... :?
EDIT:
Code:
eix cargo-ebuild
* dev-util/cargo-ebuild
     Available versions:  ~0.4.0 (~)0.5.0 {debug}
     Homepage:            https://gitweb.gentoo.org/proj/cargo-ebuild.git
     Description:         Generates an ebuild for a package using the in-tree eclasses
Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Mon Feb 28, 2022 6:37 pm    Post subject: Reply with quote

Zucca wrote:
CaptainBlood wrote:
dlm upstream as a, alternative to tuigreet.
Should have posted to tuigreet post, sorry.
Thks 4 ur attention, interest & support.
Yeah. I guess I could create an ebuild... I'll try to work on it in next few days.

EDIT: Oh it's a rust program. This might be PITA to accomplish.
Aaaaaaand, I'm not too keen creating an ebuild for it anymore:
greetd wiki wrote:
The currently known greeters are:
  • agreety (text-based, included with greetd)
  • gtkgreet (graphical, Gtk-based)
  • wlgreet (graphical, raw Wayland client)
  • dlm (graphical, raw fbdev client, semi-deprecated)
  • tuigreet (console UI)

(Embhasis mine)

*sigh*
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Mon Feb 28, 2022 9:18 pm    Post subject: Reply with quote

cargo-ebuild installed here...
Cloned dlm and created ebuild successfully; as far as crates are concerned...
Couldn't set SRC_URI to find package.tar.gz.
Had to manually create tar.gz in /var/cache/distfiles
Once Manifest created, keyworded ebuild & tested:
Failed to build.
0.1.0 seems unachieved.

At least I've learned about cargo-ebuild.

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3311
Location: Rasi, Finland

PostPosted: Tue Mar 01, 2022 2:57 pm    Post subject: Reply with quote

But really... Out of these greeters, agreety seems to be most customizable.
I command agreety to run custom script using --cmd which checks the UID among other things and then execs the desired wm/de/shell. The only drawback with agreety is that it lookg crude... Well, it's a agetty clone (kinda) after all.
But I go with function over form route. ;)
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Mon Jun 20, 2022 4:11 pm    Post subject: Reply with quote

Recently installed alternative, with no ebuild yet.

Feel free to search in issues for an /etc/init.d/ly script link, and other gentoo related.

Working good enough to stay here, despite not compatible with gui-libs/display-manager-init :(.

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3561

PostPosted: Mon Jun 20, 2022 5:17 pm    Post subject: Reply with quote

More openrc friendly fork
requires
Code:
sudo make installopenrc
tty7 hardcoded in openrc init script =>
Code:
grep tty /etc/ly/config.ini
# tty in use
tty = 7
here to make it work.
Thks 4 ur attention, interest & support
_________________
USE="-*" in /etc/portage/make.conf here.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum