Starting all x, icewmbg and icewm from a single command.
Hi, I have a SUSE 10.0 machine with runlevel 3 as default. There is a single normal user on the comp, sometimes having to run icewm. I tried to put all the needed startx :0, icewmbg and icewm commands to a single script, allowing the user to run it without typeing all the previous stuff separately. The only _bad_ thing is, that my method doesn't work at all; x starts, but icewm(+bg) doen't find their "normal place" and complain about not existing display. I have no experience with such a system, used to have always runlevel 5 as default; would be great, if someone could give me advice what to do. (I also tried various export statements and played around with .xinitrc as well, giving still not the wished result.) Thanks, Pelibali
I have a SUSE 10.0 machine with runlevel 3 as default. There is a single normal user on the comp, sometimes having to run icewm. <snip> if someone could give me advice what to do. I just read an article in the support database that may give a clue. Check the permissions on /usr/X11R6/bin/Xorg. If you have your
pelibali wrote: permissions set to secure, SuSEconfig will remove the suid bit allowing only xdm/kdm to allow a normal user to open X. Assuming all that is true in your situation, add /usr/X11R6/bin/Xorg root.root 4711 to /etc/permissions.local, run SuSEconfig, and you should work. I just went through this in 9.3, hope it helps with 10.0. -- Joe
Hi, On Tue, 08 Nov 2005 07:51:16 +0800 "Joe Morris (NTM)" <.> wrote:
I have a SUSE 10.0 machine with runlevel 3 as default. There is a single normal user on the comp, sometimes having to run icewm. <snip> if someone could give me advice what to do. I just read an article in the support database that may give a clue. Check the permissions on /usr/X11R6/bin/Xorg. If you have your
pelibali wrote: permissions set to secure, SuSEconfig will remove the suid bit allowing only xdm/kdm to allow a normal user to open X. Assuming all that is true in your situation, add /usr/X11R6/bin/Xorg root.root 4711 to /etc/permissions.local, run SuSEconfig, and you should work. I just went through this in 9.3, hope it helps with 10.0.
Thanks for your message! I think I have an easier problem, because as user I can do "startx :0", then wait a little and put into the newly opened graph. terminal "icewmbg && icewm". So in fact generally works, but putting all of the above commands to a single script, the user can't get icewm running, because it complains that doesn't find display, independently, that I try to tell that x runs on :0... Thanks, Pelibali PS. I tried something like these lama-lines placed into /bin as root, that the normal user could run it (root:root, 0755): ------------------------------------------------------- #!/bin/sh startx :0 icewmbg icewm
participants (2)
-
Joe Morris (NTM)
-
pelibali