You are not logged in.

#1 2004-07-14 06:13:39

seratne
Member
Registered: 2004-02-06
Posts: 21

[request] qingy

http://qingy.sourceforge.net/

It's a graphical agetty replacement that uses directfb.

Offline

#2 2004-08-01 17:07:02

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: [request] qingy

hello seratne
i like that app too and made an PKGBUILD for it the other day, but of some weird reason i just get a black screen sad
here it is anyway:

pkgname=qingy
pkgver=0.4.1
pkgrel=1
pkgdesc="Qingy is a DirectFB getty replacement."
url="http://qingy.sourceforge.net"
license="GPL-2"
depends=('directfb>=0.9.18' 'pam>=0.75')
makedepends=('pkgconfig>=0.12')
conflicts=()
replaces=()
backup=()
install=
source=(http://switch.dl.sourceforge.net/sourceforge/qingy/$pkgname-$pkgver.tar.bz2)
md5sums=(3ed80b873d0f90e73f825fd5c5ccd12b)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sbindir=/sbin 
                --enable-optimizations 
                --enable-pam 
                --disable-static-build 
                --enable-gpm-lock
  make || return 1
  make prefix=$startdir/pkg/usr install
}

#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#3 2004-08-01 17:11:36

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: [request] qingy

also adding an directfb PKGBUILD, a slightly modified version of  phunni's.
(http://bbs.archlinux.org/viewtopic.php?t=5908&

pkgname=directfb
pkgver=0.9.20
pkgrel=1
pkgdesc=" DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, integ
rated windowing system with support for translucent windows and multiple display layers on top of the Linux Framebuffer Device.
"
url="http://www.directfb.org"
license="LGPL-2"
depends=()
#depends=('perl' 'sdl' 'libpng' 'libungif' 'libjpeg' 'freetype2')?
makedepends=('freetype2' 'libjpeg' 'libpng' 'zlib')
conflicts=()
replaces=()
backup=()
install=$pkgname.install
source=(http://www.directfb.org/download/DirectFB/DirectFB-$pkgver.tar.gz)
md5sums=('e42e8ae43f0ad873643f73cc0a9ae7d0')

build() {
  cd $startdir/src/DirectFB-$pkgver
  ac_cv_header_linux_wm97xx_h=no ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
} 

#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#4 2004-08-01 23:06:06

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: [request] qingy

I installed this, and changed my inittab, but it does not work. Qingy restarts all the time, and does not let me do anything. Is there a way to go back to agetty? (I can't log in to change my inittab).


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#5 2004-08-02 15:05:33

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: [request] qingy

adding an tailing "1" or "single" at the end of your lilo or grub kernel boot line should let you change inittab back whitout problems.

!!Warning!! all users who would like to test this, it does not seem to be working correctly, at least not in arch(?!), even if it worked fine for me on gentoo....
do not make qingy load at tty1 (vc/1) at default before you know it is working


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#6 2004-08-02 20:16:52

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: [request] qingy

hiower4 wrote:

adding an tailing "1" or "single" at the end of your lilo or grub kernel boot line should let you change inittab back whitout problems.

I'm using the grafical lilo, and it doesn't let me do that...

EDIT: Fixed it with amlug live cd.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#7 2004-08-03 08:21:01

hiower4
Member
Registered: 2004-07-31
Posts: 38

Re: [request] qingy

I'm using the grafical lilo, and it doesn't let me do that...

hmm, i was almost 100 per cent sure that lilo do let you change your boot line....but then, i use grub, so i could be wrong... roll
good that you got it fixed though smile


#348498 +(4737)- [X]

<MasterG> .....................................................................
          ..................................
<judas> where's pacman when you need him?

Offline

#8 2004-08-03 20:59:59

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: [request] qingy

the problem is that graphical lilo, does not let you write the kernel Image you wan't to boot, it just let's you choose from a list. Saint google told me Ctrl-X would quit graphical LILO, to text, but it did not work.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#9 2004-08-11 18:25:50

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: [request] qingy

Hi! I got several problems with this. First i couldnt build a package with the PKGBUILD because make install also wants to write /etc/pam.d/qingy (instead of $startdir/pkg/etc/pam.d/qingy). The file would also be missing in the resulting FILELIST... Anyway I installed it manually with prefix=/usr/local and it works quit good, but when I try to login, I get a login failed and in the logs I found this messages:

Aug 11 20:18:08 nadja qingy: PAM unable to dlopen(/lib/security/pam_stack.so)
Aug 11 20:18:08 nadja qingy: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: No such file or directory]
Aug 11 20:18:08 nadja qingy: PAM adding faulty module: /lib/security/pam_stack.so
Aug 11 20:18:08 nadja qingy: PAM unable to dlopen(/lib/security/pam_console.so)
Aug 11 20:18:08 nadja qingy: PAM [dlerror: /lib/security/pam_console.so: cannot open shared object file: No such file or directory]
Aug 11 20:18:08 nadja qingy: PAM adding faulty module: /lib/security/pam_console.so
Aug 11 20:18:11 nadja qingy[8593]: PAM unable to dlopen(/lib/security/pam_stack.so)
Aug 11 20:18:11 nadja qingy[8593]: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: No such file or directory]
Aug 11 20:18:11 nadja qingy[8593]: PAM adding faulty module: /lib/security/pam_stack.so
Aug 11 20:18:11 nadja qingy[8593]: PAM unable to dlopen(/lib/security/pam_console.so)
Aug 11 20:18:11 nadja qingy[8593]: PAM [dlerror: /lib/security/pam_console.so: cannot open shared object file: No such file or directory]
Aug 11 20:18:11 nadja qingy[8593]: PAM adding faulty module: /lib/security/pam_console.so
Aug 11 20:18:15 nadja qingy[8593]: PAM unable to dlopen(/lib/security/pam_stack.so)
Aug 11 20:18:15 nadja qingy[8593]: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: No such file or directory]
Aug 11 20:18:15 nadja qingy[8593]: PAM adding faulty module: /lib/security/pam_stack.so
Aug 11 20:18:15 nadja qingy[8593]: PAM unable to dlopen(/lib/security/pam_console.so)
Aug 11 20:18:15 nadja qingy[8593]: PAM [dlerror: /lib/security/pam_console.so: cannot open shared object file: No such file or directory]
Aug 11 20:18:15 nadja qingy[8593]: PAM adding faulty module: /lib/security/pam_console.so
Aug 11 20:18:24 nadja qingy[8593]: PAM unable to dlopen(/lib/security/pam_stack.so)
Aug 11 20:18:24 nadja qingy[8593]: PAM [dlerror: /lib/security/pam_stack.so: cannot open shared object file: No such file or directory]
Aug 11 20:18:24 nadja qingy[8593]: PAM adding faulty module: /lib/security/pam_stack.so
Aug 11 20:18:24 nadja qingy[8593]: PAM unable to dlopen(/lib/security/pam_console.so)
Aug 11 20:18:24 nadja qingy[8593]: PAM [dlerror: /lib/security/pam_console.so: cannot open shared object file: No such file or directory]
Aug 11 20:18:24 nadja qingy[8593]: PAM adding faulty module: /lib/security/pam_console.so

Any ideas?

edit: tried to compile with shadow instead of PAM. Now login still doesnt work but no error messages appear in /var/log... Strange hmm

Offline

#10 2004-08-11 19:23:18

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: [request] qingy

try changing the make install line of the build to:

make DESTDIR=$startdir/pkg install

and change the prefix line in the configure area back to /usr. other that  in order for it to swim with pa,m support i would expect you need the file generated during the build.


AKA uknowme

I am not your friend

Offline

#11 2004-08-11 21:51:05

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: [request] qingy

Okay with the make DESTDIR thing I was able to make a good package. But PAM still isn't working. The two files just don't exist. This seems to be a problem with the arch PAM package because other distributions have them included, see fedora for example:

http://www2.linuxforum.net/RPM/pam_console.so.html
http://www2.linuxforum.net/RPM/pam_stack.so.html

[delmonico@nadja ~]$ pacman -Q pam
pam 0.77-6
[delmonico@nadja ~]$ locate pam_console
[delmonico@nadja ~]$ locate pam_stack
(nothing... just nothing... wink)

Offline

#12 2004-08-15 00:01:11

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: [request] qingy

Any ideas? I really want... no... I fuckin' *NEED* this beautiful qingy thing wink

Offline

#13 2004-10-13 20:42:37

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: [request] qingy

Hey, i was installing qingy, and i think i finally resolved the PAM issue, basically it seems arch's pam doesn't have pam_stack.so, so if you copy /etc/pam.d/login's contents and use that in /etc/pam.d/qingy instead of what is in /etc/pam.d/qingy now, it should work.. It's pretty kick ass.

Offline

#14 2004-10-14 06:46:24

seratne
Member
Registered: 2004-02-06
Posts: 21

Re: [request] qingy

After much help and anticipation a complete working PKGBUILD.  If you're using udev qingy only seems to work with the tty[1-6] scheme as opposed to the default vc/[1-6]. So i had to edit /etc/udev/rules.d/udev.rules and on line 21 replace "vc/%n" with "tty%n".  Follow the rest of the install instructions at http://qingy.sourceforge.net/manual.php.

pkgname=qingy
pkgver=0.5.2
pkgrel=1
pkgdesc="Qingy is a DirectFB getty replacement."
url="http://qingy.sourceforge.net"
license="GPL-2"
depends=('directfb>=0.9.18' 'pam>=0.75')
makedepends=('pkgconfig>=0.12')
conflicts=()
replaces=()
backup=()
install=
source=(http://voxel.dl.sourceforge.net/sourceforge/qingy/$pkgname-$pkgver.tar.bz2)
md5sums=(f0c06ad2df3bfccdeea14184bc39abb9)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sbindir=/sbin 
                --sysconfdir=/etc 
                --enable-optimizations 
                --enable-pam 
                --disable-static-build 
                --enable-gpm-lock
  make || return 1
  make DESTDIR=$startdir/pkg/ install
  cp /etc/pam.d/login $startdir/pkg/etc/pam.d/qingy
} 

and a pkgbuild for the theme pack

pkgname=qingy_themepack
pkgver=1.0
pkgrel=1
pkgdesc="Some various contributed themes for the getty replacement, qingy"
url="http://qingy.sourceforge.net"
depends=()
makedepends=('pkgconfig>=0.12')
conflicts=()
replaces=()
backup=()
install=
source=(http://voxel.dl.sourceforge.net/sourceforge/qingy/qingy_0.3_themepack_$pkgver.tar.bz2)
md5sums=(578413ba5861c667674b6d65976a0370)

build() {
  cd $startdir/src/qingy_0.3_themepack_$pkgver
  mkdir -p $startdir/pkg/usr/share/qingy/themes/
  mv * $startdir/pkg/usr/share/qingy/themes/
} 

Let me know if this works for anyone else.

Offline

#15 2004-11-14 14:35:14

delmonico
Member
Registered: 2004-06-27
Posts: 82

Re: [request] qingy

thanks now it works smile

But I still got some problems: first login takes about 2 or 3 seconds, is this normal?  Its not a problem as i login only once a day, but agetty was much faster...

The other problem is worse: When logging in to a console some part of qingy is always visible on my framebuffer sad

Offline

#16 2004-11-15 12:24:16

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: [request] qingy

==> Validating source files with MD5sums
    qingy-0.5.2.tar.bz2 ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf qingy-0.5.2.tar.bz2
==> Starting build()...
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub   failed
./PKGBUILD: line 19: --sysconfdir=/etc: Nie ma takiego pliku ani katalogu
./PKGBUILD: line 20: --enable-optimizations: command not found
./PKGBUILD: line 21: --enable-pam: command not found
./PKGBUILD: line 22: --disable-static-build: command not found
./PKGBUILD: line 23: --enable-gpm-lock: command not found
make: *** Nie podałeś obiektów lub nie znalazłem makefile. Stop.
==> ERROR: Build Failed.  Aborting...

Any idea? What went wrong?

Offline

#17 2004-11-15 13:53:14

cereal
Member
From: Switzerland
Registered: 2004-08-29
Posts: 29
Website

Re: [request] qingy

Dreameen wrote:

Any idea? What went wrong?

Uhm... yeah... I think so. In the following part of the PKGBUILD

./configure --prefix=/usr --sbindir=/sbin 
                --sysconfdir=/etc 
                --enable-optimizations 
                --enable-pam 
                --disable-static-build 
                --enable-gpm-lock 

are spaces after the backslashes. At least if I copy it out of the browser. So... the backslashes have no effect and the shell thinks the configure-options ("--sysconfider=/etc" and the like) are commands...
If you can't get it working, just put all these options on one line...


"I watched a snail crawl along the edge of a straight razor. That's my dream. That's my nightmare." - (Kurtz, Apocalypse Now)

A few PKGBUILDs

Offline

#18 2004-11-15 14:31:33

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: [request] qingy

Thanks, putting al the ./configure options in one line solved the problem. I have to watch out for those extra spaces in PKGBUILD's copied from forum.

Offline

#19 2004-11-15 15:27:13

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: [request] qingy

I'm using udev and it seems that it fails to load a framebuffer device properly:

open /dev/fb0: No such file or directory

1. Do you know how to get qingy up and running with Udev?
2. Will qingy use my nvidia driver or do I have to pass some extra options to Grub line to intialiase Vesa or sth??

...Nevermind, I got it up and running.  smile

Offline

#20 2004-12-04 22:41:09

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: [request] qingy

Dreameen wrote:

I'm using udev and it seems that it fails to load a framebuffer device properly:

open /dev/fb0: No such file or directory

1. Do you know how to get qingy up and running with Udev?
2. Will qingy use my nvidia driver or do I have to pass some extra options to Grub line to intialiase Vesa or sth??

...Nevermind, I got it up and running.  smile

could you kindly explain to me how did you do it?? i have a nvidia card too, and qingy keeps restarting (not because of the card obviously)...
also, when i use kdm or gdm they don't recognize windowmaker which is my main wm, so i have to start on level 3 and startx (exec wmaker on .xinitrc)..

i installed windowmaker before kde or gdm, so i don't know what is happening. THanks!

(what's udev??)

Offline

#21 2004-12-06 20:38:38

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: [request] qingy

can anyone help me, i'm almost going crazy!

i could install qingy, framebuffer is ok but when i change to its tty, the screen and colors get all distorted, my fb.modes is right (pasted fbset output on it), and everything is the same.

Please help me

Offline

#22 2004-12-06 21:23:35

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: [request] qingy

Try changing your fb mode in grub to sth that uses 16 bit color.

For example:

kernel /boot/vmlinuz26 root=/dev/discs/disc0/part4 devfs=nomount ro acpi=force vga=0x317

Offline

#23 2004-12-07 17:58:29

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: [request] qingy

Dreameen wrote:

Try changing your fb mode in grub to sth that uses 16 bit color.

For example:

kernel /boot/vmlinuz26 root=/dev/discs/disc0/part4 devfs=nomount ro acpi=force vga=0x317

now i can see the qingy login windows perfectly, but when i login on anything it gives me a very weird screen (to console i can login). If i go back to any window  (Alt f1,f2, etc) all i get is a distorted window (resolution is clearly wrong -- this happens ever since I activated framebuffer)

Any help?

Offline

#24 2004-12-07 18:41:38

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [request] qingy

nbcjr wrote:

all i get is a distorted window (resolution is clearly wrong -- this happens ever since I activated framebuffer)

Any help?

try messing with the vga numbers - read some docs ong rub/lilo for values...

Offline

#25 2004-12-11 04:48:58

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: [request] qingy

i talked to the developer and she said that she can't help me as this is a framebuffer problem and my nvidia card. Does anyone with a nvidia card could install qingy?? Please help me

Offline

Board footer

Powered by FluxBB