LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2004, 01:20 PM   #1
benny
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Rep: Reputation: 0
Nothing inside X Window for newly created User ID


Today, I have created some User IDs. Then, I typed "startx" and X Window can be started.
There was "nothing" inside the X Window. I could only typed "Ctrl-Alt-Del" to logout to text mode. However, there was no problem for those users who had been created long time ago. What's has gone wrong? And what should be checked? Please give me some hints. Many thanks.
 
Old 04-09-2004, 01:28 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
What distro is this? How did you create the users? Try running 'startx startkde' to start a window manager.
 
Old 04-09-2004, 01:44 PM   #3
benny
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Original Poster
Rep: Reputation: 0
My distro is RH7.3. I used both "useradd" & "chmod" commands and "User Manager" GUI to create the users. I'm not sure if my OS has been corruped. I typed 'startx startkde', it tried to start a window manager but fall back to text mode. The error message was "/usr/X11R6/bin/xterm: bad command line option 'startkde' ".
 
Old 04-09-2004, 01:51 PM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
You will need to make a ~/.xinitrc file to determine which window manager to start.

Here's a temporary trick that might work immediately:
xterm -display :0 &
X :0

Run the X program very quickly after xterm. Then X will have a terminal window for you to type stuff. You can then attempt to run window manager from there (try 'startkde', 'gnome-session', 'fvwm', 'twm').
 
Old 04-09-2004, 02:24 PM   #5
benny
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Original Poster
Rep: Reputation: 0
I tried the "xterm -display :0 &" and "X :0". Then the X had a terminal window to allow me to type. I type "startkde". It prompted:
"Cannot create temp file /tmp/KDE.startkde.luNaFD
/usr/bin/startkde:$testfile_tmp : ambiguous redirect
You don't have write permissions for /tmp"

I don't quite understand but it seems closer to the solution. Thanks aaa.
 
Old 04-09-2004, 02:37 PM   #6
NarutoKun
Member
 
Registered: Jan 2004
Location: Puchong, Selangor, Malaysia
Posts: 38

Rep: Reputation: 15
Most probably your skeleton directory's files are messed up. These are the files that would be copied to the new users home directory. Try to add another new user and see if its the same error. If yes, then you can be 99% sure it's the skeleton directory's file missing or deleted. The skeleton directory is in /etc/skel.

Another possibility is the permission for the temp directory check and make sure it's drwxrwxrwt

Cheers.
 
Old 04-10-2004, 01:03 AM   #7
benny
LQ Newbie
 
Registered: Mar 2003
Posts: 16

Original Poster
Rep: Reputation: 0
I have set the permission for the temp directory, the problem resolved. Thanks.
 
  


Reply


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
permissions for newly created files dialbat Linux - General 2 10-04-2004 03:58 PM
I can't login with newly created user r_ibsen Linux - Newbie 2 06-19-2004 09:32 AM
cannot login as newly created user in terminal linoops Linux - Newbie 1 06-04-2004 09:07 PM
Is there a way to custiomize newly created user profiles? pandersson61 Linux - General 3 01-17-2004 03:12 AM
Newly created user can't run kde neeyo Linux - General 4 04-11-2002 04:29 PM


All times are GMT -5. The time now is 06:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration