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 01-22-2005, 12:38 AM   #1
Japan Lnx
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Rep: Reputation: 0
login shell??


Hi all!

Totally new to this, but amazing how many people are into this already...

So, I had problems when configuring the graphics card during installation (a message appeared [Can't install Xorg package:] for any selection... ;-(

At the end, I entered, and after entering with my login and password the following appears:

[pepe@localhost pepe]$

Then I try to input

startx

But it states that startx is a command not found!

-bash: startx: command not found

Any help on how can I enter into the graphic interface??

Thanks a lot for your answer!
Jpn
 
Old 01-22-2005, 12:44 AM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 845

Rep: Reputation: 33
Quote:
a message appeared [Can't install Xorg package:
You need X to run a window enviorment. X
 
Old 01-22-2005, 12:56 AM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Is your video card (not mentioned) supported by Linux?

Will your hardware work?
 
Old 01-22-2005, 01:14 AM   #4
Japan Lnx
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
My card is NEOMAGIC MAGICMEDIA 256AV, and it appears in the list, but when selected the message

[[Can't install Xorg package:] appears.

Do I have to reinstall by all means, Can I not re-configure from the shell??

Thanks
 
Old 01-22-2005, 10:35 AM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
What distribution do you use?

# What is the distribution
cat /etc/.product
cat /etc/.issue
cat /etc/issue
cat /etc/issue.net
sysinfo

What kernel are you running?

# Find running kernel version
uname -r

Post the error messages presented for the installation of Xorg.

After a successful install, your configuration file should be located here:

/etc/X11/xorg.conf

And you may have to edit that some to reflect any modules, or other things particular to your vid card.

Then do

depmod -ae

Then try logging in as <your user> and command:

startx
 
Old 01-22-2005, 07:02 PM   #6
Japan Lnx
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Talking

It finally worked!!

I did the re-installation as an update and now the Xorg appears, however I do not have KDE interface but Ice VM. How can I start KDE??

Thanks!
 
Old 01-22-2005, 07:20 PM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
See section 3.4 of the KDE FAQ.
 
Old 01-22-2005, 07:30 PM   #8
Japan Lnx
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Hi

I downloaded the KDE packages already while installing Mandrake 10.1, but when I start X

startx

I go directly to IceWM interface

Then, If I open a terminal and try to start KDE

startkde

it does not work,


Any tip???
 
Old 01-22-2005, 07:37 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
If you are using the command line login and startx, create (if it isn't there already) the file /home/<user>/.xinitrc file and put exec kde in it.

My file:
Code:
# Duron 950 box "tinwhistle" user fancy .xinitrc file
# Start the stuff I want to run when I startx
                                                                                                                     
# The artwiz-fonts sometimes conflict with your locale settings. To get
# them to work you may have to put the following at the beginning of your
# .xinitrc file
export LC=C
export LC_ALL=C
                                                                                                                     
# Set the background for fluxbox
# Esetroot ~/backgrounds/linux.png &
                                                                                                                     
# Start gkrellm and put it in the slit
# gkrellm will run fetchmail every 3 minutes
gkrellm -w &
                                                                                                                     
# Start the keyboard hotkeys
acme &
                                                                                                                     
# This will run a screensaver as your background
# /usr/X11R6/lib/xscreensaver/hopalong -root &
                                                                                                                     
# Start the screensaver daemon
xscreensaver -no-splash &
                                                                                                                     
# Finally, I start my window manager
# Fluxbox installed by compiling from source code
exec /usr/local/bin/fluxbox
# Fluxbox installed by rpm
# exec fluxbox
# exec kde
# exec gnome-session
                                                                                                                     
# Sample .xinitrc entries for starting evilwm
# Merge X resources from ~/.Xdefaults
# [ -f $HOME/.Xdefaults ] && xrdb $HOME/.Xdefaults
# Set the background and root cursor shape
# xsetroot -solid \#400040
# xsetroot -cursor_name top_left_arrow
# Start evilwm - snap to borders within 10 pixels
# /usr/bin/evilwm -snap 10 &
# Transfer control to xclock - killing xclock (with Ctrl+Alt+Escape, say)
# will exit our session
# exec xclock -digital -padding 2 -g -0+0
 
  


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
How to check in a script whether the shell is login or non login? frankie_DJ Programming 7 10-21-2015 10:09 AM
Difference between normal shell and login shell Manish Linux - General 7 11-14-2012 08:30 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
How to login to bash shell inarin Linux - Newbie 1 10-07-2003 02:45 PM
login shell loran Linux - General 8 03-15-2003 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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