LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-06-2016, 06:51 AM   #1
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 878

Rep: Reputation: Disabled
How to access the GUI from command line


What command do I need to use to get the GUI?
Im on Debian KDE. I tried startx to no avail.
Thanks in advance.
 
Old 11-06-2016, 08:01 AM   #2
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
You could try
Code:
sudo init 5
"your password"
If you log in at the console you can also look at
Code:
dmesg tail
to see if that shows up any problems.
 
Old 11-06-2016, 06:27 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,465
Blog Entries: 28

Rep: Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177
In Debian, by default, the sudoers file is not configured; sudo will not work unless you choose to configure it use the visudo command. You would need to use su; see man su for more. (As far as I know, only the *buntus and their derivatives rely on sudo out of the box.)

Also, by default, Debian boots to a GUI Display Manager. What did you do so as not to install a display manager? (I'm not criticizing, I'm just curious.)

If you are booting to the command line, you need to configure an .xinitrc file to start a GUI. Here's a HOWTO from the Debian wiki: https://wiki.debian.org/Xinitrc

Alternatively, you could install a display manager. https://wiki.debian.org/DisplayManager

Last edited by frankbell; 11-06-2016 at 06:34 PM.
 
Old 11-06-2016, 06:46 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by linux-man View Post
What command do I need to use to get the GUI?
Im on Debian KDE. I tried startx to no avail.
Thanks in advance.
check your .xinitrc file if you're going to be using startx to start x .
you need to tell it what to start.

did you install xorg and all of the necessary items ?

Last edited by BW-userx; 11-06-2016 at 06:49 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
line command or GUI guy mathez Linux - Newbie 1 10-06-2015 01:04 AM
command line vs gui resnostyle Linux - Newbie 19 05-19-2006 07:24 AM
command line and GUI kpachopoulos Linux - Newbie 3 08-22-2004 09:13 AM
Need help getting to GUI from command line Negativ13 Linux - Newbie 6 02-25-2003 03:20 PM
Command Line vs GUI Poorman Linux - General 27 07-11-2002 12:40 PM

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

All times are GMT -5. The time now is 02:02 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
Open Source Consulting | Domain Registration