LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 07-28-2003, 04:58 PM   #1
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Rep: Reputation: 0
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
 
Old 07-28-2003, 05:02 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
Old 07-28-2003, 05:11 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 07-28-2003, 05:34 PM   #4
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 07-28-2003, 06:42 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 07-29-2003, 03:02 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Tinkster - I think he is starting it manually from runlevel 3.
 
Old 07-29-2003, 02:51 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 07-29-2003, 09:03 PM   #8
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 07-29-2003, 09:41 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Umm ... how do you start kde?

Cheers,
Tink
 
Old 07-29-2003, 10:13 PM   #10
prophet665
LQ Newbie
 
Registered: Jul 2003
Location: Houston, TX
Distribution: Redhat 8
Posts: 10

Original Poster
Rep: Reputation: 0
Login as root
At the prompt type "kdm"
 
Old 07-29-2003, 11:16 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
cool ... to kill it all:
killall kdm


Cheers,
Tink
 
  


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
Multiple Questions RySk8er30 Mandriva 1 08-30-2005 07:29 PM
Multiple questions :/ gazza Slackware 11 07-15-2004 09:17 PM
Multiple Questions MSIuser Linux - General 7 02-17-2004 01:00 PM
Multiple multiple questions Werelock Linux - Newbie 8 08-22-2001 11:55 AM
multiple questions genericuser Linux - Newbie 8 06-07-2001 10:21 PM


All times are GMT -5. The time now is 10:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration