LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

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: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
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: 25,781

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
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: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

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: 19,380
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
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: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Rep: Reputation: 229Reputation: 229Reputation: 229
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 (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
". 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
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,391

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
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: 19,380
Blog Entries: 28

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


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
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 11:34 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