LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-22-2010, 01:59 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Is there a console / text based XDM / GDM?


Hello,

I would like that users can log to X but this with a text based xdm

+ how to active it as last in inittab since it is text

what contains my inittab
Code:
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
7:23:respawn:/sbin/getty 38400 tty7
8:23:respawn:/sbin/getty 38400 tty8
 
Old 05-22-2010, 03:34 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
The dm is usually ran as a daemon.
Not sure how to do it on Linux. On a BSD machine, I can just add the dm to rc.conf or not.
Yeah, just find the daemon and disable it.
 
Old 05-22-2010, 04:24 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Or use startx &
 
Old 05-22-2010, 04:32 AM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by catkin View Post
Or use startx &
I would like to avoid users to start startx
with a console based login manager (text)
 
Old 05-22-2010, 04:33 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Mr-Bisquit View Post
The dm is usually ran as a daemon.
Not sure how to do it on Linux. On a BSD machine, I can just add the dm to rc.conf or not.
Yeah, just find the daemon and disable it.
thanks. I seek it's tar.gz ...
http://www.google.com/search?q=dm+lo...nt=iceweasel-a
 
Old 05-22-2010, 09:12 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by frenchn00b View Post
I would like to avoid users to start startx
with a console based login manager (text)
That could be done by modifying /etc/profile to run startx & -- but not for root!
 
Old 05-22-2010, 09:13 AM   #7
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
I've heard of this:
http://cdm.ghost1227.com/
 
Old 05-22-2010, 10:12 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Bratmon View Post
I've heard of this:
http://cdm.ghost1227.com/
Very interesting. Thanks for the info
 
Old 05-23-2010, 02:22 AM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by catkin View Post
Very interesting. Thanks for the info

Nice
Code:
guest@console-display-manager:/[30]$ hello

Hello to you too.

guest@console-display-manager:/[30]$ hello world

My name isn't world!
it sounds great this tool, even it replys the human language basics.

Is there some others like cdm, althouhg it looks what we need
i chekc whether it uses .dmrc


Massive CDM Update!

2010-01-04 14:49:07 by Ghost1227 in Updates (2 comments) permalink

Quote:
CDM 0.4 was finally released yesterday, and believe me it was worth the wait! We’ve incorporated a whole bunch of new features, notably the ability to use custom .xinitrc files and pass custom options to the X server. Read the CHANGELOG for full details.

Here a snapshot :
http://img99.imageshack.us/img99/1926/cdmsnapshot1.png

but login and password arent missing and it requires some more manager ... to edit config.

Last edited by frenchn00b; 05-23-2010 at 02:31 AM.
 
Old 05-23-2010, 02:39 AM   #10
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
screenshot

In the code, it does not seem that it prompts :
LOGIN
PASSWORD

If yes, how to add it to /etc/inittab, in particularly there below?
Code:
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
7:23:respawn:/sbin/getty 38400 tty7
8:23:respawn:/sbin/getty 38400 tty8


Code:
   GNU General Public License for more details.                                                                                                                                                       
#                                                                                                                                                                                                          
#       You should have received a copy of the GNU General Public License                                                                                                                                  
#       along with this program; if not, write to the Free Software                                                                                                                                        
#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,                                                                                                                                         
#       MA 02110-1301, USA.                                                                                                                                                                                
                                                                                                                                                                                                           
name="Console Display Manager"                                                                                                                                                                             
ver="0.5.2"                                                                                                                                                                                                
info="\e[1;34m==>\e[1;37m"                                                                                                                                                                                 
error="\e[1;31m==>\e[1;37m"                                                                                                                                                                                
success="\e[1;32m==>\e[1;37m"                                                                                                                                                                              
reset="\e[0m"                                                                                                                                                                                              
# Ignore SIGINT (^C) and SIGTSTP (^Z)                                                                                                                                                                      
trap "" 2 20                                                                                                                                                                                               
userclientrc=$HOME/.xinitrc                                                                                                                                                                                
sysclientrc=/etc/X11/xinit/xinitrc                                                                                                                                                                         
# userserverrc=$HOME/.xserverrc                                                                                                                                                                            
# sysserverrc=/etc/X11/xinit/xserverrc                                                                                                                                                                     
                                                                                                                                                                                                           
# Source cdm configuration                                                                                                                                                                                 
if [[ -f /etc/cdmrc ]]; then
 
Old 05-23-2010, 03:22 AM   #11
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
I would actually need two text-mode logins manager (starting X automatically (so no need of typing startx)) for the tty9 and tty10. Any ideas?
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kdm,gdm,xdm paul001 Linux - Newbie 1 10-11-2008 09:52 PM
xdm instead of gdm vash331 Ubuntu 1 01-15-2006 08:21 PM
xdm to gdm? czon Debian 3 08-13-2005 08:12 AM
Without GDM/XDM DoubleLetter Linux - General 4 04-18-2003 05:19 PM
Text-console based IRC ? onurb Linux - Software 4 03-10-2003 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration