OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Chero on May 08, 2006, 02:27:55 am

Title: Graphical Login For Pdaxrom
Post by: Chero on May 08, 2006, 02:27:55 am
Hi all,

I managed to get xdm working on boot, so now I have a graphical login.

I'd like to use another login manager (such as gdm or "entrance"). I know entrance(d) has been compiled, but it's not usable as such because it calls the xserver with the option "-quiet" (hardcoded) which isn't recognized by the pdaX Xserver.

Has somebody already been playing with gdm ? Most (if not all) of the dependencies are in the feed. If anybody could provide an ipk, then I could test it.
I don't have a zgcc installed myself for the moment as it's not available for beta3 (I think) and I don't really want to go back to beta2 or 1. (btw : the files are not on the pdaX site any longer)

@ scoutme : ctrl - alt - bs brings me back to the login screen, so if you combine this with the screensaver-with-password, your Z is safe.

Chero.
Title: Graphical Login For Pdaxrom
Post by: Bundabrg on May 08, 2006, 02:30:18 am
I suppose if you really want entrance, you could rename the X server to a different filename, then create a script that just strips '-quiet' out of the parameters and calls the original.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 08, 2006, 02:45:18 am
I'd prefer gdm, since most of the deps are in the main feed. It would use less disk-space and it's easier to configure.

Thanks for the tip anyway, I might try this on my own Z.

Chero
Title: Graphical Login For Pdaxrom
Post by: desertrat on May 08, 2006, 07:48:18 am
Quote
I don't have a zgcc installed myself for the moment as it's not available for beta3 (I think)
Here it is:

http://mail.pdaxrom.org/contrib/1.1.0beta3/Zaurus-7x0-860/ (http://mail.pdaxrom.org/contrib/1.1.0beta3/Zaurus-7x0-860/)

-- cheers
Title: Graphical Login For Pdaxrom
Post by: Chero on May 08, 2006, 08:21:28 am
Quote
Quote
I don't have a zgcc installed myself for the moment as it's not available for beta3 (I think)
Here it is:

http://mail.pdaxrom.org/contrib/1.1.0beta3/Zaurus-7x0-860/ (http://mail.pdaxrom.org/contrib/1.1.0beta3/Zaurus-7x0-860/)

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126127\"][{POST_SNAPBACK}][/a][/div]

Thanks, I'll try to compile gdm this evening.

Chero.
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 08, 2006, 02:27:21 pm
Quote
Hi all,

I managed to get xdm working on boot, so now I have a graphical login.

[div align=\"right\"][a href=\"index.php?act=findpost&pid=126090\"][{POST_SNAPBACK}][/a][/div]

Chero:
How'd you get xdm to work? I gave up after trying for several days. Either way, I'm very excited about the possibility of either or xdm/gdm. Security at work is a big issue and until I can lock my Z down, there's a limit to how I can use it.

The Login daemon in OZ/GPE was looking promising but still buggy. One of the great features it has is a screen pickboard (although when rotated not all characters are available).

Good luck with your compilation of gdm, I'd be happy to test it for you.

Cheers,
Jerry
Title: Graphical Login For Pdaxrom
Post by: adf on May 08, 2006, 02:59:55 pm
gdm!  if it works, please package it!
Title: Graphical Login For Pdaxrom
Post by: gromituk on May 08, 2006, 04:34:23 pm
I think it's a significant step forward that you've managed to get a graphical log-in, Chero - well done.  It's always struck me as odd and rather messy that you had to start X yourself.  I hope this enhancement is included in the ROM.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 08, 2006, 04:48:56 pm
Graphical login with xdm works.
It had an orientation problem, I could solve this.
Down-side : it is really ugly.

gdm also works !!!
Still have to figure out the orientation problem here, but I managed to get it running and launching matchbox/openbox.
Up-side : it's much more beautiful.

Still some testing to do, i'm off to bed now.

Goodnight,
Have fun
Chero.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 09, 2006, 02:42:06 am
Status update :

I can't launch the gdm-setup wizard - it segfault and I don't know why.
I compiled everything in "/usr", I think it doesn't like being there. Maybe I should try "/" instead.

I found a workaround for the rotation.

This is the screen I get after reboot or after ctrl-alt-bs :

 [ You are not allowed to view attachments ]

I've got to work now, maybe more news this evening.

Have fun,
Chero.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 09, 2006, 04:39:10 pm
Hello,

Need some help to get rid of a few annoying things.

step 1 : BACKUP your Z

step 2 : Take a 2nd BACKUP

step 3 : make sure your BACKUPS are stored in a safe place.

step 4 : read on and prepare to reflash over and over again

step 5 : make sure you really want to experiment.

Warning 1 : read steps 1 to 5 again

Warning 2 : I can't run package-manager any longer, it starts but then X drops and falls back to login screen. Command-line ipkg works. This is one of the issues.

There are a few tar.gz files over here. (http://users.telenet.be/zaurususer/ipkgs/experimental/)
- xdm-try.tar.gz
- gdm-try.tar.gz

The first one : xdm
- it's ugly, but everything is basically installed on the zaurus when flashing.
- it's dangerous to try - if something goes wrong, there's no way to log in any longer.
- there are a few modified files in the tar.gz, just replace the ones on the zaurus and reboot.
- the file "inittab" should be placed in "/etc"
- the files in the xdm-dir in the archive should be copied in "/etc/X11/xdm"
- once this is done : reboot and pray and hope you get an ugly login screen.
What I had to to : I put xdm in run-level 5 and copied the matchbox-session in the xdm-dir. Then I had to change a few settings in the Xsetup-0 and xdm-config files.
I added "xrandr" in some of the files to get a decent orientation.

The second one : gdm
- it's more beautiful.
- you can try it before changing "inittab"
- it can be used to choose WMs (I can choose xfce4 or matchbox for now)
- the file contains :
  . data.tar.gz : the executables and libs, untar this one in "/" - then run "ldconfig"
  . /etc /inittab : read "xdm" (the last line calls gdm now instead of xdm)
  . /usr/etc/dm/Sessions : .desktop files that call the X-sessions (very simple to add)
  . /usr/etc/gdm : gdm specific files
  . /usr/local/bin/xinitrc.xfce : xfce4-init-script
- dependencies : gnome-vfs, orbit2, libglade, libgsf, librsvg, (libiconv), ...?
- if you don't know where to put all these files, wait until all bugs are out !!
- WAIT BEFORE YOU COPY THE inittab FILE OVER THE EXISTING ONE !!!!!
- copy all files where they belong
- create a user "gdm"
- try to launch gdm from command line
- if it works, copy inittab to /etc and reboot (and pray)

Don't blame me if something goes wrong, I just need some crash test dummies.
It doesn't really work yet, if you're not a test-dummy, WAIT.

Have fun,
Chero.
Title: Graphical Login For Pdaxrom
Post by: adf on May 09, 2006, 04:48:01 pm
incredible, excellent work.

I don't really want to be a crash test dummy, but I'll probably not be able to resist the temptaion to get gdm going on my Z.
Title: Graphical Login For Pdaxrom
Post by: anunakin on May 09, 2006, 05:03:54 pm
Quote
Status update :

I can't launch the gdm-setup wizard - it segfault and I don't know why.
I compiled everything in "/usr", I think it doesn't like being there. Maybe I should try "/" instead.

I found a workaround for the rotation.

This is the screen I get after reboot or after ctrl-alt-bs :

 [ You are not allowed to view attachments ]

I've got to work now, maybe more news this evening.

Have fun,
Chero.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=126240\")

Chero? Whats CFLAGS are you using?

On a first look at gdm meta packge on Gentoo (gdm-2.8.0.7-r1.ebuild), give me some info:
1- This apply 4 patchs
Code: [Select]
* Applying gdm-2.4.4-selinux_remove_attr.patch ...                                 [ ok ]
 * Applying gdm-2.13.0.4-esperanto.patch ...                                        [ ok ]
 * Applying gdm-2.8-CVE-2006-1057.patch ...                                         [ ok ]
 * Fixing OMF Makefiles ...                                                         [ ok ]

2- The configure line is:
Code: [Select]
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/X11 --localstatedir=/var --with-xdmcp --with-pam-prefix=/etc --disable-ipv6 --with-tcp-wrappers --without-xinerama --without-selinux --enable-authentication-scheme=pam --disable-gtk-doc --build=i686-pc-linux-gnu
3- This use sources from:
[a href=\"http://distfiles.gentoo.org/distfiles/gdm-2.8-gentoo-files-r2.tar.bz2]http://distfiles.gentoo.org/distfiles/gdm-...iles-r2.tar.bz2[/url]
http://distfiles.gentoo.org/distfiles/gdm-2.8.0.7.tar.bz2 (http://distfiles.gentoo.org/distfiles/gdm-2.8.0.7.tar.bz2)
Title: Graphical Login For Pdaxrom
Post by: Chero on May 10, 2006, 01:57:15 am
Quote
Chero? Whats CFLAGS are you using?

On a first look at gdm meta packge on Gentoo (gdm-2.8.0.7-r1.ebuild), give me some info:
1- This apply 4 patchs
Code: [Select]
* Applying gdm-2.4.4-selinux_remove_attr.patch ...                                 [ ok ]
 * Applying gdm-2.13.0.4-esperanto.patch ...                                        [ ok ]
 * Applying gdm-2.8-CVE-2006-1057.patch ...                                         [ ok ]
 * Fixing OMF Makefiles ...                                                         [ ok ]

2- The configure line is:
Code: [Select]
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/X11 --localstatedir=/var --with-xdmcp --with-pam-prefix=/etc --disable-ipv6 --with-tcp-wrappers --without-xinerama --without-selinux --enable-authentication-scheme=pam --disable-gtk-doc --build=i686-pc-linux-gnu
3- This use sources from:
http://distfiles.gentoo.org/distfiles/gdm-...iles-r2.tar.bz2 (http://distfiles.gentoo.org/distfiles/gdm-2.8-gentoo-files-r2.tar.bz2)
http://distfiles.gentoo.org/distfiles/gdm-2.8.0.7.tar.bz2 (http://distfiles.gentoo.org/distfiles/gdm-2.8.0.7.tar.bz2)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126315\"][{POST_SNAPBACK}][/a][/div]

I'm using gdm-2.14.5, it should have the mentioned patches in the code already.
I'll check this.

Maybe I could try the 2.8.0.7 gentoo sources.

I did a native compile, so my configure-command is shorter (most of the mentioned things are defaults anyway).

What I found out : it should be installed to /usr (prefix). So there is a chance the uploaded tarball of gdm doesn't work, unless you symlink /share/gdm to /usr/share/gdm.

Anyone risked to freeze his Z ?  

Chero.
Title: Graphical Login For Pdaxrom
Post by: anunakin on May 11, 2006, 07:02:10 am
Quote
Quote
Chero? Whats CFLAGS are you using?

On a first look at gdm meta packge on Gentoo (gdm-2.8.0.7-r1.ebuild), give me some info:
1- This apply 4 patchs
Code: [Select]
* Applying gdm-2.4.4-selinux_remove_attr.patch ...                                 [ ok ]
 * Applying gdm-2.13.0.4-esperanto.patch ...                                        [ ok ]
 * Applying gdm-2.8-CVE-2006-1057.patch ...                                         [ ok ]
 * Fixing OMF Makefiles ...                                                         [ ok ]

2- The configure line is:
Code: [Select]
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/X11 --localstatedir=/var --with-xdmcp --with-pam-prefix=/etc --disable-ipv6 --with-tcp-wrappers --without-xinerama --without-selinux --enable-authentication-scheme=pam --disable-gtk-doc --build=i686-pc-linux-gnu
3- This use sources from:
http://distfiles.gentoo.org/distfiles/gdm-...iles-r2.tar.bz2 (http://distfiles.gentoo.org/distfiles/gdm-2.8-gentoo-files-r2.tar.bz2)
http://distfiles.gentoo.org/distfiles/gdm-2.8.0.7.tar.bz2 (http://distfiles.gentoo.org/distfiles/gdm-2.8.0.7.tar.bz2)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126315\"][{POST_SNAPBACK}][/a][/div]

I'm using gdm-2.14.5, it should have the mentioned patches in the code already.
I'll check this.

Maybe I could try the 2.8.0.7 gentoo sources.

I did a native compile, so my configure-command is shorter (most of the mentioned things are defaults anyway).

What I found out : it should be installed to /usr (prefix). So there is a chance the uploaded tarball of gdm doesn't work, unless you symlink /share/gdm to /usr/share/gdm.

Anyone risked to freeze his Z ?  

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126355\"][{POST_SNAPBACK}][/a][/div]

On Gentoo 2.14.x is masked like unstable and unsecury, here comments from Gentoo Testers:
Code: [Select]
# John N. Laliberte (12 Mar 2006)
# GNOME 2.14 mask. You must follow instructions here:
# http://d.g.o/~allanonjl/gnome/2.13/adding.from.overlay.txt
# for adding files from our overlay.
#Most of these packages will break/not compile because of eclass
#changes that won't be made until every package is in the tree.
#Don't unmask these and don't file bugs for them
# Start GNOME 2.14 mask
Title: Graphical Login For Pdaxrom
Post by: Civil on May 11, 2006, 07:17:48 am
I've tried gdm... I think I made something wrong - I couldn't choose matchbox... But it works )

P.S. It'll be good if there will be choose - log on to console or logon to graphic manager
Title: Graphical Login For Pdaxrom
Post by: Chero on May 11, 2006, 07:55:43 am
Quote
I've tried gdm... I think I made something wrong - I couldn't choose matchbox... But it works )

P.S. It'll be good if there will be choose - log on to console or logon to graphic manager
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126532\"][{POST_SNAPBACK}][/a][/div]

To be able to choose matchbox :
there should be a .desktop file in /etc/dm/Sessions (or /usr/etc/dm/Sessions) (see my postings)

I'm not sure whether it's /etc or /usr/etc, I've been trying several options and my Z is a bit of a mess right now (but still does everything I want)

I'm still changing things to the setup, cause I also want to be able to log on to console.

Could somebody try the command "telinit 3" ?
(I don't have my Z with me and have troubles to reach this forum from 15:00 to 22:00).

Have Fun,
Chero.
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 11, 2006, 10:28:16 am
ok i will test it also when beta4 is ready... i always wanted a graphical login on Z. nice work until now!
Title: Graphical Login For Pdaxrom
Post by: VoiDeR on May 11, 2006, 11:20:25 am
Is there a HowTo to get XDM working? I have tried
Code: [Select]
/etc/rc.d/init.d/x11 startThat doesnt do anything. I tried to start it manually and that doesnt do anything either. I prefer XDM over GDM/KDM because its lighter and if you configure it right it can be very nice looking.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 11, 2006, 11:50:44 am
Quote
Is there a HowTo to get XDM working? I have tried
Code: [Select]
/etc/rc.d/init.d/x11 startThat doesnt do anything. I tried to start it manually and that doesnt do anything either. I prefer XDM over GDM/KDM because its lighter and if you configure it right it can be very nice looking.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126556\"][{POST_SNAPBACK}][/a][/div]


Check post 11 of this thread.
Title: Graphical Login For Pdaxrom
Post by: VoiDeR on May 11, 2006, 12:52:14 pm
Quote
Quote
Is there a HowTo to get XDM working? I have tried
Code: [Select]
/etc/rc.d/init.d/x11 startThat doesnt do anything. I tried to start it manually and that doesnt do anything either. I prefer XDM over GDM/KDM because its lighter and if you configure it right it can be very nice looking.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126556\"][{POST_SNAPBACK}][/a][/div]


Check post 11 of this thread.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126563\"][{POST_SNAPBACK}][/a][/div]
Oops my appoligies. I skipped right passed that. I just figured that was for gdm. Ill go give it a try.
Title: Graphical Login For Pdaxrom
Post by: VoiDeR on May 12, 2006, 09:46:23 am
I have the same problem when i open the packagemanager and it crashes back to xdm. It also does it when i choose aterm from icewm's start menu, but if i open aterm any other way it opens jut fine.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 12, 2006, 10:15:32 am
Quote
I have the same problem when i open the packagemanager and it crashes back to xdm. It also does it when i choose aterm from icewm's start menu, but if i open aterm any other way it opens jut fine.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126732\"][{POST_SNAPBACK}][/a][/div]

I have the same problem with xdm (and I don't like the look, but maybe you can teach us how to change it    ).
The problems are the same with gdm, so I believe they are related to the actions qpkg performs right after startup.
Apart from that, I'm still trying to find a way to get a console login when xdm/gdm has been set up. Anybody has a clue ?

Chero.
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 12, 2006, 10:56:57 am
Quote
Apart from that, I'm still trying to find a way to get a console login when xdm/gdm has been set up. Anybody has a clue ?

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126738\"][{POST_SNAPBACK}][/a][/div]
I was thinking of calling a script  with a  .desktop session file that kills the gdm process. A bit of a hack but it might work.

Jerry
Title: Graphical Login For Pdaxrom
Post by: Chero on May 15, 2006, 02:01:39 am
Quote
Quote
Apart from that, I'm still trying to find a way to get a console login when xdm/gdm has been set up. Anybody has a clue ?

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126738\"][{POST_SNAPBACK}][/a][/div]
I was thinking of calling a script  with a  .desktop session file that kills the gdm process. A bit of a hack but it might work.

Jerry
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126742\"][{POST_SNAPBACK}][/a][/div]

This works if I change "inittab" in the same script. It's not really killing gdm, I change "inittab" in the script to the original one, then I "telinit 5" to go back to runlevel 5 and I get my console login.
The bad thing is that when you've done this, you'll get a console login after reboot. I created a script called "restore-X-login" to put back the "inittab" with an X-login. Then I get x-login after reboot (and after running the script).
I'm still fiddling with this to make it more beautiful, I've already changed "inittab" so I can see the console login on reboot, right before gdm launches. The trick is to kill gdm, without gdm restarting automatically. Once I know how to do this, "inittab" can stay what and where it is.

Have fun,
Chero.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 15, 2006, 04:27:03 pm
This is my login screen right now :

 [ You are not allowed to view attachments ]

Sorry for the poor image-quality, I'll try to make a better one tomorrow.

(It reads : "welcome to pdaXrom")

Have fun,
Chero
Title: Graphical Login For Pdaxrom
Post by: karlto on May 15, 2006, 08:05:26 pm
Quote
This works if I change "inittab" in the same script. It's not really killing gdm, I change "inittab" in the script to the original one, then I "telinit 5" to go back to runlevel 5 and I get my console login.
The bad thing is that when you've done this, you'll get a console login after reboot. I created a script called "restore-X-login" to put back the "inittab" with an X-login. Then I get x-login after reboot (and after running the script).
I'm still fiddling with this to make it more beautiful, I've already changed "inittab" so I can see the console login on reboot, right before gdm launches. The trick is to kill gdm, without gdm restarting automatically. Once I know how to do this, "inittab" can stay what and where it is.

Have fun,
Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127064\"][{POST_SNAPBACK}][/a][/div]
Changing init levels is definitely the 'correct' way to handle gdm. Doesn't 'telinit 3' work? It sounds like you are changing the inittab manually at times, and I presume this will override the default runlevel because this is where it is stored...? Or does telinit make permanent changes to inittab?
Title: Graphical Login For Pdaxrom
Post by: Chero on May 16, 2006, 02:24:31 am
Quote
Changing init levels is definitely the 'correct' way to handle gdm. Doesn't 'telinit 3' work? It sounds like you are changing the inittab manually at times, and I presume this will override the default runlevel because this is where it is stored...? Or does telinit make permanent changes to inittab?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127198\"][{POST_SNAPBACK}][/a][/div]

The point is that the (console) login appears with default runlevel "5" in the original pdaXrom setup. I added gdm to runlevel 5, as it should be on a desktop-computer.

The only trick I miss right now is to stop gdm and get a console login. (The only way I can do it is as described above).

Chero
Title: Graphical Login For Pdaxrom
Post by: Chero on May 16, 2006, 02:23:32 pm
a better picture, as promised.

I'll try to package this in a "safe" ipk that doesn't destroy your current setup.
Anyone interested in testing ?

BTW: I compiled gdm-2.8.0.6 (debian stable) and now gdmsetup works.

 [ You are not allowed to view attachments ]

Have fun,
Chero.
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 16, 2006, 02:26:40 pm
yes I would like to test it please... hopefully it works with beta4
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 16, 2006, 02:50:16 pm
I'm crash-testing Beta-4, so, I'm game.
Thanks!
Title: Graphical Login For Pdaxrom
Post by: silencer51 on May 16, 2006, 03:23:05 pm
I'm also willing to try it... ;-)
Title: Graphical Login For Pdaxrom
Post by: karlto on May 16, 2006, 03:54:07 pm
Quote
The point is that the (console) login appears with default runlevel "5" in the original pdaXrom setup. I added gdm to runlevel 5, as it should be on a desktop-computer.

The only trick I miss right now is to stop gdm and get a console login. (The only way I can do it is as described above).

Chero
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127231\"][{POST_SNAPBACK}][/a][/div]
Ah, so there is no runlevel 3? Create it: set up inittab with runlevel 3 (or 4) having the default pdaXrom settings, and runlevel 5 adding gdm. Then you can telinit between them and pick one or the other for a default.

Watch out for the startup files in /etc/rc.d/init.d, as they are linked to runlevel - hmm... this could be more work than I first thought...
Title: Graphical Login For Pdaxrom
Post by: Chero on May 16, 2006, 04:18:34 pm
Quote
Quote
The point is that the (console) login appears with default runlevel "5" in the original pdaXrom setup. I added gdm to runlevel 5, as it should be on a desktop-computer.

The only trick I miss right now is to stop gdm and get a console login. (The only way I can do it is as described above).

Chero
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127231\"][{POST_SNAPBACK}][/a][/div]
Ah, so there is no runlevel 3? Create it: set up inittab with runlevel 3 (or 4) having the default pdaXrom settings, and runlevel 5 adding gdm. Then you can telinit between them and pick one or the other for a default.

Watch out for the startup files in /etc/rc.d/init.d, as they are linked to runlevel - hmm... this could be more work than I first thought...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127321\"][{POST_SNAPBACK}][/a][/div]

Yep,
You need runlevel 5 to run pdax, I was thinking about creating an extra runlevel, which means shifting the shutdown level.
Chero.
Title: Graphical Login For Pdaxrom
Post by: karlto on May 16, 2006, 11:56:04 pm
Quote
Yep,
You need runlevel 5 to run pdax, I was thinking about creating an extra runlevel, which means shifting the shutdown level.
Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127324\"][{POST_SNAPBACK}][/a][/div]
How can you shift the shutdown level?

Runlevels 0, 1 and 6 are reserved (for shutdown, single user and reboot). The others are up for grabs, and while tradition says that 3 is console and 5 is graphical, various distributions change this and there is no hard and fast rule.

I think you will have to move the settings that are currently in runlevel 5 down to 3 or 4, so you can use 5 for graphical. Or maybe you could install it backwards...? That's why I mentioned it being a bit more work than I initially thought, because you'd have to move the current default down, as you can't add any more up.

My head is spinning with numbers now... imagine how much difficulty I would have with double digits! In the end there is only 0 and 1 anyhow...  
Title: Graphical Login For Pdaxrom
Post by: Chero on May 17, 2006, 02:11:34 am
Quote
Quote
Yep,
You need runlevel 5 to run pdax, I was thinking about creating an extra runlevel, which means shifting the shutdown level.
Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127324\"][{POST_SNAPBACK}][/a][/div]
How can you shift the shutdown level?

Runlevels 0, 1 and 6 are reserved (for shutdown, single user and reboot). The others are up for grabs, and while tradition says that 3 is console and 5 is graphical, various distributions change this and there is no hard and fast rule.

I think you will have to move the settings that are currently in runlevel 5 down to 3 or 4, so you can use 5 for graphical. Or maybe you could install it backwards...? That's why I mentioned it being a bit more work than I initially thought, because you'd have to move the current default down, as you can't add any more up.

My head is spinning with numbers now... imagine how much difficulty I would have with double digits! In the end there is only 0 and 1 anyhow...  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127369\"][{POST_SNAPBACK}][/a][/div]

I thought it was like that, but read something about runlevel 7 while googling, so I just hoped there would be a way...
Anyone knows how "kdm" jumps back to console login ? Maybe I should look into this.

Chero.
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 17, 2006, 02:30:07 am
I got further now... if I type gdm now the screen turns grey and there is this mousepointer (as if X would start). But then nothing happens... I can move the pointer so the system doesnt hang but still it does nothing.

btw. when I start gdmgreeter it says in console:
"gdmgreeter: error while loading shared libraries: libgconf-2.so4: cannot open shared object file: No such file or directory"

where do I get this lib? this ist something related to gtk, isn't it?
Title: Graphical Login For Pdaxrom
Post by: Chero on May 17, 2006, 02:36:53 am
Quote
I got further now... if I type gdm now the screen turns grey and there is this mousepointer (as if X would start). But then nothing happens... I can move the pointer so the system doesnt hang but still it does nothing.

btw. when I start gdmgreeter it says in console:
"gdmgreeter: error while loading shared libraries: libgconf-2.so4: cannot open shared object file: No such file or directory"

where do I get this lib? this ist something related to gtk, isn't it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127387\"][{POST_SNAPBACK}][/a][/div]

gconf is in the main feed(s), I'll add it to the deps.
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 17, 2006, 02:37:49 am
thx I already found it in another discussion.

I'm giving it another try with the bugfixed beta4 now!
Title: Graphical Login For Pdaxrom
Post by: silencer51 on May 17, 2006, 04:59:00 am
Remember, you need to add a gdm user group:

addgroup gdm

and afterwards:

adduser gdm

It works for me, although when I start xfce4 the fonts are the wrong size - apparently Chero's xinitrc file is being loaded instead of mine. I'll see if I can find a way to edit the .conf file...
Title: Graphical Login For Pdaxrom
Post by: Chero on May 17, 2006, 05:44:50 am
Quote
Remember, you need to add a gdm user group:

addgroup gdm

and afterwards:

adduser gdm

It works for me, although when I start xfce4 the fonts are the wrong size - apparently Chero's xinitrc file is being loaded instead of mine. I'll see if I can find a way to edit the .conf file...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127418\"][{POST_SNAPBACK}][/a][/div]

Try editing /usr/etc/gdm/gdm.conf (you can simply use the edit function in mc)
then replace every "-dpi 100" by " "

I changed this to make sure the greeter screen was readable.

Chero.
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 17, 2006, 06:57:32 am
Intersting point here... if I  "addgroup gdm" and then "adduser gdm" it says: "adduser: group name gdm already in use".

anyway if I type gdm the screen turns grey and the pointer appears on the screen... that means that X starts but it doesnt go further. The pointer moves if I tap the screen so the Zaurus doesnt hang. If I press ctrl+alt+bs I get back to the terminal.

Or does it maybe take so long for gdm to start (for the first time)?
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 17, 2006, 07:34:22 am
Quote
Intersting point here... if I  "addgroup gdm" and then "adduser gdm" it says: "adduser: group name gdm already in use".

anyway if I type gdm the screen turns grey and the pointer appears on the screen... that means that X starts but it doesnt go further. The pointer moves if I tap the screen so the Zaurus doesnt hang. If I press ctrl+alt+bs I get back to the terminal.

Or does it maybe take so long for gdm to start (for the first time)?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127434\"][{POST_SNAPBACK}][/a][/div]
There are a whole bunch of dependencies, libbono, libgnomegui & others. Try running gdmsetup, you'll  find out what dependencies you're missing.

Jerry
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 17, 2006, 07:47:44 am
Thank you. I thought of missing dependencies but gdmflexiserver, gdmphotosetup and gdmsetup where the only commands I didnt test...  and the other do not tell me which dependencies are not available.

gdmsetup really needs some dependencies which I'll install now.

thx!

Edit: I'll post which dependencies are needed for other users to know:
libbonobo, libgnomeui, libbonoboui, libgnome, (lib)gnome-keyring, gnome-vfs, libglade, libgsf, libiconv, librsvg, orbit2

most of them are to be found in the beta1 feed
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 17, 2006, 09:20:39 am
gdmsetup works now as it should but gdm still doesnt start. The same as told before happens. Grey screen as if X would start and mousepointer but nothing more happens.

does gdm have a log or something where I can find what happens during start of gdm?
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 17, 2006, 09:28:07 am
ok i found /usr/var/log/gdm and it says:
"Could not init font path element /usr/X11r6/lib/X11/fonts/75dpi, removing from list!
Could not init font path element /usr/X11r6/lib/X11/fonts/100dpi, removing from list!"

I'm looking where I can find these...
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 17, 2006, 02:45:35 pm
it's still not working... the same happens as before.
Title: Graphical Login For Pdaxrom
Post by: karlto on May 17, 2006, 04:28:16 pm
Quote
I thought it was like that, but read something about runlevel 7 while googling, so I just hoped there would be a way...
Anyone knows how "kdm" jumps back to console login ? Maybe I should look into this.

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127385\"][{POST_SNAPBACK}][/a][/div]
I think kdm works the same; only respawns in runlevel 5 (for example). It has a button to do this.

You're right - some sites say that 7-9 are also valid runlevels, but I think it would be much nicer to use 3 or 4. On my RC12 tosa:

3: sd,pcmcia,ssh,,usb,messagebus,cups
4: same as 3 - cups(whoops?)
5: same as 3 + atd

I'm sure it would be reasonable to use 3 as default (currently 5), and change 5 to include gdm. gdm's configuration should tell it only to respawn if in runlevel 5, so telinit 3 will go to console. I can switch between 3, 4 and 5 with no hassle at all...

If you wanted to retain as much default pdaXrom as possible, I believe you could have gdm in runlevel 4 and not 5; you'd have to configure gdm to suit.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 19, 2006, 03:39:50 am
I can use the login screen to login to console, but not yet to get a "console login"
Let's keep on fiddling.

I have added some themes, and this is my login screen right now :

 [ You are not allowed to view attachments ]

Have fun,
Chero.
Title: Graphical Login For Pdaxrom
Post by: adf on May 19, 2006, 03:44:09 am
gorgeous.  what is the new 2.6 beta4 going to do to your progress?
Title: Graphical Login For Pdaxrom
Post by: Chero on May 19, 2006, 03:52:05 am
Quote
gorgeous.  what is the new 2.6 beta4 going to do to your progress?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127699\"][{POST_SNAPBACK}][/a][/div]

As far as I know it runs on beta4 as well, with the same issues as on beta3.
My guess is it will only have to be recompiled with the latest version, the setup afterwards will be quite similar.

The reason I'm testing on beta3 is 'cause I consider it to be very stable. I want to be sure that the problems I find are related to gdm and not to the beta-version of pdaX.

Chero.
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 19, 2006, 07:46:42 am
for me (with beta4) its still not working but as I could see in some logs it needs these fonts as mentioned in the log... but where to get them?

"Could not init font path element /usr/X11r6/lib/X11/fonts/75dpi, removing from list!
Could not init font path element /usr/X11r6/lib/X11/fonts/100dpi, removing from list!"
Title: Graphical Login For Pdaxrom
Post by: Chero on May 19, 2006, 08:57:49 am
Quote
for me (with beta4) its still not working but as I could see in some logs it needs these fonts as mentioned in the log... but where to get them?

"Could not init font path element /usr/X11r6/lib/X11/fonts/75dpi, removing from list!
Could not init font path element /usr/X11r6/lib/X11/fonts/100dpi, removing from list!"
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127735\"][{POST_SNAPBACK}][/a][/div]

It doesn't really need the fonts, the X-session tries to load them, but then continues without them.
I have these messages in my log file as well, but still gdm works as it should.
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 19, 2006, 09:02:25 am
ok... good to know

for me it doesnt work. gdmsetup works now (after I installed all the dependencies) but gdm itself doesnt.

I also installed KDE on beta4 which works. As KDE delivers also kdm, i tried it. The screen gets grey (as if you start X or when I try to start gdm) than appears a window in the middle of the screen with no text, which disappears just for less than a second. Then the screen gets grey again and after 2 or 3 seconds the window appears again and the background turns blue. Afterwards the screen gets grey again and so on until I reboot the Zaurus.

I bet there is something more missing...
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 19, 2006, 09:22:17 am
Quote
ok... good to know

for me it doesnt work. gdmsetup works now (after I installed all the dependencies) but gdm itself doesnt.

I also installed KDE on beta4 which works. As KDE delivers also kdm, i tried it. The screen gets grey (as if you start X or when I try to start gdm) than appears a window in the middle of the screen with no text, which disappears just for less than a second. Then the screen gets grey again and after 2 or 3 seconds the window appears again and the background turns blue. Afterwards the screen gets grey again and so on until I reboot the Zaurus.

I bet there is something more missing...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127749\"][{POST_SNAPBACK}][/a][/div]
I had similar issue, and even though gdm setup would work, gdm wouldn't load, it turned out I missed one of the dependencies Chero listed on his post where the ipk is, double check to make sure you got those all installed too.

Good luck,
Jerry

BTW, I can only get gdm to load xfce4 on Beta 4, for some reason that's beyond me matchbox hangs and never loads.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 19, 2006, 09:25:22 am
Quote
ok... good to know

for me it doesnt work. gdmsetup works now (after I installed all the dependencies) but gdm itself doesnt.

I also installed KDE on beta4 which works. As KDE delivers also kdm, i tried it. The screen gets grey (as if you start X or when I try to start gdm) than appears a window in the middle of the screen with no text, which disappears just for less than a second. Then the screen gets grey again and after 2 or 3 seconds the window appears again and the background turns blue. Afterwards the screen gets grey again and so on until I reboot the Zaurus.

I bet there is something more missing...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127749\"][{POST_SNAPBACK}][/a][/div]

As far as I know, KDE can't be installed to "/", so it will be very difficult to launch kdm at boot time.
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 19, 2006, 11:16:37 am
Ok, I got it working in Matchbox, but having significant problems getting the rotation correct between gdm and matchbox. Having to create a modified fbpanel-session to get the orientation correct  

But here's my screenshot of gdm.. (thanks to Chero for his guidance on screenshot within gdm!)

Cheers,
Jerry
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 19, 2006, 04:40:57 pm
Nice screen!

And I still cannot get it. I checked if every package is installed which was mentioned in this thread and in this pm where we got the ipk from chero... but everything is installed.

Dont know what to do further...
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 19, 2006, 05:22:15 pm
Quote
Nice screen!

And I still cannot get it. I checked if every package is installed which was mentioned in this thread and in this pm where we got the ipk from chero... but everything is installed.

Dont know what to do further...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127808\"][{POST_SNAPBACK}][/a][/div]
Well, I can't get matchbox to rotate properly, even when I get it to have the proper orientation then fbpanel crashes and isn't visible.

Here's a screenshot of what it looks like with default fbpanel-session file. The other screen shot is what happens when started from gdm. Notice the fonts on the icons in the rotated screen are significantly larger than when not started from gdm wierd...
 
Title: Graphical Login For Pdaxrom
Post by: diesel1 on May 19, 2006, 06:00:36 pm
Quote
Quote
Nice screen!

And I still cannot get it. I checked if every package is installed which was mentioned in this thread and in this pm where we got the ipk from chero... but everything is installed.

Dont know what to do further...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127808\"][{POST_SNAPBACK}][/a][/div]
Well, I can't get matchbox to rotate properly, even when I get it to have the proper orientation then fbpanel crashes and isn't visible.

Here's a screenshot of what it looks like with default fbpanel-session file. The other screen shot is what happens when started from gdm. Notice the fonts on the icons in the rotated screen are significantly larger than when not started from gdm wierd...
 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127811\"][{POST_SNAPBACK}][/a][/div]


Does the screen scroll like a virtual screen in X?
It makes me think one of the displays is a virtual window of the other.

Simon.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 20, 2006, 03:33:17 am
The fonts :
in the gdm.conf file I added "-dpi 100" to the X-session. When I don't, the fonts in the greeter are unreadable. When I do, the fonts in matchbox (and other WMs) are bigger.
You could try to remove all "-dpi 100" from /etc/gdm/gdm.conf. There is also a "gdm.conf.orig" in the same dir, backup gdm.conf, replace it with the orig-one, run gdmsetup and try again.

In xfce4.4 I solved this by putting my user-font to 8 pixels and qtconfig to 8 pixels (which is unreadable in the default setup, but quite nice with the gdm-setup).

Anyone else interested in helping to optimize this, please send me a PM ?

Chero.
Title: Graphical Login For Pdaxrom
Post by: MONVMENTVM on May 20, 2006, 06:13:35 am
Yes... now it is working for me also... it was really bzip2 which was missing, as you said Chero.

Here is the full (hopefully) dependency list:
libbonobo, libgnomeui, libbonoboui, libgnome, (lib)gnome-keyring, gnome-vfs, bzip2, libglade, libgsf, libiconv, librsvg, orbit2


Still there are some problems which means just some tweaking I think.

Here is a picture of my first-time-gdm-on-Zaurus:

 [ You are not allowed to view attachments ]
Title: Graphical Login For Pdaxrom
Post by: Chero on May 20, 2006, 06:18:08 am
Quote
Yes... now it is working for me also... it was really bzip2 which was missing, as you said Chero.

Here is the full (hopefully) dependency list:
libbonobo, libgnomeui, libbonoboui, libgnome, (lib)gnome-keyring, gnome-vfs, bzip2, libglade, libgsf, libiconv, librsvg, orbit2


Still there are some problems which means just some tweaking I think.

Here is a picture of my first-time-gdm-on-Zaurus:

 [ You are not allowed to view attachments ]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127856\"][{POST_SNAPBACK}][/a][/div]

you selected the gnome theme with chooser - that one doesn't work yet - select another greeter and you'll be ok.
Title: Graphical Login For Pdaxrom
Post by: Chero on May 20, 2006, 06:34:54 am
Quote
Yes... now it is working for me also... it was really bzip2 which was missing, as you said Chero.

Here is the full (hopefully) dependency list:
libbonobo, libgnomeui, libbonoboui, libgnome, (lib)gnome-keyring, gnome-vfs, bzip2, libglade, libgsf, libiconv, librsvg, orbit2


Still there are some problems which means just some tweaking I think.

Here is a picture of my first-time-gdm-on-Zaurus:

 [ You are not allowed to view attachments ]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127856\"][{POST_SNAPBACK}][/a][/div]

(found using calcdepends)
gtk2, libgnomecanvas, libxml2, openssl can be added to that list
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 20, 2006, 09:15:20 am
Ok, I got it working now with both matchbox & xfce4. My avatar was chosen for a reason  
The problem with the matchbox.desktop was it shouldn't be calling fbpanel-session, but rather startx. With startx it restarts the x server and the orientation and fonts size are fine. I've replaced the inittab and now it's being loaded automatically.

To get to the console, I made a simple script
Code: [Select]
killall gdm-binary and setup a kill-gdm.desktop file that calls the script. This ugly hack will tide me over until Chero figures out the proper way to get to the console.

Jerry
Title: Graphical Login For Pdaxrom
Post by: jerrybme on May 31, 2006, 11:12:55 am
Chero:
I've been using gdm for a while now without problems, one question though ->
How do you get it to remember which session was used last time?

I have to chose the session each time, as the default session seems to be gnome which of course fails..

TIA
Title: Graphical Login For Pdaxrom
Post by: Chero on June 01, 2006, 02:43:36 am
Quote
Chero:
I've been using gdm for a while now without problems, one question though ->
How do you get it to remember which session was used last time?

I have to chose the session each time, as the default session seems to be gnome which of course fails..

TIA
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129135\"][{POST_SNAPBACK}][/a][/div]

It should ask you to save the session you choose as the default one, or to leave the current default as it is. At least, that's how it works for me.

I created a new ipk (with all deps) and will upload it asap, but right now I'm testing some other rom, so please be patient.

Chero.
Title: Graphical Login For Pdaxrom
Post by: jerrybme on June 01, 2006, 07:58:10 am
Quote
It should ask you to save the session you choose as the default one, or to leave the current default as it is.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129243\"][{POST_SNAPBACK}][/a][/div]
Hmm, it's not doing that. I'll have to poke around & see if I can figure out it's not doing that.
Title: Graphical Login For Pdaxrom
Post by: vimes on July 22, 2006, 08:51:57 am
Quote
Quote
Chero:
I've been using gdm for a while now without problems, one question though ->
How do you get it to remember which session was used last time?

I have to chose the session each time, as the default session seems to be gnome which of course fails..

TIA
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129135\"][{POST_SNAPBACK}][/a][/div]

It should ask you to save the session you choose as the default one, or to leave the current default as it is. At least, that's how it works for me.

I created a new ipk (with all deps) and will upload it asap, but right now I'm testing some other rom, so please be patient.

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129243\"][{POST_SNAPBACK}][/a][/div]


Chero, any news on gdm ipk for those of us to lazy to do all the manual stuff  
Title: Graphical Login For Pdaxrom
Post by: Chero on July 25, 2006, 04:25:30 pm
Quote
Quote
Quote
Chero:
I've been using gdm for a while now without problems, one question though ->
How do you get it to remember which session was used last time?

I have to chose the session each time, as the default session seems to be gnome which of course fails..

TIA
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129135\"][{POST_SNAPBACK}][/a][/div]

It should ask you to save the session you choose as the default one, or to leave the current default as it is. At least, that's how it works for me.

I created a new ipk (with all deps) and will upload it asap, but right now I'm testing some other rom, so please be patient.

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129243\"][{POST_SNAPBACK}][/a][/div]


Chero, any news on gdm ipk for those of us to lazy to do all the manual stuff  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136094\"][{POST_SNAPBACK}][/a][/div]

The ipk is ready. But I'm still having some problems with some apps. An X-session that is compatible with gdm as well as pdaX should be created by someone who knows a lot about x-session-options.
I just got back from a camping trip, so give me a few days.

Chero.
Title: Graphical Login For Pdaxrom
Post by: vimes on July 26, 2006, 10:09:26 am
Quote
The ipk is ready. But I'm still having some problems with some apps. An X-session that is compatible with gdm as well as pdaX should be created by someone who knows a lot about x-session-options.
I just got back from a camping trip, so give me a few days.

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=136394\"][{POST_SNAPBACK}][/a][/div]

Cheers Chero.... hope you had a nice time on your trip, bar your car woes ;-)
I'm happy to test this if you need some more input with the ipk, just let me know.
Title: Graphical Login For Pdaxrom
Post by: InSearchOf on July 26, 2006, 06:19:09 pm
Chero, Let me know if you need any assistance with the .xsession config.

Late
Title: Graphical Login For Pdaxrom
Post by: InSearchOf on August 05, 2006, 12:26:29 pm
Hey chero... I apoligize for no responces to this recently... I just dropped back to beta3 2 days ago... I'm looking into the qpkg issue first...

I will keep you updated on the status...

Late
Title: Graphical Login For Pdaxrom
Post by: uMP2k on September 07, 2006, 02:41:48 am
Just a bump, wondering if there has been any progress on this?

I am still trying ot get xfce4 working properly, but once I have that sorted then I think I would like to give this a try!
Title: Graphical Login For Pdaxrom
Post by: rgrep on September 07, 2006, 05:21:39 am
I haven't tried GDM yet but I like the idea of a GUI login screen for pdaXrom.  Good work so far Chero!

A couple of thoughts/ideas:

1. To get to the text console you should just be able to switch virtual terminals, e.g. execute "chvt 1".  To get back to X use Fn-rightarrow.

(However I just tested his on beta1 and when I tried to switch back to X it just hung and when I ssh'd into my Zaurus and ran "chvt 1" it caused X to crash but the screen contents didn't change until I ran "startx" again.  I assume this is a bug in TinyX.)

2. My personal opinion is that starting the display manager from inittab is ugly and hard to manage.  I prefer the method I first saw in Debian where the DM is just started from a normal init script.  This makes it way easier to start and stop the DM and you don't have to edit inittab or muck around with runlevels just to disable X on boot.

Just my 2c.

Matt
Title: Graphical Login For Pdaxrom
Post by: Chero on September 07, 2006, 08:36:50 am
Quote
I haven't tried GDM yet but I like the idea of a GUI login screen for pdaXrom.  Good work so far Chero!

A couple of thoughts/ideas:

1. To get to the text console you should just be able to switch virtual terminals, e.g. execute "chvt 1".  To get back to X use Fn-rightarrow.

(However I just tested his on beta1 and when I tried to switch back to X it just hung and when I ssh'd into my Zaurus and ran "chvt 1" it caused X to crash but the screen contents didn't change until I ran "startx" again.  I assume this is a bug in TinyX.)

2. My personal opinion is that starting the display manager from inittab is ugly and hard to manage.  I prefer the method I first saw in Debian where the DM is just started from a normal init script.  This makes it way easier to start and stop the DM and you don't have to edit inittab or muck around with runlevels just to disable X on boot.

Just my 2c.

Matt
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140907\"][{POST_SNAPBACK}][/a][/div]

Seems like a good idea to start gdm from a normal init-script. Never thought about doing it that way. Thanks for the tip.

If you want to try - play around, maybe try xdm first, it comes installed by default.

Chero.