LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-03-2020, 11:22 AM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: Centos 7 , Linux Mint 18.1 Under VMware in Win7
Posts: 536

Rep: Reputation: 34
Start X will not start the GUI


Greetings, I downloaded a bare bones copy of Debian, Looks like its Debian GNU/Linux 10 (buster) and all it does on start up is it brings me to a prompt in a bash shell.

I downloaded all the suggested packages suggested by a web post I found which took over an hour, like about 1,200 packages. But when I keyed in 'start x' or just 'startx' the gui doesn't come up. The GUI was supposed to be KDE. Command startx returns 'command not found'.

A further post suggested keying in XINIT first then the Start X command. This returns same results. After trying a number of things, one time I got '$DISPLAY' not found or not configured.

I'm hoping some one out there can help resolve this problem. Thanks.

~$ startkde

drwxr-xr-x 1 root root 512 Mar 31 12:18 .
drwxr-xr-x 1 root root 512 Mar 31 12:40 ..
-rw-r--r-- 1 root root 2353 Feb 13 2019 plasma.desktop
root@win10-64bit:/usr/share/xsessions#

$DISPLAY is not set or cannot connect to the X server. Where would I find the '$DISPLAY' file?

In /usr/shr/xsessions is an entry 'plasma.desktop'

I also created a file in my home Directory .dmrc with the following entry
[Desktop]
Session-kde.plasma

Last edited by swamprat; 04-03-2020 at 12:05 PM.
 
Old 04-03-2020, 11:49 AM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: West Africa
Distribution: Slackware/Debian (when necessary)
Posts: 2,460
Blog Entries: 1

Rep: Reputation: 123Reputation: 123
What system are you using? What graphics card? Why Debian 9 rather than 10? Need more information..
 
Old 04-03-2020, 12:04 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,246

Rep: Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464Reputation: 3464
What package name did you use to install plasma?

Did you follow the debian howto?

https://wiki.debian.org/KDE
 
Old 04-03-2020, 01:00 PM   #4
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: Centos 7 , Linux Mint 18.1 Under VMware in Win7
Posts: 536

Original Poster
Rep: Reputation: 34
I did read the doc suggested in the last post but it still isn't working. System comes up at a user prompt for Bash.

After checking I have posted the version of Debian which is V10.

Based on the information which I provided, and I hope this is enough, I need to know which files need to be fixed to be able to use the startx command to start kde. All the KDE components appear to be installed.

Thanks
 
Old 04-03-2020, 07:44 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,434
Blog Entries: 27

Rep: Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963
Quote:
I downloaded all the suggested packages suggested by a web post I found
Link?
 
Old 04-04-2020, 02:41 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,976
Blog Entries: 9

Rep: Reputation: 4240Reputation: 4240Reputation: 4240Reputation: 4240Reputation: 4240Reputation: 4240Reputation: 4240Reputation: 4240Reputation: 4240Reputation: 4240Reputation: 4240
Quote:
Originally Posted by swamprat View Post
Command startx returns 'command not found'.
That's fairly obvious.
Did you install the xinit package???
 
Old 04-04-2020, 05:20 PM   #7
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian
Posts: 807

Rep: Reputation: 228Reputation: 228Reputation: 228
Did it install a login manager? sddm or lightdm? If not, install one of them.
 
Old 04-04-2020, 05:25 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146
". Command startx returns 'command not found'."
as ondoho asked,
xorg, and xorg-init, xinit installed?
did you create a .xinitrc file and chmod +x .xinitrc?
in that file did you add something like this?
Code:
#!/bin/sh
#  xinitrc.xfce - modified to work around xfce4session bug
#                 https://bugzilla.xfce.org/show_bug.cgi?id=8841


########################################################################
##  Merge in defaults and keymaps                                     ##
########################################################################

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

if [ -f $sysresources ]; then
    /usr/bin/xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    /usr/bin/xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    /usr/bin/xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    /usr/bin/xmodmap $usermodmap
fi

########################################################################
##  Start xfce Desktop Environment                                    ##
########################################################################

if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  exec ck-launch-session dbus-launch --exit-with-session /usr/bin/startxfce4
else
  exec dbus-launch --exit-with-session /usr/bin/startxfce4
fi
to start the desktop of your choice?

Last edited by BW-userx; 04-04-2020 at 05:27 PM.
 
Old 04-04-2020, 07:24 PM   #9
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 4,533

Rep: Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807
what web post did you follow? Post link to web post that you followed
 
Old 04-04-2020, 08:20 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,434
Blog Entries: 27

Rep: Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963Reputation: 4963
This article from the Arch Wiki may be helpful: https://wiki.archlinux.org/index.php/Xinit
 
1 members found this post helpful.
  


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
Do you think I should use a Qt GUI, a GTK GUI, or no GUI at all? anon02 Programming 5 08-25-2011 06:59 AM
to Gui or not to Gui? davetidwell Linux - Newbie 9 01-20-2006 04:40 PM
Isn't Windows 95 or 98 a better GUI solution for old machines than an old Linux GUI lynchmob09 General 10 04-20-2004 01:24 AM
To GUI or not to GUI? Transition Linux - General 5 02-03-2004 11:41 PM
Gui What GUI rrose42 Linux - General 14 03-27-2002 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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