Results 1 to 3 of 3

Thread: cannot connect to X server :0.0

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Location
    Colombia
    Posts
    1

    cannot connect to X server :0.0

    Hi

    I just installed knoppix 3.7 on my h.d

    I really like it, but I have just had my first problem using it

    I was installing firefox and wanted to install it to /etc/firefox, but as a user i did not have permission to change that folder, so i tried to run the script as root.
    I got an error message, and thought i was doing something wrong. However, I found out I get an error message whenever I try to open a window (sorry I dont know the exact definition) i mean, whenever i try to open a graphic applilcation. For example:

    dsarmientos@box:~$ su
    Password:
    root@box:/home/dsarmientos# konqueror
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

    konqueror: cannot connect to X server :0.0

    I also have another question though it is not a problem. I would like to change my lilo screen to have the windows xp boot option selected by default.

    Thanks in advance and sorry for my crappy english :P

  2. #2
    Member registered user
    Join Date
    Jan 2005
    Posts
    71
    Hi,

    either open a root shell from the KNOPPIX menu, or issue "xhost +localhost" in another console
    (and read the "xhost" man page )

    Ciao,
    Thomas

  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    There is some info on running x applications as root here: http://www.knoppix.net/forum/viewtopic.php?t=16894
    You should however be able to do the install as root but actually run firefox as user, not root. How are you installing & why do you want to put it in /etc/firefox? Why not just apt-get install & let it install whereever apt wants to put it?
    For ht elilo, edit /etc/lilo.conf, change 'default=' to Windows (name you use must match the 'label=' for that entry. Then run lilo to implement the changes. You must be root both for the edit and to run lilo.

Similar Threads

  1. How to connect to M$ VPN server?
    By e.fabene in forum General Support
    Replies: 3
    Last Post: 10-21-2005, 03:05 PM
  2. how to start vnc server so i can connect from windows vnc?
    By Josh83 in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 05-04-2005, 11:44 AM
  3. kded: cannot connect to X server Sarge:0.0
    By phrostie in forum General Support
    Replies: 5
    Last Post: 12-29-2003, 11:01 PM
  4. Unable to connect to proxy server
    By johar in forum Networking
    Replies: 1
    Last Post: 10-15-2003, 08:40 PM
  5. Connect to LAN internet (Server is Windows XP)
    By mranderson in forum Networking
    Replies: 0
    Last Post: 09-19-2003, 04:38 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
  •  


Kingston 16GB DDR4 3200MHz PC4-3200AA-SA2-12 Laptop RAM SODIMM (HP32D4S2S8ME-16) picture

Kingston 16GB DDR4 3200MHz PC4-3200AA-SA2-12 Laptop RAM SODIMM (HP32D4S2S8ME-16)

$64.99



16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS picture

16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS

$65.00



SK Hynix 8GB 1Rx8 PC4-2400T (HMA81GU6AFR8N-UH) DDR4 Desktop ram picture

SK Hynix 8GB 1Rx8 PC4-2400T (HMA81GU6AFR8N-UH) DDR4 Desktop ram

$25.99



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



[ BULK LOT OF 10 ] UNITS of 8GB DDR4 Laptop RAM SAMSUNG, HYNIX etc. picture

[ BULK LOT OF 10 ] UNITS of 8GB DDR4 Laptop RAM SAMSUNG, HYNIX etc.

$299.99



Kingston HyperX Fury 32GB 2x16GB DDR4 RAM 3200MHz X2YH1K-MIE picture

Kingston HyperX Fury 32GB 2x16GB DDR4 RAM 3200MHz X2YH1K-MIE

$150.00



WARIS 32GB (4x8GB) DDR4-3200 PC4-25600 288-Pin UDIMM Desktop RAM H4737130 picture

WARIS 32GB (4x8GB) DDR4-3200 PC4-25600 288-Pin UDIMM Desktop RAM H4737130

$109.99



Corsair Vengeance RGB PRO 32GB 2x16GB DDR4 RAM 3200MHz CMW32GX4M2E3200C16 picture

Corsair Vengeance RGB PRO 32GB 2x16GB DDR4 RAM 3200MHz CMW32GX4M2E3200C16

$169.99



CPU-RAM-MOBO COMBO-  32gb DDR4 3600MHz, i5 CPU, Asus Prime Motherboard picture

CPU-RAM-MOBO COMBO- 32gb DDR4 3600MHz, i5 CPU, Asus Prime Motherboard

$370.00



16GB ( 4X 4GB ) MEMORY DDR3 PC3-10600 1333MHz FOR DELL OPTIPLEX 790 780 990 980 picture

16GB ( 4X 4GB ) MEMORY DDR3 PC3-10600 1333MHz FOR DELL OPTIPLEX 790 780 990 980

$39.99