Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3483 - KDE-3.0.1 won't start from command line
Summary: KDE-3.0.1 won't start from command line
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-07 11:08 UTC by Alessandro Pisani
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Pisani 2002-06-07 11:08:13 UTC
kde-3.0.1 won't start from command line if X is invoked via "startx" 
Fix for the problem: 
  
open /usr/kde/3/bin/startkde with your favourite text editor   
replace   
#!/bin/sh --login   
with   
#!/bin/sh   
save & exit   
  
and then, doing startx KDE 3.0.1 will magically start   
hope this helps  
  
Alex
Comment 1 SpanKY gentoo-dev 2002-06-09 22:15:26 UTC
shouldnt this be listed as an 'enhancement' ?  the prefered way of starting X 
sessions in gentoo seems to be /etc/init.d/xdm ... and that is controlled 
via /etc/rc.conf
basically you start either xdm/kdm/gdm and from there choose your wm
Comment 2 Alessandro Pisani 2002-06-10 05:28:23 UTC
spanKY: i strongly disagree with you.
this is not an enhancement request, it is a bug report: everyone should be free 
to start X whenever and however they like most (i usually use console for 
programming), without getting limited by a "start it at login (xdm/gdm/kdm) or 
never"; if you like graphical login use it, but please do not try to force 
others to have it as the default.
furthermore, starting X from the console is a commonplace in a lot of distro 
and X itself, AFAIK, doesn't come with the nedd to be started only from xdm.
finally, i say this is properly a bug since in all the other distros i 
reviewed/used, starting X with "startx" work as expected.
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-07-06 12:17:52 UTC
Our current startkde has #!/bin/sh (without --login). I put 'startkde' in my 
.xinitrc, and startx started kde without problems.