Re: X11 problem

2010-06-24 Thread Jack L.
On Tue, Jun 22, 2010 at 12:00 PM, Maciej Suszko mac...@suszko.eu wrote:
 Gary Kline kl...@thought.org wrote:

 guys,
 what do i need to rebuild to fix this problem to get X working on my
 server::


 ethic# startx
 xauth:  creating new authority file /root/.serverauth.1054

 /libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required
 by X giving up.
 xinit:  No such file or directory (errno 2):  unable to connect to X
 server
 xinit:  No such process (errno 3):  Server error.
 ethic#

Or just reinstall hal
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X11 problem

2010-06-22 Thread Gary Kline

guys,
what do i need to rebuild to fix this problem to get X working on my
server::


ethic# startx
xauth:  creating new authority file /root/.serverauth.1054

/libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required by X
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X
server
xinit:  No such process (errno 3):  Server error.
ethic# 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: X11 problem

2010-06-22 Thread Dan Nelson
In the last episode (Jun 22), Gary Kline said:
 
 guys,
 what do i need to rebuild to fix this problem to get X working on my
 server::
 
 ethic# startx
 xauth:  creating new authority file /root/.serverauth.1054
 
 /libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required by X 
 giving up.
 xinit:  No such file or directory (errno 2):  unable to connect to X server
 xinit:  No such process (errno 3):  Server error.
 ethic# 

Looks like you buid X with hal support, then deleted hal.  Either install
port/sysutils/hal, or run make config in ports/x11-servers/xorg-server,
uncheck hal support, and reinstall.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: X11 problem

2010-06-22 Thread Glen Barber

On 6/22/10 2:39 PM, Gary Kline wrote:


guys,
what do i need to rebuild to fix this problem to get X working on my
server::


ethic# startx
xauth:  creating new authority file /root/.serverauth.1054

/libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required by X
giving up.


Have you tried rebuilding sysutils/hal?

Regards,

--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: X11 problem

2010-06-22 Thread Maciej Suszko
Gary Kline kl...@thought.org wrote:
 
 guys,
 what do i need to rebuild to fix this problem to get X working on my
 server::
 
 
 ethic# startx
 xauth:  creating new authority file /root/.serverauth.1054
 
 /libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required
 by X giving up.
 xinit:  No such file or directory (errno 2):  unable to connect to X
 server
 xinit:  No such process (errno 3):  Server error.
 ethic# 

You can use ldd to find binaries/libraries linked against nonexistent
libs:

find /usr/local -type f | xargs ldd

then check the output for not found string, find the file origin with
pkg_info -W /path/to/file, finally rebuild the package.
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


ssh and X11 problem

2008-12-31 Thread stan

I just built a new 7.1 machine, and when I ssh from a Linux box to it I get
the following errors:

usr/local/bin/xauth: (stdin):1:  bad display name unix:10.0 in remove
command
/usr/local/bin/xauth: (stdin):2:  bad display name unix:10.0 in add
command

And I cannit get ssh to foward the X protocol. Yes I have added 

ForwardX11 yes to /etc/ssh/ssh_config

What am I doing wrong?

-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread Glen Barber
On Wed, 2008-12-31 at 12:35 -0500, stan wrote:
 I just built a new 7.1 machine, and when I ssh from a Linux box to it I get
 the following errors:
 
 usr/local/bin/xauth: (stdin):1:  bad display name unix:10.0 in remove
 command
 /usr/local/bin/xauth: (stdin):2:  bad display name unix:10.0 in add
 command
 
 And I cannit get ssh to foward the X protocol. Yes I have added 
 
 ForwardX11 yes to /etc/ssh/ssh_config
 
 What am I doing wrong?
 

I assume you have xserver on the FreeBSD box?  Check your display name.
I'm pretty sure it's supposed to be 'hostname:0:0'.


-- 
Glen Barber
Tell me and I forget.  Teach me and I remember.  Involve me and I
learn. - Benjamin Franklin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread stan
On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote:
 On Wed, 2008-12-31 at 12:35 -0500, stan wrote:
  I just built a new 7.1 machine, and when I ssh from a Linux box to it I get
  the following errors:
  
  usr/local/bin/xauth: (stdin):1:  bad display name unix:10.0 in remove
  command
  /usr/local/bin/xauth: (stdin):2:  bad display name unix:10.0 in add
  command
  
  And I cannit get ssh to foward the X protocol. Yes I have added 
  
  ForwardX11 yes to /etc/ssh/ssh_config
  
  What am I doing wrong?
  
 
 I assume you have xserver on the FreeBSD box?  Check your display name.
 I'm pretty sure it's supposed to be 'hostname:0:0'.
 
Perhaps I was not clear. Yes I do have the X server running on the FreeBSD
machine, but that should not matter, as I am ssh'ing _from_ the Linux box
which does have a working X server on it also, and can ssh to other
machines  and get X fowarded corectly.

-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread Glen Barber
On Wed, 2008-12-31 at 12:54 -0500, stan wrote:
 On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote:
  On Wed, 2008-12-31 at 12:35 -0500, stan wrote:
   I just built a new 7.1 machine, and when I ssh from a Linux box to it I 
   get
   the following errors:
   
   usr/local/bin/xauth: (stdin):1:  bad display name unix:10.0 in remove
   command
   /usr/local/bin/xauth: (stdin):2:  bad display name unix:10.0 in add
   command
   
   And I cannit get ssh to foward the X protocol. Yes I have added 
   
   ForwardX11 yes to /etc/ssh/ssh_config
   
   What am I doing wrong?
   
  
  I assume you have xserver on the FreeBSD box?  Check your display name.
  I'm pretty sure it's supposed to be 'hostname:0:0'.
  
 Perhaps I was not clear. Yes I do have the X server running on the FreeBSD
 machine, but that should not matter, as I am ssh'ing _from_ the Linux box
 which does have a working X server on it also, and can ssh to other
 machines  and get X fowarded corectly.
 

You need an xserver to connect *to*, which is why I asked.

-- 
Glen Barber
Tell me and I forget.  Teach me and I remember.  Involve me and I
learn. - Benjamin Franklin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread Peter Boosten


Glen Barber wrote:
 On Wed, 2008-12-31 at 12:54 -0500, stan wrote:
 On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote:
 On Wed, 2008-12-31 at 12:35 -0500, stan wrote:
 I just built a new 7.1 machine, and when I ssh from a Linux box to it I get
 the following errors:

 usr/local/bin/xauth: (stdin):1:  bad display name unix:10.0 in remove
 command
 /usr/local/bin/xauth: (stdin):2:  bad display name unix:10.0 in add
 command

 And I cannit get ssh to foward the X protocol. Yes I have added 

 ForwardX11 yes to /etc/ssh/ssh_config

 What am I doing wrong?

 I assume you have xserver on the FreeBSD box?  Check your display name.
 I'm pretty sure it's supposed to be 'hostname:0:0'.

 Perhaps I was not clear. Yes I do have the X server running on the FreeBSD
 machine, but that should not matter, as I am ssh'ing _from_ the Linux box
 which does have a working X server on it also, and can ssh to other
 machines  and get X fowarded corectly.

 
 You need an xserver to connect *to*, which is why I asked.

Nope, not true: you can ssh to  client without x server (from an X
server) and start x clients to display on your local machine.

Through the ssh session, your display will be localhost:10:0

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread Lowell Gilbert
Glen Barber glen.j.bar...@gmail.com writes:

 On Wed, 2008-12-31 at 12:54 -0500, stan wrote:
 On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote:
  On Wed, 2008-12-31 at 12:35 -0500, stan wrote:
   I just built a new 7.1 machine, and when I ssh from a Linux box to it I 
   get
   the following errors:
   
   usr/local/bin/xauth: (stdin):1:  bad display name unix:10.0 in remove
   command
   /usr/local/bin/xauth: (stdin):2:  bad display name unix:10.0 in add
   command
   
   And I cannit get ssh to foward the X protocol. Yes I have added 
   
   ForwardX11 yes to /etc/ssh/ssh_config
   
   What am I doing wrong?
   
  
  I assume you have xserver on the FreeBSD box?  Check your display name.
  I'm pretty sure it's supposed to be 'hostname:0:0'.
  
 Perhaps I was not clear. Yes I do have the X server running on the FreeBSD
 machine, but that should not matter, as I am ssh'ing _from_ the Linux box
 which does have a working X server on it also, and can ssh to other
 machines  and get X fowarded corectly.
 

 You need an xserver to connect *to*, which is why I asked.

No, Stan is right; an X server is only needed on the machine that
actually hosts the display.

The xauth error message are indicating the problem, but I don't
know what they're telling us.  The hostname should probably be
localhost, and sshd_config is set up to do that by default.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread stan
On Wed, Dec 31, 2008 at 12:58:18PM -0500, Glen Barber wrote:
 On Wed, 2008-12-31 at 12:54 -0500, stan wrote:
  On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote:
   On Wed, 2008-12-31 at 12:35 -0500, stan wrote:
I just built a new 7.1 machine, and when I ssh from a Linux box to it I 
get
the following errors:

usr/local/bin/xauth: (stdin):1:  bad display name unix:10.0 in 
remove
command
/usr/local/bin/xauth: (stdin):2:  bad display name unix:10.0 in add
command

And I cannit get ssh to foward the X protocol. Yes I have added 

ForwardX11 yes to /etc/ssh/ssh_config

What am I doing wrong?

   
   I assume you have xserver on the FreeBSD box?  Check your display name.
   I'm pretty sure it's supposed to be 'hostname:0:0'.
   
  Perhaps I was not clear. Yes I do have the X server running on the FreeBSD
  machine, but that should not matter, as I am ssh'ing _from_ the Linux box
  which does have a working X server on it also, and can ssh to other
  machines  and get X fowarded corectly.
  
 
 You need an xserver to connect *to*, which is why I asked.
 
On the FreeBSD machine? I may be confused, but I think that on the FreeBSD
machine the client tassk (eg xclock) is run, and it is pointed to the
server on the machine that I am connecting _from_. Am I confused?

-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread Peter Boosten



On 31 dec 2008, at 19:01, Peter Boosten pe...@boosten.org wrote:




Glen Barber wrote:

On Wed, 2008-12-31 at 12:54 -0500, stan wrote:

On Wed, Dec 31, 2008 at 12:41:48PM -0500, Glen Barber wrote:

On Wed, 2008-12-31 at 12:35 -0500, stan wrote:
I just built a new 7.1 machine, and when I ssh from a Linux box  
to it I get

the following errors:

usr/local/bin/xauth: (stdin):1:  bad display name unix:10.0 in  
remove

command
/usr/local/bin/xauth: (stdin):2:  bad display name unix:10.0  
in add

command

And I cannit get ssh to foward the X protocol. Yes I have added

ForwardX11 yes to /etc/ssh/ssh_config

What am I doing wrong?

I assume you have xserver on the FreeBSD box?  Check your display  
name.

I'm pretty sure it's supposed to be 'hostname:0:0'.

Perhaps I was not clear. Yes I do have the X server running on the  
FreeBSD
machine, but that should not matter, as I am ssh'ing _from_ the  
Linux box

which does have a working X server on it also, and can ssh to other
machines  and get X fowarded corectly.



You need an xserver to connect *to*, which is why I asked.


Nope, not true: you can ssh to  client without x server (from an X
server) and start x clients to display on your local machine.

Through the ssh session, your display will be localhost:10:0

Peter




After re-reading Glens remark he's actually right: the client connects *
to* the server, however the confusion starts when connecting to the  
client with ssh.


Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread Glen Barber
On Wed, 2008-12-31 at 13:02 -0500, Lowell Gilbert wrote:
 No, Stan is right; an X server is only needed on the machine that
 actually hosts the display.
 
 The xauth error message are indicating the problem, but I don't
 know what they're telling us.  The hostname should probably be
 localhost, and sshd_config is set up to do that by default.
 

Right.  The host is hosting the display -- his Linux machine is the
client *to* the Xserver. 

-- 
Glen Barber
Tell me and I forget.  Teach me and I remember.  Involve me and I
learn. - Benjamin Franklin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread Glen Barber
On Wed, 2008-12-31 at 13:02 -0500, stan wrote:
 On the FreeBSD machine? I may be confused, but I think that on the FreeBSD
 machine the client tassk (eg xclock) is run, and it is pointed to the
 server on the machine that I am connecting _from_. Am I confused?
 

The task runs on the host machine (using the Xserver) and is forwarded
over SSH to the client machine.  The client task you refer to is on
the host machine.  

-- 
Glen Barber
Tell me and I forget.  Teach me and I remember.  Involve me and I
learn. - Benjamin Franklin

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ssh and X11 problem

2008-12-31 Thread stan
On Wed, Dec 31, 2008 at 01:32:23PM -0500, Glen Barber wrote:
 On Wed, 2008-12-31 at 13:02 -0500, stan wrote:
  On the FreeBSD machine? I may be confused, but I think that on the FreeBSD
  machine the client tassk (eg xclock) is run, and it is pointed to the
  server on the machine that I am connecting _from_. Am I confused?
  
 
 The task runs on the host machine (using the Xserver) and is forwarded
 over SSH to the client machine.  The client task you refer to is on
 the host machine.  
 
The terms sever, and client are backwards from the intuitve expectaion in
the X world. The server is the process (X) taht actually updates the
screen with graphics (eg draw box). The client is the process that wisfes
to access the serrver to put somehting on the screen (eg xclcok). So, in
this case the server is on the Linux machine, and the client(s0 are on
the FreeBSD machine.

For the record, I solved the problem. Thier was no hostname entry in
/etc/rc.conf. hostname returned nothig. Fixing this, and rebooting cured
this problem.

Thaks to veryone for making me think this through.

Now, if somebady cna just give me a clue on the scanner issue (see seperate
thread).



-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


X11 problem. Simultaneous user connection on same machine.

2003-01-12 Thread Ihsan Junaidi Ibrahim
Hello all,

I'm running KDE under a normal user and I couldn't seem to get some group of 
kcontrol to work properly. Whenever I need to adjust some settings such as 
Font Installer, Login Manager which requires root access (which I have), the 
Loading screen just stood there actionless when I click on the Administrator 
Mode button. 

So I tried su-ing to root in konsole and run kcontrol from there. I avoid 
using root account when running X11 so I set the $DISPLAY. I ran kcontrol and 
this was the output that I got.


_KDE_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
DCOPServer up and running.
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

kded: cannot connect to X server :0
DCOP aborting call from 'anonymous-22382' to 'kded'
ERROR: KUniqueApplication: DCOP communication error!
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

kcontrol: cannot connect to X server :0
ERROR: KUniqueApplication: Registering failed!
ERROR: KUniqueApplication: DCOP communication error!
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
Mutex destroy failure: Device busy
kdeinit: sending SIGTERM to children.
kdeinit: Exit.

---

What does this lines of errors means? Can I not have two users using the X11 
at one time on the same machine?
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message