LinuxQuestions.org
Help answer threads with 0 replies.
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 03-21-2006, 06:40 AM   #1
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Rep: Reputation: 0
slackware login command line isnt working


I log in as root then i type #startx and several variations of #startx. eg. startx, #start x, # startx and #xorgconfig. The command line isn't running them it is not saying that the command doesn't exist but it doesnt do anything. Also i used adduser but it didn't work either. Should this be in the slackware forum?
thanks

Last edited by bob jones15; 03-21-2006 at 07:00 AM.
 
Old 03-21-2006, 01:21 PM   #2
IceChant
Member
 
Registered: Jan 2006
Location: Israel
Distribution: Windows Xp, Slackware
Posts: 316
Blog Entries: 3

Rep: Reputation: 30
I may sound dumb but I hope you didn't typed it with #, startx won't work before you did "xorgconfig" and setted the x server configuration right.
For the adduser it's weird did you tried "adduser name" ?
 
Old 03-22-2006, 03:37 AM   #3
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
when i do that it says the command doesnt exist.
 
Old 03-22-2006, 04:13 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
when you do what xorgconfig? or startx?

Are you positive you installed the xserver?
 
Old 03-24-2006, 02:22 AM   #5
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
what do you mean by xserver? I did a full install and selected every package apart from the international lanugauges pack. so i think i did.
 
Old 03-24-2006, 02:46 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Let's try to establish whether ANYTHING in your install works.

Do commands like 'ls' work?

What happens AFTER you type startx and press enter?


Cheers,
Tink
 
Old 03-24-2006, 09:20 PM   #7
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
commands do work. when i type in startx it just says the command doesnt exist. Could i move the directory im viewing to the location of the startx script?
 
Old 03-24-2006, 09:44 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Nope... have a look at /var/log/packages
Do you actually see these files?
/var/log/packages/x11-6.8.1-i486-3
/var/log/packages/x11-devel-6.8.1-i486-3
/var/log/packages/x11-docs-6.8.1-noarch-2
/var/log/packages/x11-docs-html-6.8.1-noarch-2
/var/log/packages/x11-fonts-100dpi-6.8.1-noarch-2
/var/log/packages/x11-fonts-misc-6.8.1-noarch-2
/var/log/packages/x11-fonts-scale-6.8.1-noarch-2

If you do, you should be able to spot:
/usr/X11R6/bin/startx

If you can:
Can you call it with its full path?


Cheers,
Tink
 
Old 03-24-2006, 10:43 PM   #9
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
/var/log/packages/ exists and has all of those files in it. /var/X11R6/ does exist but the only file in it is lib@

Last edited by bob jones15; 03-27-2006 at 12:01 AM.
 
Old 03-25-2006, 12:19 AM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
startx doesn't work as root for security reasons.try logging in as a normal user and it should work. if you want to start the xserver from root use #init 4 or #telinit 4 which will start kdm/gdm and give you a login screen
 
Old 03-25-2006, 01:08 AM   #11
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
thanks masonm, tinkster, ethics and Icechant you have been a very big help
 
Old 03-25-2006, 01:16 AM   #12
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
adduser doesn't work when i log in as root. when i try #init 4 or init 4 it says the command doesn't exist.
 
Old 03-25-2006, 01:38 AM   #13
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Can you do an "echo $PATH" (no quotes) to see if your PATH is set right? Init must be installed, otherwise your system wouldn't even finish booting. Try "/sbin/init 4" (again no quotes).
 
Old 03-27-2006, 12:40 AM   #14
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
When i do /sbin/init 4 it says that i dont have xde installed.
 
Old 03-27-2006, 12:42 AM   #15
bob jones15
LQ Newbie
 
Registered: Mar 2006
Distribution: slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
I looked around on my root hard drive i found xorg.config in /etc/X11 but when i run it, it logs me out
 
  


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
CDE and Command line login AbrahamJose AIX 0 02-22-2006 03:31 PM
how do i get just a command line after login? Compton420 Linux - Newbie 7 09-18-2004 10:13 PM
starting graphical login from command line funkymunky Red Hat 1 02-21-2004 01:28 AM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 10:43 PM
makeing Find command not case sensitive? -ilname isnt working. systemgsr Linux - General 2 12-25-2001 01:47 PM


All times are GMT -5. The time now is 06:58 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