Unix Technical Forum

Graphical login

This is a discussion on Graphical login within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I wonder what's a simple and effective (e. g. non-obtrusive) way to get a graphical login manager with ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:40 PM
Kiki Novak
 
Posts: n/a
Default Graphical login

Hi,

I wonder what's a simple and effective (e. g. non-obtrusive) way to get a
graphical login manager with Slack. Or better, to auto-login on one
predefined user. I want to install Slack to a friend, but she's afraid of
black console screens)

Suggestions?

Niki Kovacs
--
Whereof one cannot speak, thereof one frequently goes ranting on and on at
ball-breaking length. (Ludwig Wittgenstein, Tractatus Logico-Philosophicus,
first draft)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:40 PM
Elvis Slavic
 
Posts: n/a
Default Re: Graphical login

Kiki Novak wrote:
> Hi,
>
> I wonder what's a simple and effective (e. g. non-obtrusive) way to get a
> graphical login manager with Slack. Or better, to auto-login on one
> predefined user. I want to install Slack to a friend, but she's afraid of
> black console screens)
>
> Suggestions?
>
> Niki Kovacs


I think that it can be done if you use KDE and it's graphical login
manager. If I remeber corectly there is an autologon user setting in the
KDE Control center. Of course, you also must switch default runlevel in
/etc/inittab from 3 (console) to 4 (X). Hope this helps.

Elvis Slavic
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:40 PM
John Price
 
Posts: n/a
Default Re: Graphical login


"Kiki Novak" <mickey@mouse.com> wrote in message
news:414e891b$0$17693$626a14ce@news.free.fr...
> Hi,
>
> I wonder what's a simple and effective (e. g. non-obtrusive) way to get a
> graphical login manager with Slack. Or better, to auto-login on one
> predefined user. I want to install Slack to a friend, but she's afraid of
> black console screens)
>
> Suggestions?
>
> Niki Kovacs
> --
> Whereof one cannot speak, thereof one frequently goes ranting on and on at
> ball-breaking length. (Ludwig Wittgenstein, Tractatus

Logico-Philosophicus,
> first draft)


I think the KDE's login manager it's very nice, obviously if you will
install KDE. Also, it has the auto-login feature.
a
contact@geticasoftware.ro


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 03:41 PM
Variant
 
Posts: n/a
Default Re: Graphical login

Kiki Novak <mickey@mouse.com> wrote:
> Hi,
>
> I wonder what's a simple and effective (e. g. non-obtrusive) way to get a
> graphical login manager with Slack. Or better, to auto-login on one
> predefined user. I want to install Slack to a friend, but she's afraid of
> black console screens)
>
> Suggestions?
>
> Niki Kovacs


You can use XDM, which is simple and fast.

(0x01) Edit /etc/inittab and set your runlevel to 4

(0x02) Create .xinitrc in your user home directory (this file can be
copied from /etc/X11/xinit/xinitrc.

(0x03) Edit .xinitrc to contain:

exec windowmanager

....where windowmanger is the window manager you are using.

(0x04) Create the file .xsession in your user home directory and link
it to .xinitrc (ln -s .xinitrc .xsession)

(0x05) Set .xinitrc executable (chmod +x .xinitrc).

(0x06) Reboot. XDM should start and you can login as normal.

--
/* Variant */
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 03:41 PM
Jeffrey Froman
 
Posts: n/a
Default Re: Graphical login

Kiki Novak wrote:

> I wonder what's a simple and effective (e. g. non-obtrusive) way to get a
> graphical login manager with Slack.


Slackware comes with three possibilities for graphical login managers: gdm,
kdm, and xdm. It sounds like you mostly go for KDE, if I recall correctly
from past posts, so kdm would probably work best for you.

The installer used to offer an option for graphical login, but I'm not sure
if that's there anymore. If not, edit /etc/inittab after installing. In the
line:

id:3:initdefault:

change the '3' to a '4'. Then look at /etc/rc.d/rc.4 -- you'll notice that
it will start gdm first by default. In order to get kdm then, you have to
either comment out the lines that start gdm, or remove executable
permissions from gdm:

chmod -x /usr/bin/gdm

Voila, graphical login. I don't know about "automatic" login ... I wouldn't
go there myself. But you could create a user with no password I suppose.

Jeffrey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 03:41 PM
Blumf
 
Posts: n/a
Default Re: Graphical login

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeffrey Froman wrote:

> Kiki Novak wrote:
>
>> I wonder what's a simple and effective (e. g. non-obtrusive) way to get a
>> graphical login manager with Slack.



> Voila, graphical login. I don't know about "automatic" login ... I
> wouldn't go there myself. But you could create a user with no password I
> suppose.


KDM can do automatic logins. It can also handle passwordless logins too
(i.e. just double click on the user icon on the login screen).

Blumf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBTvKWMid3IcxolsoRAvPuAJ9BffgjpgxDZVLyQKt4WI 8mnzzNqgCeLewq
pj6Wkaf6JaHSmkrSvzcEB5U=
=oOsg
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 03:42 PM
Rich Grise
 
Posts: n/a
Default Re: Graphical login

On Monday 20 September 2004 07:39 am, Variant did deign to grace us with the
following:

> Kiki Novak <mickey@mouse.com> wrote:
>> Hi,
>>
>> I wonder what's a simple and effective (e. g. non-obtrusive) way to get a
>> graphical login manager with Slack. Or better, to auto-login on one
>> predefined user. I want to install Slack to a friend, but she's afraid of
>> black console screens)

> ...where windowmanger is the window manager you are using.
>
> (0x04) Create the file .xsession in your user home directory and link

^^^^
Symlink?

> it to .xinitrc (ln -s .xinitrc .xsession)
>
> (0x05) Set .xinitrc executable (chmod +x .xinitrc).
>
> (0x06) Reboot. XDM should start and you can login as normal.
>

Cheers!
Rich

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 03:42 PM
Mario Berger
 
Posts: n/a
Default Re: Graphical login

> (0x06) Reboot. XDM should start and you can login as normal.

No need to reboot here. If you are on runlevel 3, just login as root and
type "init 4". If you are on 4, just go to 3 ("init 3") and then 4 again
(see above).

~Mik

--
Top-Bottom Programming never gets you where you wanted to go.
Bottom-Top Programming gets you where you never wanted to go.

while not life:
sleep((sleep.normal_time - 5h)); eat(mode=fast); pc_mainloop()
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 03:42 PM
Ian Bell
 
Posts: n/a
Default Re: Graphical login

Mario Berger wrote:
>> (0x06) Reboot. XDM should start and you can login as normal.

>
>
> No need to reboot here. If you are on runlevel 3, just login as root and
> type "init 4". If you are on 4, just go to 3 ("init 3") and then 4 again
> (see above).
>
> ~Mik
>

On the same subject I just set up slack 10 to use kdm as the login
manager rather than a console login followed by startx. Works fine for
root but any other user gets a message 'your shell is not listed in
/etc/shells'. This file contains a list with entries like /bin/bash.
Any idea what the problem is? For the moment I am using xdm which
seems to work OK but is rather limited.

Ian

--
Ian Bell
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 03:42 PM
gslack
 
Posts: n/a
Default Re: Graphical login

Hi,

i've configured XDM to get a more beautiful login screen

I use xv to put a random background
put xload and xclock too on login screen
and xsnow for fun :-))

you can get information to configure XDM on :

http://www.pajagus.org (it's in french, sorry ;-) )

it's not updated with my last config (Slackware 10.0) so if you want
my config file tell me .

A screenshot of my login screen with XDM :

http://www.pajagus.org/page-info/snap/xdm2.png

i also made a little TCL-TK app to reboot or stop my computer
without need to login (it's in the left upper corner).

gus,

Message posted via:
=====================
www.linuxpackages.net/forum
www.linuxpackages.net
Expanding the world of Slackware
=====================
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com