Results 1 to 4 of 4

Thread: Autostart vncserver after autologin

  1. #1
    Just burned his ISO
    Join Date
    Mar 2011
    Posts
    1

    Default Autostart vncserver after autologin

    Hi,

    I have a cuda box with backtrack 4 r2 installed (in a closet) that I want to connect to using ultravnc on a windows xp machine.

    I have the cuda box already configured for:

    wake-on-lan
    autostart kdm login manager
    autologin root (I know the security risk)
    autostart network with static ip

    Vncserver is already installed.

    I can launch it from: services > vnc > start vnc server.

    I set a vnc server password and can connect to the cuda backtrack box using ultravnc on a windows xp machine.

    How do I get the backtrack vnc server (appears to be tightvnc) to autostart when the computer turns on and automatically logs in?

    Haven't found a clear solution to this problem out there.

    Thanks.

  2. #2
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Autostart vncserver after autologin

    Try making a bash script than add it to init.d and update-rc.d
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  3. #3
    Senior Member iproute's Avatar
    Join Date
    Jan 2010
    Location
    Midwest, USA
    Posts
    192

    Default Re: Autostart vncserver after autologin

    I like to put things in my bash profile for that myself.....

    Code:
    vncserver
    into your /root/.bash_profile

  4. #4
    Member
    Join Date
    Jan 2010
    Posts
    70

    Default Re: Autostart vncserver after autologin

    Additionally, ubuntu runs upstart, which is pretty easy to make a script for.

    If you have an auto-login as root, why even bother with kdm? Just write an upstart script to start X.

Similar Threads

  1. Autologin + startx
    By darkvier in forum Guias y Tutoriales
    Replies: 1
    Last Post: 03-30-2011, 10:11 AM
  2. BT 4 R2 Autologin + startx
    By 259374 in forum Beginners Forum
    Replies: 4
    Last Post: 01-26-2011, 06:40 AM
  3. How to setup vncserver
    By sophochles in forum Beginners Forum
    Replies: 5
    Last Post: 01-15-2011, 09:45 AM
  4. Autologin und auto X-Server start - KDE - startx
    By B4Linux in forum Anfänger Ecke
    Replies: 0
    Last Post: 05-06-2010, 09:41 PM
  5. Autologin...
    By TheAnonymous in forum OLD BackTrack 4 General Support
    Replies: 1
    Last Post: 09-25-2009, 01:40 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •