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
  •  


IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM SYSTEM x3200 M2 Server - HDD wiped, No OS picture

IBM SYSTEM x3200 M2 Server - HDD wiped, No OS

$75.00



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



ibm server z series picture

ibm server z series

$16000.00



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$27.25



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$319.99



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00



IBM BladeCenter HS21 7995 AC1 Server - 1x Xeon E5440 2GB RAM - NO HDDs picture

IBM BladeCenter HS21 7995 AC1 Server - 1x Xeon E5440 2GB RAM - NO HDDs

$22.43



IBM System X3500 M4 7383AC1 (E5-2650 v2 2.60GHz - 192GB RAM - M2000 - NO OS/HDD) picture

IBM System X3500 M4 7383AC1 (E5-2650 v2 2.60GHz - 192GB RAM - M2000 - NO OS/HDD)

$294.92



IBM SYSTEM x3650 M4 Xeon E5-2609 2.40GHZ 16GB DDR3-1066MHZ 2x 550W PSU TESTED picture

IBM SYSTEM x3650 M4 Xeon E5-2609 2.40GHZ 16GB DDR3-1066MHZ 2x 550W PSU TESTED

$109.95