-
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]
-
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
-
That's worked perfectly - thanks very much!
MrP
Similar Threads
-
By abby in forum Customising & Remastering
Replies: 1
Last Post: 11-18-2006, 03:13 PM
-
By your_raj in forum General Support
Replies: 1
Last Post: 01-21-2005, 12:02 PM
-
By winslayer in forum Customising & Remastering
Replies: 2
Last Post: 12-24-2004, 01:31 AM
-
By jackren in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 03-05-2004, 10:49 PM
-
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
-
Forum Rules
Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W
$3472.00
Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W
$3180.00
Dell XC630 Server 3.00Ghz 8-Core 128GB 2x 800GB SAS SSD 12G 8x NEW 2TB SSD H730P
$2598.15
Supermicro 4U 4x Nvidia GPU AI Server 2.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W
$1382.00
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$489.99
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$319.99
Dell Precision 3420 SFF Intel Core i5-6500 8GB RAM 256GB SSD WIN 11
$75.00
HP Z820 8-Core 2.60GHz E5-2670 128GB RAM No HDD No OS
$235.90