Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i boot up and it starts me out in my command prompt, i log in, type "startx" and get the bash thing... i THINK i have x installed if not how do i do it without starting over? i have debian by the way <probably helpful>
ok.. well here are my specifics... i log in to the pc via command line... after that i type "startx" to start the graphical interface.. i get "-bash: startx: command not found"
ok i tried that and it said something along the lines of :
init: switching to init 5
init: sending processes term signal.
then i typed "startx" and it still did the bash thing like before.
also i wanted to add, it only installed the base system. is it possible that i dont have x installed? if thats the case then i just need to know the command to install it
also i wanted to add, it only installed the base system. is it possible that i dont have x installed? if thats the case then i just need to know the command to install it
This stuff is distro specific. Are you using Debian (as it says in your profile) or another distro? If people know that, they'll be able to tell you how to install X (and whichever environment you want to use).
im using ubuntu now so i need the command for ubuntu and i would prefer the gui environment but at this point im not too picky just want to get it running thanks
#apt-get install xserver-xorg kde kdm
or
#apt-get install xserver-xorg gnome gdm
these commands will install an xserver, kde or gnome, and the graphical login manager for each. kdm and gdm are not stricly necessary, if you omit them, you should be able to login at the CLI and run startx to start your desktop environment.
you might want to do
$apt-cache search xserver
to make sure xserver-xorg is the correct package name.
ok i tried that, typed "sudo apt-get install xserver-xorg gnome gdm"
heres what it tells me:
xserver-org is already the newest version.
package gnome is not available but is referred to by another package this may mean that the package is missing, has been obsoleted, or is only available from another source.
E: package gnome has no installation candidate.
so instead i typed "sudo apt-get install gdm" to get that because apparently i already have xserver-org and gnome isnt working. it installed fine.. so i guess now all im trying to get is gnome
ok i got rid of the error im back to the issue of it starting graphically and stopping at the "window manager" i still need to install gnome or fix it or something. still getting the same error message when i try to install gnome <apt-get install gnome>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.