LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2008, 10:01 AM   #1
Slampig
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
Adding process to startup Kubuntu


Hi. I just installed kubuntu to my tv pc. The kubuntu has vnc built inn and i can remote control it from my windows pc.

Now back to my problem, if my linux pc reboots, i have to manualy login to be able to connect to the desktop again. Is there any way to start the VNC process before the login screen ? Or maybe able to make it auto login ?

I also wish to have a VNC server running on it. How do I add this to startup ?
 
Old 01-08-2008, 11:15 AM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 365
Blog Entries: 1

Rep: Reputation: 44
This should answer your question:

http://www.linuxquestions.org/questi...estion-455138/
 
Old 01-08-2008, 12:59 PM   #3
Slampig
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jrtayloriv View Post

Thx,
I read up on the guide, but it's hard for me to understand alot of the good information cos im very new to linux :P

I fixed the login/vnc problem by removing the login screen.

(System Settings -> Advanced -> Login Manager -> Convenience, click on "Administrator Mode" and mark "Enable Auto-Login", then "Apply". ) if anyone needs it.

Now the ventrilo server, I made a script named ventstart
Code:
cd /home/slampig/ventsrv/
./ventrilo_srv
and i changed mode to 777 (tryed x first, but then i couldent run the script) "chmode 777 ventstart"
Now i can run the script ./ventstart and the server starts. I put this file in etc/init.d/ and did this command "update-rc.d ventstart defaults".

When i rebooted only the ventrilo server started, not the desktop. So i gues it took the desktops tty or something?. Am I even close to a solutiont ? Or am i way off :P
 
Old 01-08-2008, 03:25 PM   #4
Slampig
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0
After alot of reading

After alot of reading i found an easy solution.
Added following line to etc/rc.local
Code:
/home/slampig/ventstart &
And wallah, the server started once user logged in
 
  


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
Adding a new startup process on Mandriva jcbparry Linux - General 2 01-20-2007 06:27 PM
k3b defunct process on kubuntu with kernel 2.6.17-10-generic yoyar Linux - Software 0 12-19-2006 07:40 PM
Adding a new user in Kubuntu:-) No sound:-( rakris Linux - General 2 11-04-2006 10:26 PM
Adding users to Kubuntu: need admin privileges badbunny Ubuntu 3 03-16-2006 12:35 PM
Second Installation process of Kubuntu Fails kingnemo Linux - Newbie 2 03-01-2006 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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