Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: knoppix -> debian-like -> debian

  1. #11
    Junior Member
    Join Date
    Mar 2004
    Posts
    7
    When I log into the console I get the message "ttys0 LSR safety check engaged!" on the screen whcih repeats every second.

    However I am able to log on as a normal user and startx. I get a screen that looks like twm but with no menus, after a couple of minutes it dies. Before It dies I switched to a different virtual terminal and saw the following message

    This is approximate as it was scrolling to fast and I'm not sure where it logged to

    AUDIT <date information> Client 1 refused from localhost
    XLIB connection to :0.0 refused by server
    XLIB no protocol specifed

    This sequence was repeated over and over until it gave the message "giving up" and went back to the LSR safety check message

    I don't really have any idea about how X starts or the relationship between X and kde so I will do some reading see what I can figure out. In the meantime thansk for any help.

  2. #12
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Quote Originally Posted by tonyleake
    AUDIT <date information> Client 1 refused from localhost
    XLIB connection to :0.0 refused by server
    XLIB no protocol specifed
    This is exactly the same message I get. I'm also planning to learn more of the init process and check permissions. For some reason a normal user don't have permission to log in X.

    Could this be the same login problem as was in 2004-02-09 version? How was that fixed?

  3. #13
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    130
    Can you try one other thing? Login as root, and do the following:
    Code:
    cd /tmp
    chmod 1777 .X11-unix
    There is sometimes a problem with permissions changing on this directory. I do not know why. That may be the cause of your problems.

  4. #14
    Junior Member
    Join Date
    Mar 2004
    Posts
    7
    Thanks, tired that and it didn't make any diference.

    I am currently working through some XFree docs to see what I can find out, but if you have any more ideas thay are all greatfully received .

  5. #15
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    130
    OK, try the following as root:
    Code:
    cd /tmp
    chmod -R a+rwx .X11-unix
    chmod 1777 .X11-unix
    chmod 1777 /tmp
    Then as regular user try
    Code:
    xinit
    This should open an xterm window. Type "exit" and go back to the console. Now try
    Code:
    startx
    and see if KDE loads up.

    Something is messed up with permissions, but I think the above will fix permissions and create a .Xauthority file for the user. Please write back and let me know if it worked. Sorry that my instructions on sysvinit has given you problems.

  6. #16
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Quote Originally Posted by m_yates
    OK, try the following as root:
    Code:
    cd /tmp
    chmod -R a+rwx .X11-unix
    chmod 1777 .X11-unix
    chmod 1777 /tmp
    Thanks! That was it!

    I just changed permissions as you instructed before and logged out of X with 'Ctrl-Alt-Backspace'. Then I logged in as normal user. Everything is now fine

    What was exactly done? Permissions in /tmp was
    drwxr-xr-x
    and now they are
    drwxrwxrwxt

  7. #17
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    130
    Glad that it worked. To be honest, I don't know exactly why the problem crops up. Perhaps someone more knowledgable than me will read this thread. The chmod command gives everyone the ability to read, write, and execute files in /tmp/.X11-unix. Before changing it, only root could write there. The regular user needs to write there to run X.

    I also need to learn about chmod. The chmod 1777 makes a "sticky" directory or append-only. Everyone can read and write files, but deletion or renaming of files is restricted. /tmp is supposed to be set at 1777, but for some reason it or .X11-unix or both changes doing the sysvinit upgrade.

  8. #18
    Junior Member
    Join Date
    Mar 2004
    Posts
    7
    Worked for me too, thanks

  9. #19
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    I just successfully attempted to replace sysvinit-knoppix with the debian sysvinit. But the process I used was very different. First of all, I used aptitude to do this conversion, and alternated it with the commandline.
    1) As root, start aptitude.
    2) Click / then enter sysvinit, and hit enter twice.
    3) Scroll to the bottom and choose the 2.85 version (which will make it seem like it will downgrade, but that's what you want.), press shift and +.
    4) You will need the following packages: initscripts, sysv-rc, mount. Make sure all are selected.
    5) Press g once to see what will be downloaded and replaced. There should be at least 3 packages that will be removed. Those packages need to be marked with a shift and - to purge them from the system. Mount-aes will give you the most trouble, and it will make you enter a confirmation by typing 'Yes, I know it is a very bad idea', before letting you replace it with mount.
    6) Press q then press g again, to make sure your choices are clear. If it all looks okay without adding addtional packages other than the ones I mentioned above, then you are good to go. Press g to download and install.
    7) You'll need to press enter once the downloads are finished to install the packages. It will remove and replace mount-aes with mount successfully and then break at initscripts.
    8) Quit aptitude. In a root console, cd to /var/cache/apt/archives and dpkg -i --force-overwrite initscripts sysv-rc. These 2 packages complain about a script that was supplied by sysvinit, so this needs to be done.
    9) When both are successfully installed, run aptitude again and select the same packages as before (as well as the same packages you wanted removed) and press g twice. It will finish the process resulting in replacing the knoppix sysvinit with debian's sysvinit and you do not have to worry about other packages being removed or broken by sysvinit's removal.

    AFAICT, it works great on my system. I've even tested update-rc.d to see if that needed to be copied or moved back to /usr/sbin, but apparently I didn't need to. Nor did I need to mess with permissions either, but I can't guarantee that this will work for everybody.

    Btw, this was done on a hd-install from knoppix v3.3 2-9-2004 and upgraded to the latest testing packages. Don't know about 3.4, so use this at your own risk.

    HTH,

    Durand

Page 2 of 2 FirstFirst 12

Similar Threads

  1. How Debian is Knoppix?
    By jimbo-62 in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-29-2005, 01:29 PM
  2. knoppix -> debian
    By 12Iceman in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-11-2004, 02:57 AM
  3. Replies: 1
    Last Post: 05-27-2004, 12:21 AM
  4. HOWTO fix debian or knoppix/debian for Russian fonts
    By datakid in forum General Support
    Replies: 0
    Last Post: 11-07-2003, 07:46 AM
  5. More Fun with Knoppix/Debian
    By hw-tph in forum Customising & Remastering
    Replies: 0
    Last Post: 10-20-2003, 08:51 PM

Posting Permissions

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


Gaming PC RTX 3080 Zotac Gaming, AMD Ryzen 7 5800X 3.8 GHz 8- Core Processor picture

Gaming PC RTX 3080 Zotac Gaming, AMD Ryzen 7 5800X 3.8 GHz 8- Core Processor

$850.00



FAST Dell TOUCHSCREEN 8th Gen Intel Quad Core 16GB RAM Pick SSD Wi-Fi BT Win11 picture

FAST Dell TOUCHSCREEN 8th Gen Intel Quad Core 16GB RAM Pick SSD Wi-Fi BT Win11

$199.00



ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce picture

ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce

$687.99



8-Core Gaming Computer Desktop PC, 1TB SSD, 32GB RAM, RX 560 Fortnite, Minecraft picture

8-Core Gaming Computer Desktop PC, 1TB SSD, 32GB RAM, RX 560 Fortnite, Minecraft

$299.98



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Apple iMac Pro 2017 27 Inch 5K 3.2 GHz 8-Core Xeon 64GB RAM 1TB Vega picture

Apple iMac Pro 2017 27 Inch 5K 3.2 GHz 8-Core Xeon 64GB RAM 1TB Vega

$1295.00



Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1 picture

Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1

$300.00



SONOMA Apple MacBook Pro 16

SONOMA Apple MacBook Pro 16" 5.0GHz i9 8 CORE - 5500M 8GB - 64GB RAM 1TB SSD

$1269.60