crond and xauth problems
I have about one week now a working lfs system (lfs-3.1) However I cannot find crond. Does anyone know where to find the standard source package? My search around the web revealed a numerous different solutions for crond but I'd like to stick to the already tested and secure one. Also I have compiled XFree 4.2.2 and KDE 2.2.2 so I chose to use kdm for startup login. I do login just fine but once I login as a user I cannot su to another user and execute applications that use the X-windows, even if I login as root! There seem to be a misconfiguration with xauth. Anoone experienced enough to give me his advise? I can make everything go well if I execute xhost +localhost before executing the application but I'd like a better solution, if there is one of course!
|
Re: crond and xauth problems
Quote:
You said su'ing to another user doesn't work. Can you give us more information, such as error messages? |
That's what I call speed! In just 10minutes you saved me after 2 days of search (stupid me)! Thanks alot for the immediate answer. About su probably I wasn't very clear. There is no problem with the su command itself, but for example when I execute gkrellm, after suing to root, when I am logged in as foo, I get:
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Gtk-WARNING **: cannot open display: :0.0 After executing the command 'xhost +localhost' as foo, it executes just fine. Any ideas? |
Quote:
To find out what 'yourhostname' is, run the hostname command. Sometimes programs just want to connect to your real hostname rather than the localhost hostname. |
I have found another solution. I found at the net a script called sux made by a french(probably) guy named Francois Gouget. It does the authentication automatically when suing to another user. It works just fine now, I hope I haven't added a hole to my system somehow...
|
All times are GMT -5. The time now is 11:22 PM. |