LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 02:27 AM   #1
StuartK24
Member
 
Registered: Jan 2010
Location: Melbourne, Australia
Distribution: MX 18.3
Posts: 32

Rep: Reputation: 2
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, 02:38 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 03:39 AM   #3
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
startx should belong to display manager. Did you install any of DM?
 
Old 11-25-2014, 03:33 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
it's part of the xinit package.
 
Old 11-26-2014, 03:28 AM   #5
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

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, 09:21 AM   #6
StuartK24
Member
 
Registered: Jan 2010
Location: Melbourne, Australia
Distribution: MX 18.3
Posts: 32

Original Poster
Rep: Reputation: 2
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, 11:06 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

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, 04:54 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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, 08:01 PM   #9
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
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, 12:06 AM   #10
StuartK24
Member
 
Registered: Jan 2010
Location: Melbourne, Australia
Distribution: MX 18.3
Posts: 32

Original Poster
Rep: Reputation: 2
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 12:11 AM.
 
Old 12-01-2014, 12:14 AM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

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, 11:28 AM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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 11:43 AM.
 
  


Reply



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 09:13 PM
Slackware new install - how to start gui? sah Linux - Newbie 10 03-24-2013 11:23 PM
Start a Debian based OS with out X (no gui, only console) stenrulz Debian 11 10-01-2010 11:55 PM
Can't start GUI on new install of Fedora 12 Coda1 Fedora - Installation 9 04-09-2010 07:43 AM
Stuggling to get debian sarge to start up a GUI DebianDummy Linux - Newbie 28 01-22-2007 05:46 PM

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

All times are GMT -5. The time now is 03:03 PM.

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
Open Source Consulting | Domain Registration