Thread Tools Display Modes
Old 08-03-2009, 01:46 PM
Mithos Mithos is offline
Junior Member
Join Date: Oct 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Run TightVNC server before logging in to KDE - how?
Recently i got a rather new laptop with broken screen, and yesterday decided to play with it a little - using external monitor i installed a PC-BSD 7.1.1, VitualBox from PBIs and TightVNC from ports. It all worked, but i got naked X in my VNC session.

After 2 hours of studying a PC-BSD way of dealing with ports tree, i added all other things needed by TightVNC startup script from ports too, and a Fluxbox as a wm for it.

Now all works brilliant - i disconnected laptop from display and put it on the top of bookcase. But if ever need to restart it, or get a long power blockade i'll need to connect it back, login to KDE and start TightVNC manually - it is rather frustrating. Even if i add it to KDE Autostart folder, i'll still need to login from keyboard, it sux.

So, is there any way to start TightVNC from my user BEFORE i login to KDE?

Update: well, i made a detour: login to ssh, start vncserver, login to vnc. It works, but feels not very good. Roundabout way is roundabout after all, so primary question is still topical.
Reply With Quote
Old 08-10-2009, 04:47 AM
Cobalt Cobalt is offline
Senior Member
Join Date: Apr 2009
Location: USA
Posts: 447
Thanks: 0
Thanked 10 Times in 10 Posts
Default Re: Run TightVNC server before logging in to KDE - how?
I might be missing something, but wouldn't autologin work for this situation? You could set the default environment to Fluxbox and go into its startup script (.fluxbox in home directory) to add your VNC server command. Hope this helps.
Reply With Quote
Old 08-14-2009, 12:20 AM
TerryP TerryP is offline
Senior Member
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,905
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: Run TightVNC server before logging in to KDE - how?
just cram it in your rc.local file if there are no rc.d scripts for it. For details, read the rc man page.
Reply With Quote

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem logging to gnome lio_013 General Questions 0 04-19-2009 01:01 PM
Screen goes blank when logging out or shutting down bsdparrot General Questions 1 11-19-2008 04:16 PM
Logging out from KDE: CRASHES nhat General Bug Reports 4 01-25-2006 11:34 AM
clear content when logging out the CLI gnutux Feature Requests 2 01-23-2006 03:36 AM
having trouble logging in after install nickles1969 Installing PC-BSD 6 01-12-2006 12:00 PM

All times are GMT. The time now is 03:04 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Copyright 2005-2015, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.