Results 1 to 3 of 3

Thread: Can't start KDE from CHROOT environment as knoppix user

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Location
    Bristol, England
    Posts
    2

    Can't start KDE from CHROOT environment as knoppix user

    Hi all,

    I've been using the remastering howto to successfully create a remastered ISO. However, there are some further changes I'd like to make to the knoppix user's KDE environment.

    To try and do this, I have been following the instructions here.

    To start with, I assumed that these instructions were to be executed starting in the chroot'ed root-user shell, from within the knoppix build environment, but when I tried switching to run level 2 using the 'init 2' command, I get a permissions error.

    In order to try and work round this, I came out of the chroot environment, took the whole system to 'init 2', and then chrooted again. As root I could now start kde, but when switching to the knoppix user I get a load of errors when running startx.

    Does anyone have any advice on what I might be doing wrong? Any suggestions will be very gratefully received!!

    Cheers,
    MrP.

    PS - I'm using Knoppix v5.1.1[/url]

  2. #2
    Junior Member
    Join Date
    Jan 2007
    Posts
    7
    hi

    there's an alternative solution to ur problem. Instead of switching to init 2 u can start xserver on different console.
    what u can do is: -
    > skip the init 2 step
    > before switching to user knoppix do the follwing: -

    1> change the permission of /tmp: chmod 777 /tmp
    2> export DISPLAY=localhost:1
    3>vi /etc/X11/Xwrapper.config
    Change the line:
    allowed_users=console
    to:
    allowed_users=anybody

    > su knoppix
    > startx /usr/bin/startkde --:1

    if u do not change the permissions of /tmp when starting as knoppix user u'll get error of permission denied.

    this worked for me.

    regards
    -boski

  3. #3
    Junior Member
    Join Date
    Mar 2007
    Location
    Bristol, England
    Posts
    2
    That's worked perfectly - thanks very much!

    MrP

Similar Threads

  1. working in the chroot environment
    By abby in forum Customising & Remastering
    Replies: 1
    Last Post: 11-18-2006, 03:13 PM
  2. How to Use Sessions , in Multi User Environment.
    By your_raj in forum General Support
    Replies: 1
    Last Post: 01-21-2005, 12:02 PM
  3. KDM Start Error In Chroot Knoppix 3.7 HELP!
    By winslayer in forum Customising & Remastering
    Replies: 2
    Last Post: 12-24-2004, 01:31 AM
  4. cann't start kde as user
    By jackren in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 03-05-2004, 10:49 PM
  5. Change user and desktop environment
    By Nomad in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 02-10-2003, 07:08 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
  •  


Mixed Brands 8GB PC4-2666V-S DDR4 SODIMM Laptop RAM (Lot of 50) picture

Mixed Brands 8GB PC4-2666V-S DDR4 SODIMM Laptop RAM (Lot of 50)

$925.00



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$38.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC picture

Samsung 16GB (2x8GB) DDR4 2400MHz PC4-19200 Desktop RAM Memory M378A1K43CB2-CRC

$19.95



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$21.33



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$14.85



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN picture

HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN

$129.95