Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
why is there no wdm ebuild?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mischer
n00b
n00b


Joined: 09 Feb 2003
Posts: 16
Location: Goettingen, Germany

PostPosted: Wed Feb 12, 2003 7:55 am    Post subject: why is there no wdm ebuild? Reply with quote

Hi folks.

I was looking through the forum for a hint as to whether there is a gentoo package
containing wdm (wing's display manager) and learned that there is none. I would
just like to know if there is a specific reason for this. I think it is a nice login manager
when one does not want to use gdm or kdm (e.g. on a small system).

Michael
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Wed Feb 12, 2003 8:33 am    Post subject: Reply with quote

Moved from Installing Gentoo.
Back to top
View user's profile Send private message
weltraumfahrer
Apprentice
Apprentice


Joined: 17 Dec 2002
Posts: 195
Location: Karlsruhe, Germany

PostPosted: Wed Feb 12, 2003 3:04 pm    Post subject: Reply with quote

Hi,
> (e.g. on a small system)
why no using xdm;-)

Frank
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Wed Feb 12, 2003 3:43 pm    Post subject: Reply with quote

wdm is based on xdm. The additional PAM functionality could be one reason for people to prefer wdm, for access authorization via smartcards, for example.
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Feb 12, 2003 4:33 pm    Post subject: Reply with quote

xdm is the ugliest P.O.S. I have ever seen. I'd like to see a pleasant-looking login manager that doesn't require gnome or kde. I've had to teach my non-techie wife to login and run startx manually because I would rather she do that than have to see xdm.
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Wed Feb 12, 2003 5:40 pm    Post subject: Reply with quote

I dont like the xdm so I have to keep kde-libs and base installed if I want to use the kdm and I hope that someone does make a wdm ebuild because I know I ( and a ton of others ) would use it! ( Hint Hint programers!!! )
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
mischer
n00b
n00b


Joined: 09 Feb 2003
Posts: 16
Location: Goettingen, Germany

PostPosted: Wed Feb 12, 2003 9:01 pm    Post subject: Reply with quote

The reason I was asking for wdm was mainly because wdm offers a
window-manager chooser, which xdm doesn't. Of course, one can use
gdm or kdm, but for a really slim system (with little resources), these
require too many fat libraries which one might not want to install.
(Well, I just installed gdm on my Pentium-MMX 233 MHz system here
and I like the eye-candy very much - it's awesome but it also really
eats the resources... :wink:)

By the way: looking into /etc/init.d/xdm I found the script looking for
elogind and entranced. Are there ebuilds
containing these? I had not heard of these display managers before,
but from googling a littl, I guess they belong to enlightenment...

Michael
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Feb 12, 2003 9:03 pm    Post subject: Reply with quote

I've written a couple of ebuilds in my day. I'd happy to tackle it if someone sends me a link to the wdm homepage.
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Wed Feb 12, 2003 9:21 pm    Post subject: Reply with quote

rizzo wrote:
xdm is the ugliest P.O.S. I have ever seen. I'd like to see a pleasant-looking login manager that doesn't require gnome or kde. I've had to teach my non-techie wife to login and run startx manually because I would rather she do that than have to see xdm.


you can set a background image:
Code:

# set background image
xsetbg /path to/gentoo.jpg


in /etc/X11/xdm/Xsetup_0

or play with login window colors, dimension, position, fonts, etc in /etc/X11/xdm/Xresources

currently I have a blue box in the low right corner on a Gentoo logo background

google around and you will find some nice howto
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


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

PostPosted: Wed Feb 12, 2003 9:23 pm    Post subject: Reply with quote

I dont think that the homepage for WDM is even around anymore. About 3 or 4 months ago when I was looking for replacements for xdm other than kdm or gdm that would allow me to choose which windowmanager i used I came across the program but I didnt save it and now the homepage seems to be down. http://www.tcscs.com/wdm/


I dont understand why the developers at Xfree have not made changes to xdm to do what the other login managers do. I am sure they must be aware of everyone's desire to have something other than those large libraries.

*****EDIT******

Oh my goodness! I happened to go to freshmeat and lo and behold wdm has been updated.
http://freshmeat.net/projects/wdm/?topic_id=136

http://voins.program.ru/wdm/ (Actual homepage)

Perhaps I was the only one who didnt know this. Where would we be without freshmeat


Last edited by Chickpea on Wed Feb 12, 2003 9:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Feb 12, 2003 9:31 pm    Post subject: Reply with quote

xlyz wrote:
google around and you will find some nice howto


Hmm yes I did find this one: http://www.linuxjournal.com/article.php?sid=3325

I'll try that out this week and see how good I can get it to look. Perhaps I thought too little of what XDM _can_ do.
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Feb 12, 2003 9:36 pm    Post subject: Reply with quote

Chickpea wrote:
http://voins.program.ru/wdm/ (Actual homepage)


If no one else steps in, I'll start on an ebuild in a couple of minutes.
Back to top
View user's profile Send private message
morck
n00b
n00b


Joined: 25 Sep 2002
Posts: 60
Location: Moers, Germany

PostPosted: Wed Feb 12, 2003 9:37 pm    Post subject: Reply with quote

EDIT: It works fine now !!!


u can find it here http://voins.program.ru/wdm/

i tried to figure out how wdm works ...
Code:
./configure --enable-pam --with-pamdir=/etc/pam.d --with-wdmdir=/etc/X11/wdm
make
make install

but how do i have to modify /etc/init.d/xdm so that it will load wdm correctly?
this is how it looks now (after i modified it):
Code:
   case "$(echo ${DISPLAYMANAGER} | awk '{ print toupper($1) }')" in
      KDM|KDE|KDE2|KDE3)
         EXE="$(which kdm)"
         ;;
      E|ELOGIN|ELOGIND)
         EXE="$(which elogind)"
         ;;
      GDM|GNOME)
         EXE=/usr/bin/gdm
         ;;
      WDM)
         EXE=/usr/local/bin/wdm
         ;;
      *)
         EXE=/usr/X11R6/bin/xdm
         ;;
   esac

my problem is that wdm is started, but the xserver isn't ... so u cannot see anything

cya morck

PS: making an ebuild out of this should not be too complicated ... as long as someone figures out how to start wdm


Last edited by morck on Wed Feb 19, 2003 6:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


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

PostPosted: Wed Feb 12, 2003 9:38 pm    Post subject: Reply with quote

rizzo wrote:
xlyz wrote:
google around and you will find some nice howto


Hmm yes I did find this one: http://www.linuxjournal.com/article.php?sid=3325

I'll try that out this week and see how good I can get it to look. Perhaps I thought too little of what XDM _can_ do.


Yea, I have been there done that. You can make xdm look super nice. I even found a nice way of setting up some cool xdm login screens at http://xdm.house.cx and I found another program called xdmphoto that was closer to what kdm/gdm do and then thru someone here on the board (Collins?) I was able to put shutdown and reboot buttons on the screen. It ended up being too much work and still didnt give the results I was looking for. Hopefully wdm will.
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


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

PostPosted: Wed Feb 12, 2003 9:41 pm    Post subject: Reply with quote

rizzo wrote:
Chickpea wrote:
http://voins.program.ru/wdm/ (Actual homepage)


If no one else steps in, I'll start on an ebuild in a couple of minutes.


Uhhh, yes please :lol:
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Feb 12, 2003 10:08 pm    Post subject: huzzah Reply with quote

OK I got it to install OK. I don't have time to play around with logging in and logging out so if someone can try it and get back to this thread that would be great. I put this in /usr/local/portage/x11-misc/wdm. If you use the "/usr/local/portage" make sure you uncomment PORTAGE_OVERLAY var in /etc/make.conf.

x11-misc/wdm/wdm-1.22.ebuild :
Code:
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header$

DESCRIPTION="WINGs Display Manager"
HOMEPAGE="http://voins.program.ru/wdm/"

SLOT="0"
KEYWORDS="x86"
LICENSE="GPL-2"
IUSE="truetype pam png jpeg gif tiff"
SRC_URI="http://voins.program.ru/wdm/${P}.tar.bz2"

RDEPEND=">=x11-wm/WindowMaker-0.65.1"

DEPEND="${RDEPEND}
        >=sys-devel/autoconf-2.53
        >=x11-base/xfree-3.3.2
        truetype? (x11-libs/xft)"

src_compile() {
        local myconf=""
        use pam && myconf="${myconf} --enable-pam --with-pamdir=/etc/pam.d"
        use png || myconf="${myconf} --disable-png"
        use jpeg || myconf="${myconf} --disable-jpeg"
        use gif || myconf="${myconf} --disable-gif"
        use tiff || myconf="${myconf} --disable-tiff"

        ./configure \
                --prefix=/usr \
                --exec-prefix=/usr \
                ${myconf} || die

        emake || die
}

src_install() {

        make DESTDIR=${D} \
                install || die

}



x11-misc/wdm/files/digest-wdm-1.22 :
Code:
MD5 b58f968ae13733e2433fcf74b4912ade wdm-1.22.tar.bz2 433330
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Feb 12, 2003 10:21 pm    Post subject: Reply with quote

Chickpea wrote:
cool xdm login screens at http://xdm.house.cx


http://xdm.house.cx/gallery/xdm

I take back anything bad I said about xdm.

BTW, I'm going to leave that wdm development there. If someone wants to pick it up that is fine. I'm going to focus my energies on customizing xdm.

Cheers. :twisted:
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


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

PostPosted: Wed Feb 12, 2003 11:56 pm    Post subject: Reply with quote

Dont Leave just yet.....

I ran into a little trouble and I am not sure how to fix it. I noticed other people have had this problem but i didnt find a solution. When I try to merge the ebuild i get:

Calculating dependencies

aux_get(): (1) couldn't open cache entry for x11-misc/wdm-1.22
Check for syntax error or corruption in the ebuild.


!!! all ebuilds that could satisfy "wdm" have been masked.

!!! Error calculating dependancies. Please correct.

I have the PORTDIR_ORVERLAY uncommented in my /etc/make.conf and that points to /usr/local/portage/

Am I missing something?

C
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Thu Feb 13, 2003 3:19 am    Post subject: Reply with quote

Hmm odd. What version of portage are you using? I'm on sys-apps/portage-2.0.46-r12, although you shouldn't need to be that recent.
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


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

PostPosted: Thu Feb 13, 2003 10:36 am    Post subject: Reply with quote

I am also using 2.0.46-r12. I have never used a "local" ebuild before so maybe I have it set up wrong. I have the ebuild in /usr/local/portage/x11-misc/wdm and the portage overlay stuff is uncommented in /etc/make.conf.

c
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Thu Feb 13, 2003 3:57 pm    Post subject: Reply with quote

Are you sure you copied and pasted correctly? Beware of unintentional line breaks.
Back to top
View user's profile Send private message
Chickpea
l33t
l33t


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

PostPosted: Thu Feb 13, 2003 7:23 pm    Post subject: Reply with quote

rizzo wrote:
Are you sure you copied and pasted correctly? Beware of unintentional line breaks.


Okay, had better luck today. I copy and pasted into a different editor. I think I used kate or kwrite yesterday. Today I used gedit and when I did
Code:
emerge search wdm
I didnt get any errors. However, when i did run into trouble when I was doing a pretend merge. I ended up editing the file and removing the
Code:
truetype? (x11-libs/xft)
line. and then it worked.

anyhow....thanks for the ebuild and your help.

Cat
Back to top
View user's profile Send private message
CountZero
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2003
Posts: 79
Location: Arlington, TX, USA

PostPosted: Thu Feb 13, 2003 9:26 pm    Post subject: Reply with quote

Is anyone going to post that on bugs.gentoo.org to get it put into the portage tree?
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Thu Feb 13, 2003 9:47 pm    Post subject: Reply with quote

I'll go ahead and do it now.

http://bugs.gentoo.org/show_bug.cgi?id=15660
Back to top
View user's profile Send private message
Swishy
Guru
Guru


Joined: 06 Jun 2002
Posts: 491
Location: NZ

PostPosted: Mon Feb 17, 2003 2:25 pm    Post subject: Reply with quote

mischer wrote:
The reason I was asking for wdm was mainly because wdm offers a
window-manager chooser, which xdm doesn't. Of course, one can use
gdm or kdm, but for a really slim system (with little resources), these
require too many fat libraries which one might not want to install.
(Well, I just installed gdm on my Pentium-MMX 233 MHz system here
and I like the eye-candy very much - it's awesome but it also really
eats the resources... :wink:)

By the way: looking into /etc/init.d/xdm I found the script looking for
elogind and entranced. Are there ebuilds
containing these? I had not heard of these display managers before,
but from googling a littl, I guess they belong to enlightenment...

Michael


emerge enlightenment-cvs :)

Cheers
Dale.
_________________
Theres no substitute for C.I.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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