Results 1 to 5 of 5

Thread: VNCServer after Knoppix HDD install.

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Location
    Liverpool UK
    Posts
    3

    VNCServer after Knoppix HDD install.

    I have looked and tried everything I can find on the net but must be doing something stupid.

    Simply put, I have installed Knoppix on my Hard Disk and am trying to get vncserver to run at startup in the same way it does when I run it from a console once logged in - (ie so I see a the same things on my desktop)

    I tried using .kde/autostart and placed a link to vncserver in there - this worked ace until I realised that everytime I VNC'd to my Linux box it started another VNC server instance... not good - I ended up with about 20 instances in a day...

    I tried changing /etc/X11/xinit/xserverrc by adding the line
    exec /usr/bin/vncserver :1

    That didn't work.

    I tried changing /etc/X11/xdm/Xservers and added the line
    :1 local /usr/bin/Xvnc -geometry 1000x730 :1

    That didn't work - It can't be that hard <aahhhh>....

    Help ?

    Thanks

    Phil

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    This thread may help.

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Location
    Liverpool UK
    Posts
    3
    Hi Stephen

    Thanks but the problem I have is where to launch the vncserver from - which startup file and how... everything I have dont so far wont actually get vncserver launched..

    Once its running its fine but I want it to autostart at bootup

    Regards

    Phil

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    #/bin/bash
    su -c "vncserver -geomtery 1024x768 -name Knoppix:1" knoppix


    ^ Make a shell script like that. Stick it in /usr/local/bin. Make it owned by you and executable by all.

    as root:

    ln -s /usr/local/bin/vnc-script_name /etc/rc5.d/S99vnc


    Note: I may not have the vncserver command exactly corrent, and there are a lot of options for you to decide on like depth and geometry. I'll have to look at my remastered CD to see what vnc scripts I used.

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Location
    Liverpool UK
    Posts
    3

    VNC Perfect

    Thanks - Perfect - did the trick.

    Thanks

    Phli

Similar Threads

  1. could not start vncserver
    By charleswong in forum Networking
    Replies: 3
    Last Post: 11-29-2007, 05:22 PM
  2. knoppix 3.7 remote desktop - VNCSERVER ptoblem
    By pupton in forum General Support
    Replies: 0
    Last Post: 12-12-2004, 10:21 PM
  3. How to customize Knoppix live cd to autostart vncserver
    By patrick79 in forum Customising & Remastering
    Replies: 1
    Last Post: 11-05-2004, 11:06 PM
  4. vncserver: connection to "Knoppix:1.0" refused by
    By hugo in forum General Support
    Replies: 1
    Last Post: 08-27-2003, 01:14 AM
  5. problem with vncserver
    By tegan in forum General Support
    Replies: 5
    Last Post: 03-12-2003, 02:03 AM

Posting Permissions

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


Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell PowerEdge R730 Server 2x Xeon E5-2630 V4 64GB DDR4 2TB HDD Rackmount picture

Dell PowerEdge R730 Server 2x Xeon E5-2630 V4 64GB DDR4 2TB HDD Rackmount

$489.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1... picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1...

$324.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$248.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99