LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-25-2014, 03:27 AM   #1
StuartK24
LQ Newbie
 
Registered: Jan 2010
Location: Brisbane, Australia
Distribution: Mint 17
Posts: 23

Rep: Reputation: 0
Can't start GUI in new Debian 7.7 install


I've just installed Debian 7.7 on my laptop. When I try to start the gui with 'startx' I get the message, 'startx -command not found'. In my /etc/X11 folder there is only one document, 'xkb'. Has a gui been installed at all? Any help would be appreciated.
 
Old 11-25-2014, 03:38 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

sounds like you didn't install X. What method did you use to do the installation? Eg what installation iso? Also, do you have networking (either wired or wireless)? Assuming your have network (or the appropriate CD/DVDs) you should be able to install a GUI by running tasksel and selecting a desktop environment.

Evo2.
 
Old 11-25-2014, 04:39 AM   #3
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 516

Rep: Reputation: 120Reputation: 120
startx should belong to display manager. Did you install any of DM?
 
Old 11-25-2014, 04:33 PM   #4
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,606

Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
it's part of the xinit package.
 
Old 11-26-2014, 04:28 AM   #5
fatmac
Senior Member
 
Registered: Sep 2011
Location: Surrey/Hants Border, UK
Distribution: BSD & Linux - As long as they are Lightweight
Posts: 1,704

Rep: Reputation: Disabled
Run, as root,
Code:
apt-get update
then try installing Xorg,
Code:
apt-get install xorg
install a window manager, Fluxbox,
Code:
apt-get install fluxbox
 
Old 11-29-2014, 10:21 AM   #6
StuartK24
LQ Newbie
 
Registered: Jan 2010
Location: Brisbane, Australia
Distribution: Mint 17
Posts: 23

Original Poster
Rep: Reputation: 0
When I installed Debian, the DHCP network configuration failed. I chose to continue the installation and configure the network later. I did not know if it was referring to a lan or my internet. My internet is connected via a USB wi-fi.

I am only just starting to learn about package managers and how software is installed in Linux. Both aptitude and tasksel are installed on my system. Is one of these my package manager?
When I run:
#tasksel --list-tasks
I get no output. When I try to install kde I get the following:
#aptitude install ~t^desktop$ ~t^kde-desktop$
No packages will be installed, upgraded or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.


When I try to install xorg:
#apt-get install xorg
Reading package lists... Done
Building dependency tree.
Reading state information... Done
E: Unable to locate package xorg


I get a similar message if I try to get install xfce with apt-get.
I've run all of these commands logged in as root and with my install CD mounted.
So is tasksel looking for my packages off the internet? If so how do I configure my network?
Thanks in advance for any help or advice.
 
Old 11-29-2014, 12:06 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is it an ethernet connection?
Quote:
dhclient eth0
Quote:
tasksel
If network failed then you need to check & edit sources.list
Quote:
nano /etc/apt/sources.list
 
Old 11-29-2014, 05:54 PM   #8
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,606

Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
Quote:
Originally Posted by StuartK24 View Post
Has a gui been installed at all?
it really depends on how you installed.
last time i looked, the first debian installation cd did contain debian's default gui, however there was a choice to install a "desktop environment" or not.
maybe the netinstall does not have that.
even if a gui has been installed, a display manger might get by without the xinit package (i don't think so, but who knows), which provides the "startx" command.
so the question stands: how did you install?
 
Old 11-29-2014, 09:01 PM   #9
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
What iso did you download? If it was a netinstall one you need a net connection, if you are relying on a wifi connection then the chances are it won't work.Try 'apt-get update' with a wired connection, no quotes.Maybe netinstall should include some stuff for wireless?

Fred.
 
Old 12-01-2014, 01:06 AM   #10
StuartK24
LQ Newbie
 
Registered: Jan 2010
Location: Brisbane, Australia
Distribution: Mint 17
Posts: 23

Original Poster
Rep: Reputation: 0
Thanks to everyone for their help. My wifi is not my lan or nic card. It is my internet connection. I don't know if it is something peculiar to the sorry state of the internet in my country, or maybe I misunderstand the advice.
Unfortunately I think I will wipe and try another install over this Debian install. The package manager has not configured properly which is why I was not given the option to install a desktop. Only the base system has been installed. It was not a net install, there is something wrong with the cd install packages. I ran an integrity check and the dvd came up fine.
So I think I will try something else. Thanks again to everyone.

Last edited by StuartK24; 12-01-2014 at 01:11 AM.
 
Old 12-01-2014, 01:14 AM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Which iso did you download?
You should probably install from the live-dvd
https://www.debian.org/CD/live/
 
Old 12-03-2014, 12:28 PM   #12
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,606

Rep: Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977Reputation: 977
Quote:
Originally Posted by StuartK24 View Post
My wifi is not my lan or nic card. It is my internet connection. I don't know if it is something peculiar to the sorry state of the internet in my country, or maybe I misunderstand the advice.
to clarify: wifi stands for wireless network, same as wlan.
wireless means that the computer is connected to the internet without a cable.
it has nothing to do with how the internet comes into your house.
it refers to a technology where there is a device nearby (usually in the same room, at least in the same house) that sends out an internet signal (*) that your computer picks up with a wifi card.

this is different from mobile broadband, which uses the same network as mobile phones do, so the internet signal (*) indeed comes from further away - the next transmitter/receiver tower can be a few miles away. the computer also needs a different device to pick it up (usually a so-called dongle containing a sim card)

there might be another option that involves direct links to satellites, but i know nothing about that.

i'm saying all this because those terms might cause confusion if one is not familiar with them. they are not technically precise, one simply has to know what they mean.

(*) maybe technically wrong to say it like that, but it serves the purpose in this explanation.

Last edited by ondoho; 12-03-2014 at 12:43 PM.
 
  


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
Botched up! Debian Sid x86_64 cannot start GUI (KDE4) and cannot connect to network 0++ Debian 4 07-21-2013 10:13 PM
Slackware new install - how to start gui? sah Linux - Newbie 10 03-25-2013 12:23 AM
Start a Debian based OS with out X (no gui, only console) stenrulz Debian 11 10-02-2010 12:55 AM
Can't start GUI on new install of Fedora 12 Coda1 Fedora - Installation 9 04-09-2010 08:43 AM
Stuggling to get debian sarge to start up a GUI DebianDummy Linux - Newbie 28 01-22-2007 06:46 PM


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