Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-28-2003, 04:58 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10
Rep:
|
Multiple KDE questions
First off, I would like to say this site kicks some major butt, my first post took less than 20 minutes to get a reply, and that is awesome!
Ok...here are my newbie KDE questions:
1. How do I let someone other than root start the KDE services? When I try to do it as a regular user I get the message "Only root wants to do that". I have tried "chmod"ing the KDM command, but that didn't seem to help.
2. How do I stop the KDE services completely? For example, I am trying to update my video drivers and it requires that xserver not be running (wow...good English on my part....), so I want to shutdown KDE without having to reboot and return to the command prompt. CTRL-ALT-Backspace does not stop the xserver service for me, it just dumps me to a command prompt with the xserver still running in memory.
3. Has anyone worked with building a C++ GUI in KDevlop? How difficult is it to work with the widgets?
Thanks,
Christian
|
|
|
07-28-2003, 05:02 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
1) Try:
startx
2.1) In a terminal type:
ps -ef | grep X
2.2) Kill any pids that show up:
kill <PID>
3) Sorry - not me.
|
|
|
07-28-2003, 05:11 PM
|
#3
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Re: Multiple KDE questions
Quote:
Originally posted by prophet665
1. How do I let someone other than root start the KDE services? When I try to do it as a regular user I get the message "Only root wants to do that". I have tried "chmod"ing the KDM command, but that didn't seem to help.
|
You shouldn't do that :} for security reasons.
If you need kdm, let it be started from the startup
scripts as root.
Quote:
2. How do I stop the KDE services completely? For example, I am trying to update my video drivers and it requires that xserver not be running (wow...good English on my part....), so I want to shutdown KDE without having to reboot and return to the command prompt. CTRL-ALT-Backspace does not stop the xserver service for me, it just dumps me to a command prompt with the xserver still running in memory.
|
the safest would be to
su -c "telinit 3"
Quote:
3. Has anyone worked with building a C++ GUI in KDevlop? How difficult is it to work with the widgets?
|
How good are you with C++? :)
Cheers,
Tink
|
|
|
07-28-2003, 05:34 PM
|
#4
|
LQ Newbie
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10
Original Poster
Rep:
|
Ok...tried the su command and it didn't work. It didn't even give me a message of any kind and KDE is still up and running. I also tried the kill commands from the previous reply and while it did stop KDE, KDE just restarted itself and brought me back to the login screen. That is the frustrating part. I have it so that the machione boots to a prompt, but once I start KDE, I can't get rid of it.
I am a VB, javascript, VBA, and VBScript programmer trying to learn C++. So you can imagine how frustrating it is for me not to have all the debugging tools Microsoft supplies, nor the ability to step through my code. I am starting to realize why VB is one of the most popular langauges around, any bonehead can have a working application in 10 minutes.
|
|
|
07-28-2003, 06:42 PM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
tried the su command and it didn't work.
|
Right ... let's try that differently:
Code:
1.) Open a konsole
2.) do "su -"
3.) do "telinit 3" ... if it says command not found,
try "init 3" ... if that doesn't work, try to locate
the RH specific version by using "man -k runlevel | grep 1"
and use the program whose description matches the best :)
Quote:
all the debugging tools Microsoft supplies
|
Well, there should be DDD installed (I hope RH
bundles that one), which is a very good graphical
frontend to the the very good gdb (GNU Debugger).
Since I don't really use KDevelop I don't know whether
it is integrated into the IDE.
Cheers,
Tink
|
|
|
07-29-2003, 03:02 AM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Tinkster - I think he is starting it manually from runlevel 3.
|
|
|
07-29-2003, 02:51 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Tinkster - I think he is starting it manually from runlevel 3.
|
Hi David,
and I don't know how he starts it .. :)
But I'm almost sure that RH would
default to init 4 ;)
If he starts it manually a
su -c "killall X"
should do the trick :)
Cheers,
Tink
|
|
|
07-29-2003, 09:03 PM
|
#8
|
LQ Newbie
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10
Original Poster
Rep:
|
I am starting KDE manually. I boot to runlevel 3 initially, and I want to get back to that same spot, but KDE somehow restarts itself. I will try Tink's suggestion.
This all came about because I am trying to get Wolfenstein : Enemy Territory working on Linux. It crashes way to often in WinXP. Has anyone got it to work on Linux?
|
|
|
07-29-2003, 09:41 PM
|
#9
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Umm ... how do you start kde?
Cheers,
Tink
|
|
|
07-29-2003, 10:13 PM
|
#10
|
LQ Newbie
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10
Original Poster
Rep:
|
Login as root
At the prompt type "kdm"
|
|
|
07-29-2003, 11:16 PM
|
#11
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
cool ... to kill it all:
killall kdm
Cheers,
Tink
|
|
|
All times are GMT -5. The time now is 02:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|