Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-05-2007, 02:37 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
skip login and directly gets into the x -window

i installed debian system by the way of chroot .And after start my system ,there's the prompt "tiger1v1 login :" and you must input the username "root",then you can get a shell .then type "startx" in the shell u can enter into graphic window ,my xwindow is xfce4.
i have a problem :how should i skip the login and directly enter into xfce without any operation.
Old 07-05-2007, 03:00 AM   #2
Registered: Dec 2006
Posts: 582

Rep: Reputation: 31
All the desktop distribution is directly run inot X(Graphics Mode) except you changed the default.

Please don't run xfs(X Server) as root. This is pretty dangerous.

You can change the default run level to 5. Then, you have no problem already.
Old 07-05-2007, 08:00 AM   #3
LQ Newbie
Registered: Jan 2007
Location: Boston MA
Distribution: Ubuntu 9.10, Debian 5, Wolvix 2, Slackware 12
Posts: 14

Rep: Reputation: 0
if you want no prompt add this to the inittab (/etc/inittab)
be sure that you have a free tty (no shell on tty7)


PHP Code:
7:23:respawn:su -<UNPRIVED USER"startx" 
I think that a regular user can start the xserver, be sure that

PHP Code:
su -<USERNAME"startx" 
works before trying the rest.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
new window manager to the login bigearsbilly Solaris / OpenSolaris 4 12-08-2006 06:41 AM
How does one draw pixels directly onto the window in C and Modular X11R7? amitron Programming 4 10-15-2006 06:54 AM
how to: "not allow root to login directly"? narly Linux - Security 2 05-01-2005 07:59 AM
login directly to bash shell openart Linux - Newbie 5 10-27-2004 09:05 AM
login window johnyy Linux - Software 2 09-30-2003 03:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:33 PM.

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