[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: about startx



jqdkf@zju.edu.cn wrote:

Well, this script is actually in ~bin/, and I have set the $PATH correct
as I can run other self-write script successfully.
What seems weird is that after I run that script and use $ ps -ecl|grep startx
to test, I find the startx is running, but the window doesn't show up.
What else should I test?

Okay; I'm seeing the same behaviour here.:

westk[@westek]:/home/westk/BIN> cat sx
#!/bin/bash
echo Script is running
startx -- :1 > /dev/null 2>&1 &
echo Script is running

westk[@westek]:/home/westk> sx
Script is running
Script is running

but no starting of X.

However, removing the final ampersand on the startx line, so it becomes this:
startx -- :1 > /dev/null 2>&1

does work.

--
Kent




Reply to: