Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Knoppix Fstab Question

  1. #1
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    18

    Knoppix Fstab Question

    I currently have about 16 partitions on my hdrive presently;there is a FAT partition that I would like to automount at boot up.However whenvever I edit and save fstab I get the following message :
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    When I reboot the original fstab has not changed.

    Any suggestions

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Sounds like root cannot use the Xserver. As user try:

    xhost local:

    Then root should be able to use the X server. For a permanent fix:

    apt-get update && apt-get install sux

    Of course ther ARE editors that don't need Xwindows too!

  3. #3
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    18
    Quote Originally Posted by mzilikazi
    Sounds like root cannot use the Xserver. As user try:

    xhost local:

    Then root should be able to use the X server. For a permanent fix:

    apt-get update && apt-get install sux

    Of course ther ARE editors that don't need Xwindows too!
    I get the following error when running xhost local:

    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

    xhost: unable to open display ":0.0"

  4. #4
    Member registered user
    Join Date
    Jan 2003
    Posts
    37
    Keep in mind, that nobody are mind readers. You have to say exactley hvat you are trying to do. and how you are trying to do it. The more in details you can tell, the better you can be helped.

    If we try to flip it over. You are a ploice dective, There has just been a murder. It's done with a knive, The problem hovewer is that nobody knows witch knive it's done witch. Then you don't know where to start to look nor where to finish! And the case is never solved!

  5. #5
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    18
    Quote Originally Posted by Gozar
    Keep in mind, that nobody are mind readers. You have to say exactley hvat you are trying to do. and how you are trying to do it. The more in details you can tell, the better you can be helped.

    If we try to flip it over. You are a ploice dective, There has just been a murder. It's done with a knive, The problem hovewer is that nobody knows witch knive it's done witch. Then you don't know where to start to look nor where to finish! And the case is never solved!
    Ok I take it that maybe you're not a native English speaker or maybe you didn't read the entire post or misunderstood what I posted;

    I am trying to edit the fstab file so as to automount a FAT partition however on trying to save the file I get an error about Xlib.Someone suggested trying xhost local:to fix so in my last post I am indicating the error that I get on trying that.

    Hope that clears things up.

  6. #6
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    18
    Quote Originally Posted by mzilikazi
    Sounds like root cannot use the Xserver. As user try:

    xhost local:

    Then root should be able to use the X server. For a permanent fix:

    apt-get update && apt-get install sux

    Of course ther ARE editors that don't need Xwindows too!
    My error trying to run as root it seemed to have worked installed sux as well.

  7. #7
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    18
    Quote Originally Posted by jodef
    Quote Originally Posted by mzilikazi
    Sounds like root cannot use the Xserver. As user try:

    xhost local:

    Then root should be able to use the X server. For a permanent fix:

    apt-get update && apt-get install sux

    Of course ther ARE editors that don't need Xwindows too!
    My error trying to run as root it seemed to have worked installed sux as well.
    Ok on reboot the same problem occurs and the fstab reverts to what is was originally

  8. #8
    Member registered user
    Join Date
    Jan 2004
    Posts
    40
    have had simmilar issues (slighly different ) with fstab on this release try using apt and installing discover1 worked on two of my machines for automatically mounting all drives

    my only remaining issue (on one machine ) is during boot it sees both ide accelerator card but once i get to the desktop the system (parted fstab whatever) only sees on accelerator card

    but beyond that everyting works great with discover handling fstab

  9. #9
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    jodef,

    The; Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    is somewhat linux security issues, it was ment that way so that not every user can share X. It can easily bypass by su using this command :
    cp ~user/.Xauthority ~
    or
    xauth merge ~user/.Xauthority

    *change user to your user name.

    About fstab not changing/saved or revert back to before saved, has something to do with knoppix hardware detection script (knoppix-autoconfig).

    You can use other work around method(autofs). You need some editing of mainly three files in your /etc :
    1) auto.misc
    2) auto.master
    3) auto.mnt

    You can read these articles to get the idea:
    http://www.faqs.org/docs/Linux-mini/Automount.html
    http://linux.about.com/library/bl/op...ewbie4.2.8.htm
    http://www.linux-consulting.com/Amd_AutoFS/autofs.html

    You don't need to run autofs as daemon since knoppix-autoconfig will run them for you.

    You might also want to use this application:
    http://auto-autofs.sourceforge.net/

  10. #10
    Senior Member
    Join Date
    Oct 2003
    Location
    GA
    Posts
    382
    If you chose the beginner-style install of knoppix your fstab will be regenerated upon every boot, wiping out any changes you've made.

Page 1 of 2 12 LastLast

Similar Threads

  1. Problem when moving New Fstab to the Old Fstab to fix Suse
    By cheetahman in forum General Support
    Replies: 19
    Last Post: 03-21-2005, 11:58 AM
  2. Replies: 0
    Last Post: 02-15-2005, 10:43 AM
  3. Why Knoppix is auto create the /etc/fstab in every boot ???
    By fowlertrainer in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 08-31-2004, 09:10 PM
  4. /etc/fstab in Knoppix 3.4
    By apun in forum Laptops
    Replies: 4
    Last Post: 08-22-2004, 06:29 PM
  5. (Noob) fstab mount question...
    By Cuddles in forum General Support
    Replies: 9
    Last Post: 01-28-2004, 04:19 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
  •  


Samsung MLT-R116 Imaging Unit Xpress M2625 M2675 M2825 M2875 M2885 M3015 OEM NEW picture

Samsung MLT-R116 Imaging Unit Xpress M2625 M2675 M2825 M2875 M2885 M3015 OEM NEW

$49.99



Samsung Galaxy Tab S10+ 5G (256GB, 12GB, Wi-Fi + Cellular, Unlocked) 12.4

Samsung Galaxy Tab S10+ 5G (256GB, 12GB, Wi-Fi + Cellular, Unlocked) 12.4" X828U

$579.99



Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED picture

Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED

$219.99



Original for Samsung NP950QCG-K01US LCD Screen Touch Full Top Assembly FHD Blue picture

Original for Samsung NP950QCG-K01US LCD Screen Touch Full Top Assembly FHD Blue

$299.00



3 -M.2 2280 512GB SSD - Samsung MZNTE512HMJH, MZNLN512HMJP, Toshiba KSG60ZMV512G picture

3 -M.2 2280 512GB SSD - Samsung MZNTE512HMJH, MZNLN512HMJP, Toshiba KSG60ZMV512G

$155.00



1 lot of 3  (2)Samsung PM951 SM961 & (1)Intel SSD 600P 256GB M.2 2280 SSD NVMe picture

1 lot of 3 (2)Samsung PM951 SM961 & (1)Intel SSD 600P 256GB M.2 2280 SSD NVMe

$109.00



Samsung 256GB SSD MZ-JPV256S/0A2 PCIe Solid State Drive SSD SSUBX 655-1959A picture

Samsung 256GB SSD MZ-JPV256S/0A2 PCIe Solid State Drive SSD SSUBX 655-1959A

$22.02



Samsung 32GB (16GB x2) PC3L-12800R DDR3L M393B2G70DB0-YK0Q2 Server RAM Memory picture

Samsung 32GB (16GB x2) PC3L-12800R DDR3L M393B2G70DB0-YK0Q2 Server RAM Memory

$27.99



Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem picture

Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem

$152.99



Samsung Chromebook WE500C13 1.6 GHz Celeron 2GB RAM 16GB eMMC Webcam picture

Samsung Chromebook WE500C13 1.6 GHz Celeron 2GB RAM 16GB eMMC Webcam

$29.99