LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-09-2011, 04:45 PM   #1
clcbluemont
Member
 
Registered: Feb 2009
Distribution: Slackware
Posts: 95

Rep: Reputation: 15
TCSH startx issue


Strange problem. We setup inittab to start X in the following way:
1:2345:respawn:/bin/su - joe "/usr/bin/startx"

All was working fine until we changed joe's shell from bash to tcsh and now at boot up we get:
userclientrc=/home/joe/.xinitrc: Command not found.
userserverrc=/home/joe/.xserverrc: Command not found.
sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc: Command not found.
sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc: Command not found.
defaultclient=/usr/X11R6/bin/xterm: Command not found.
defaultserver=/usr/X11R6/bin/X: Command not found.
defaultclientargs=: Command not found.
defaultserverargs=: Command not found.
clientargs=: Command not found.
serverargs=: Command not found.
userclientrc: Undefined variable.

If I startup as root in a bash shell and then execute "su - joe" and then execute startx it works fine. Although right after we su to joe we get:
Warning: no access to tty (Inappropriate ioctl for device).
Thus no job control in this shell.

What is causing this problem? I know the obvious joke here, I guy goes to his doctor and says it hurts when I do this. The doctor says don't do that. Any way it would be nice to start this user off in tcsh. Thanks for your time.
 
Old 03-10-2011, 10:51 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
I would try changing line 1 in /usr/bin/startx

from : #!/bin/sh

to : #!/bin/bash
 
  


Reply

Tags
tcsh, xorg


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
Startx issue Padawan.AVT Linux - Software 6 03-07-2009 05:57 AM
startx xwindow issue mutsu Linux - Software 1 07-28-2006 07:48 PM
Startx font issue stardotstar Linux - Software 0 06-27-2006 01:07 AM
startx issue san802k Linux - Newbie 3 02-24-2006 05:28 AM
Slackpkg and startx issue DragonM15 Linux - Software 1 05-31-2005 04:18 PM


All times are GMT -5. The time now is 10:14 PM.

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