Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
User Journal

Journal biglig2's Journal: Todays fun - starting Debian

This took ages, but eventually an xsession script to make that nifty x2vnc run automagically on startup.\

Trick is to accept that a local .xsession is needed but understand that it overwrites the default (which is not to run a default .xsession but to make assumptions) and so you need a last line to start gnome.


# visual indicator in case I start X as root
if [ "$user" = "root"];
then
          xsetroot -solid orange
else xsetroot -solid darkred
fi

#do x2vnc, telling /. nothing but where my monitors sit ;-)
x2vnc -east -passwd ~/foo bar.biglig.com:0 &

exec x-session-manager

And it all seems to work. ;-)

~~~~~~~~~~~~~~~~~~~~~~~~~~~#
Later:
the xsetroot stuff is of limited use, so I took it off.

This discussion has been archived. No new comments can be posted.

Todays fun - starting Debian

Comments Filter:

"More software projects have gone awry for lack of calendar time than for all other causes combined." -- Fred Brooks, Jr., _The Mythical Man Month_

Working...