LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-08-2008, 01:12 PM   #1
GSMD
Member
 
Registered: Dec 2005
Distribution: Gentoo
Posts: 87

Rep: Reputation: 16
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.
 
Old 07-08-2008, 02:36 PM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 50
Quote:
Originally Posted by GSMD View Post
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?
 
Old 07-09-2008, 01:30 AM   #3
GSMD
Member
 
Registered: Dec 2005
Distribution: Gentoo
Posts: 87

Original Poster
Rep: Reputation: 16
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.
 
  


Reply

Tags
autologin, xorg, xterm


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg not starting! help! gummybearx Suse/Novell 3 05-08-2007 08:49 PM
Xorg 7 starting problems dont_stop_me Linux - Software 1 01-29-2007 03:56 PM
frequent crashes while starting Xorg slinky2004 Linux - General 3 07-02-2006 11:54 PM
Starting Xterm in X through GDM flower.Hercules Linux - General 1 10-15-2005 02:37 PM
Xorg not starting after reboot Jay_highlands Linux - Software 7 09-16-2005 12:38 PM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration