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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-08-2008, 01:12 PM
|
#1
|
|
Member
Registered: Dec 2005
Distribution: Gentoo
Posts: 87
Rep:
|
Starting Xorg along with xterm?
Seems like I'm missing some obvious point, still...
Set up my Hardy Server install box to automatically login under unprivileged user account (via /etc/events.d/tty1), got Xorg & xterm installed. Edited ~/.bashrc so that X gets automatically started. Everything works up to this point. Now, got executable ~/.xsession and ~/.xinitrc with the same contents:
--
#!/bin/sh
xterm
--
As the system boots, I get plain X with no evidence of xterm anywhere. What do I get so wrong? TIA.
P.S. Running GDM, etc. is not an option.
|
|
|
|
07-08-2008, 02:36 PM
|
#2
|
|
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546
Rep:
|
Quote:
Originally Posted by GSMD
Seems like I'm missing some obvious point, still...
Set up my Hardy Server install box to automatically login under unprivileged user account (via /etc/events.d/tty1), got Xorg & xterm installed. Edited ~/.bashrc so that X gets automatically started. Everything works up to this point. Now, got executable ~/.xsession and ~/.xinitrc with the same contents:
--
#!/bin/sh
xterm
--
As the system boots, I get plain X with no evidence of xterm anywhere. What do I get so wrong? TIA.
P.S. Running GDM, etc. is not an option.
|
If I recall well I use a startx command into the ~/.bashrc
You may use this one, that s one of the best autologin, and not Ubuntu way with gdm , i.e. designed for slow machines.
http://linuxgazette.net/issue72/chung.html
Did it work?Did you manage?
|
|
|
|
07-09-2008, 01:30 AM
|
#3
|
|
Member
Registered: Dec 2005
Distribution: Gentoo
Posts: 87
Original Poster
Rep:
|
frenchn00b
Ah yeah, this worked out. Just had to aptitude xinit in order to get startx. And thanks for the link.
As for autologin part, I've got away with
Code:
exec /bin/login -f user_name < /dev/tty1 > /dev/tty1 2>&1
as the the only exec part in /etc/events.d/tty1.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|