Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
An awesome app called Qingy (Part 1)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
antipop
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2002
Posts: 84

PostPosted: Wed Aug 06, 2003 5:41 pm    Post subject: Re: Permission problem with /dev/dsp Reply with quote

Saruman wrote:
Ok, if I log using a qingy terminal and start KDE I artsd (KDE sound server) cannot open /dev/dsp (permission denied). Starting with the usual getty make it works.
I guess that must be a pam problem: any help? :cry:


I'm having the same problem using Qingy to log into XFce4 and running XMMS. I tried starting xmms as root and I got sound again.

Edit: I got sound working by placing my username into audio group :)
Back to top
View user's profile Send private message
fgarbrecht
n00b
n00b


Joined: 27 May 2003
Posts: 43
Location: Philadelphia

PostPosted: Wed Aug 06, 2003 7:21 pm    Post subject: Reply with quote

Aaaargh! I put in the /etc/directfbrc file and on bootup I get this:

(*) parsing config file ' /etc/directfbrc' .
framebuffer_mode.c <665>
(#) DirectFBError [DirectFBCreate (&dfb)]: Not supported!
INIT: Id "c1" respawning too fast: disabled for 5 minutes

So it sits for 5 minutes, tries again and gives the same message, except that now its
INIT: Id "c2" respawning too fast: disabled for 5 minutes

and on and on....

Anyone seen this, know why or what do do?

Thanks
Fred
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Wed Aug 06, 2003 8:10 pm    Post subject: Reply with quote

What mode did you use in the /etc/directfbrc? My guess would be that perhaps the right mode isnt being used for the video card?

mode=1024x768 (or whatever you use)
Back to top
View user's profile Send private message
fgarbrecht
n00b
n00b


Joined: 27 May 2003
Posts: 43
Location: Philadelphia

PostPosted: Wed Aug 06, 2003 8:20 pm    Post subject: Reply with quote

I used mode=1024x768 which is the mode I've always used.
Back to top
View user's profile Send private message
tomaw
Guru
Guru


Joined: 26 Mar 2003
Posts: 429
Location: UK

PostPosted: Wed Aug 06, 2003 8:36 pm    Post subject: Reply with quote

pjp wrote:
MmmmJoel wrote:
It's unfortunate that the author is using a copyrighted work from digitalblasphemy.com. He even stripped out the digitalblasphemy line from the bottom-right and doesn't even extend credit to the author. Bah.
Perhaps worth droping a note to the folks at digitalblasphemy?


Would it not be far better to drop a note to the offending author first and give him the chance to put it right and contact digitalblasphemy himself?

Tom
_________________
Tom Wesley
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 07, 2003 10:17 pm    Post subject: Reply with quote

First, allow me to introduce myself. I'm Michele Noberasco, author of qingy. I also think this is my first post on the forums...
pjp wrote:
MmmmJoel wrote:
It's unfortunate that the author is using a copyrighted work from digitalblasphemy.com. He even stripped out the digitalblasphemy line from the bottom-right and doesn't even extend credit to the author. Bah.
Perhaps worth droping a note to the folks at digitalblasphemy?

No need to do that: I removed the offending images from qingy web site. Shouldn't have put them there at all, though. My fault.
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 07, 2003 10:28 pm    Post subject: Reply with quote

ZeroDivide wrote:
Chickpea wrote:
I dont use a joy stick so I cant help you there.

You are speaking of after you have logged in using quingy right?


yes.. After I log in using qingy no applications are able to use my joystick. The error I get is something like "Cannot open /dev/js0"

But if I log in normaly ( without running qingy ) all my applications will use the joystick.


I don't know what to tell here, as I don't own a joystick. I believe it could be related to PAM authentication. Maybe I got something wrong there. Same goes for non root kde sound support. I did notice this, but didn't relate it qo qingy until now. I'll investigate...
Of course I would have known nothing if not for this forum :-)
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 07, 2003 10:35 pm    Post subject: Reply with quote

anfpunk wrote:
I haven't actually set this up yet(been too busy) but I do have everything installed and the initab edited, just haven't been home yet. However, is there a way to look your desktop without using xscreensaver or something and have it just go back to qingy but only allow the locked user the ability to login? Kinda how you lock a windows machine where it locks it but takes it basically to your login screen.

Right now, there is not such a feature, but it is already planned. I was thinking about something slightly different than what is stated above:
- allow user xxx to lock his session
- any user can log in into the system (using another vt running qingy)
- when switching to the vt locked by xxx, reauthentication is required
Suggestions? Better ideas?
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 07, 2003 10:37 pm    Post subject: Reply with quote

Chickpea wrote:
IWBCMAN WROTE

Quote:
The background image appeared inside that box -yet the rest of the screen had no background-and when I moved the mouse over it I eneded up with unerasable mousetrails and the text would overwrite itself until becomming utterly illegible. So I mucked and mucked around until I figured out what was going on. My solution was to create a /etc/directfbrc


Hey you copied me :lol: That was my solution too. Works very nice. I am so obsessed with the program now. I have been experimenting making themes etc...I wish I was an artist and could make my own wallpapers and art etc.

currently I have borrowed my favorite gdm theme: crystal rose. It is so wonderful...

and yes, it is fast and takes up less of a memory footprint.


If this apparently works for everyone here, I will add it to qingy documentation and web site...
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Thu Aug 07, 2003 10:40 pm    Post subject: Reply with quote

fgarbrecht wrote:
Aaaargh! I put in the /etc/directfbrc file and on bootup I get this:

(*) parsing config file ' /etc/directfbrc' .
framebuffer_mode.c <665>
(#) DirectFBError [DirectFBCreate (&dfb)]: Not supported!
INIT: Id "c1" respawning too fast: disabled for 5 minutes

So it sits for 5 minutes, tries again and gives the same message, except that now its
INIT: Id "c2" respawning too fast: disabled for 5 minutes

and on and on....

Anyone seen this, know why or what do do?

Thanks
Fred


Are you sure your card is supported by DirectFB (and not just console framebuffer)? Do the directfb test and example programs work? If not so, you might try using vesa framebuffer...
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
ksuther
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 86
Location: New York

PostPosted: Fri Aug 08, 2003 3:19 pm    Post subject: Reply with quote

I did the initial setup and it works...sorta. It draws all over the screen and doesn't completely draw over my old framebuffer splash. When I try to select what session I want to run, going up and down over them causes the options to draw over each other, so I have no idea what session I'm logging into.

Any idea?
Back to top
View user's profile Send private message
ZeroDivide
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2003
Posts: 86

PostPosted: Fri Aug 08, 2003 3:23 pm    Post subject: Reply with quote

Noberasco wrote:

I don't know what to tell here, as I don't own a joystick. I believe it could be related to PAM authentication. Maybe I got something wrong there. Same goes for non root kde sound support. I did notice this, but didn't relate it qo qingy until now. I'll investigate...
Of course I would have known nothing if not for this forum :-)


Nice work on qingy Noberasco! It seems like directfb is taking hold of the joystick device and not letting any other apps connect but im no expert, or maybe you shouldn't smoke that stuff next time.. :wink:
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Sat Aug 09, 2003 12:27 am    Post subject: Reply with quote

ksuther wrote:
I did the initial setup and it works...sorta. It draws all over the screen and doesn't completely draw over my old framebuffer splash. When I try to select what session I want to run, going up and down over them causes the options to draw over each other, so I have no idea what session I'm logging into.

Any idea?


As already posted before, you should try creating file /etc/directfbrc containing this line: "mode=1024x768". Substitute 1024x768 with your actual framebuffer resolution. Again, if this works I'll put it into the docs.
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
ksuther
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 86
Location: New York

PostPosted: Sat Aug 09, 2003 12:45 am    Post subject: Reply with quote

Quote:
As already posted before, you should try creating file /etc/directfbrc containing this line: "mode=1024x768". Substitute 1024x768 with your actual framebuffer resolution. Again, if this works I'll put it into the docs.


Ah, thank you :) I don't know how I missed that reading the thread.
Back to top
View user's profile Send private message
cybe
n00b
n00b


Joined: 22 Jul 2003
Posts: 67
Location: Finland

PostPosted: Sat Aug 09, 2003 7:59 pm    Post subject: Screen not working with Qingy? Reply with quote

Great program... Happened to wonder the other day if there is such a program since its a bit disturbing with two different logins, and the Qingy approach is the right one...

Noticed that screen doesn't seem to work because of Qingy, it gives me this:


Cannot open your terminal '/dev/tty2' - please check.


Also, the mouse isn't working for me, I can move the pointer a few pixels, then it dissapears...

As for suggestions for further development, probably no new ideas: non graphical mode, more customizabilty options...[/quote]
_________________
_________________________________
The MOST important book on the planet?
http://thewayhomeorfacethefire.info/
Back to top
View user's profile Send private message
maw
Apprentice
Apprentice


Joined: 25 Aug 2002
Posts: 175
Location: Nottingham, UK

PostPosted: Sat Aug 09, 2003 11:04 pm    Post subject: Reply with quote

Well, it's a nice little program. The default theme's text is very hard to read against the background, but I'll do my own theme for it anyway at some point to match my bootsplash.

Some suggestions for future enhancement though:

- don't echo password characters, even as masked - a normal getty login doesn't echo at all, and this is the way I prefer it, then nobody knows how long your password is unless they're good at keyboard watching
- make the session choice mouse-interactive, a drop-down list or something, although I suspect you may have to code that from scratch. It would be helpful though
- please let enter navigate from the username field to the password field, then enter in password field to attempt login. Please!!!!
_________________
Your Gentoo woll sle me sodenly!
I may the beaute of it not sustene
(to misquote Chaucer)
Back to top
View user's profile Send private message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 413
Location: Shake & Bake

PostPosted: Sat Aug 09, 2003 11:35 pm    Post subject: Reply with quote

Noberasco wrote:
anfpunk wrote:
I haven't actually set this up yet(been too busy) but I do have everything installed and the initab edited, just haven't been home yet. However, is there a way to look your desktop without using xscreensaver or something and have it just go back to qingy but only allow the locked user the ability to login? Kinda how you lock a windows machine where it locks it but takes it basically to your login screen.

Right now, there is not such a feature, but it is already planned. I was thinking about something slightly different than what is stated above:
- allow user xxx to lock his session
- any user can log in into the system (using another vt running qingy)
- when switching to the vt locked by xxx, reauthentication is required
Suggestions? Better ideas?


Sounds like someone wants to use vlock which is setup to lock a virtual console.
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


Joined: 03 Jun 2002
Posts: 846
Location: Vancouver WA

PostPosted: Sat Aug 09, 2003 11:48 pm    Post subject: Reply with quote

maw wrote:

Some suggestions for future enhancement though:

- don't echo password characters, even as masked - a normal getty login doesn't echo at all, and this is the way I prefer it, then nobody knows how long your password is unless they're good at keyboard watching
- make the session choice mouse-interactive, a drop-down list or something, although I suspect you may have to code that from scratch. It would be helpful though
- please let enter navigate from the username field to the password field, then enter in password field to attempt login. Please!!!!


I like those ideas except I DO like the password echoing. Really there is only me who uses the machine and i supposed it doesnt matter.

Perhaps give an option to those who dont like the echoed passwords so that those of us who still like it can keep it.
Back to top
View user's profile Send private message
maw
Apprentice
Apprentice


Joined: 25 Aug 2002
Posts: 175
Location: Nottingham, UK

PostPosted: Sun Aug 10, 2003 9:56 am    Post subject: Reply with quote

Maybe. As long as I can turn it off, I'm happy.

I think I can do a patch to make Enter in the username field behave like I want to. The source code is quite pleasantly easy to read :-)
_________________
Your Gentoo woll sle me sodenly!
I may the beaute of it not sustene
(to misquote Chaucer)
Back to top
View user's profile Send private message
maw
Apprentice
Apprentice


Joined: 25 Aug 2002
Posts: 175
Location: Nottingham, UK

PostPosted: Sun Aug 10, 2003 12:22 pm    Post subject: Reply with quote

Oh, when Qingy is told to shut down or reboot, I get part of my console background back (the border around the actual text box), but the text area remains black and I can't see the output of shutdown. I believe hiding the output is intentional, but it would be nice if it somehow managed to avoid getting part of the bootsplash redrawn on top of it.
_________________
Your Gentoo woll sle me sodenly!
I may the beaute of it not sustene
(to misquote Chaucer)
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Sun Aug 10, 2003 10:31 pm    Post subject: Reply with quote

maw wrote:
Well, it's a nice little program. The default theme's text is very hard to read against the background, but I'll do my own theme for it anyway at some point to match my bootsplash.

Some suggestions for future enhancement though:

- don't echo password characters, even as masked - a normal getty login doesn't echo at all, and this is the way I prefer it, then nobody knows how long your password is unless they're good at keyboard watching


personally I like it the way it is. But I'll allow it as an option. Also, I could add an option to hide last user name with something like 'lastuser' so that an attacker with access to the monitor cannot get a free valid user name.

maw wrote:

- make the session choice mouse-interactive, a drop-down list or something, although I suspect you may have to code that from scratch. It would be helpful though


Already planned, but you are right: I have to do it from scratch. Shouldn't be too much trouble, though.

maw wrote:

- please let enter navigate from the username field to the password field, then enter in password field to attempt login. Please!!!!


Again, I like it the way it is, but hell! why not... it wouldn't change the way I use it.
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
s4t4n
Retired Dev
Retired Dev


Joined: 25 Feb 2003
Posts: 433
Location: Italy

PostPosted: Sun Aug 10, 2003 10:36 pm    Post subject: Reply with quote

maw wrote:
Oh, when Qingy is told to shut down or reboot, I get part of my console background back (the border around the actual text box), but the text area remains black and I can't see the output of shutdown. I believe hiding the output is intentional, but it would be nice if it somehow managed to avoid getting part of the bootsplash redrawn on top of it.

It is indeed intentional. Again, I'll add an option to show or hide system shutdown messages...
Have you checked the previous posts about creating a /etc/directfbrc file? Those could solve your issue...
_________________
Linux *IS* user friendly: it just appears
to be selective who it is friend with!
Back to top
View user's profile Send private message
maw
Apprentice
Apprentice


Joined: 25 Aug 2002
Posts: 175
Location: Nottingham, UK

PostPosted: Mon Aug 11, 2003 8:25 am    Post subject: Reply with quote

I have a directfbrc file, had to in order to get Qingy to run at 1280x1024. It just says

mode=1280x1024

in it, I don't think I'm missing anything... the problem only occurs during the time shutdown is running, when the border of my console image (it has a border where no text is drawn) gets drawn on top of Qingy's 'shutting down' screen. I hope there's something that can be done about this, but I have no idea if it's a Qingy thing or a bootsplash thing or a DirectFB thing or another thing entirely.


Hiding the last username would be good. Or maybe an option not to display the last username at all, but a setting where it automatically uses their last selected session unless they say otherwise? Might be better for shared computers (although mine isn't shared, I must admit). Although at this point I think it's worth remembering that the GNOME folks do have a point, too many options can be bad. Obviously don't do anything you're not happy with, it's your program, and I can always modify my own copy of it if I get really frustrated with anything, since you write such nice readable code :-)
_________________
Your Gentoo woll sle me sodenly!
I may the beaute of it not sustene
(to misquote Chaucer)
Back to top
View user's profile Send private message
mweinstein
n00b
n00b


Joined: 14 Aug 2003
Posts: 11

PostPosted: Thu Aug 14, 2003 10:17 pm    Post subject: Qingy is nice, but how to install? Reply with quote

Pardon the stupid question, but I am relatively new to Gentoo and need to know how to build quigy from the ebuild after I download it. I tried "emerge qingy-0.2.ebuild" but it won't work.

Thanks! Mark
Back to top
View user's profile Send private message
slymonkey
n00b
n00b


Joined: 13 Nov 2002
Posts: 45

PostPosted: Thu Aug 14, 2003 10:51 pm    Post subject: Reply with quote

ebuild qingy-0.2.ebuild digest
ebuild qingy-0.2.ebuild merge
_________________
"Rarely is the questioned asked: Is our children learning?" George W. Bush
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, ... 28, 29, 30  Next
Page 2 of 30

 
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