Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Oct 2012 18:16:20 +0200
From:      =?UTF-8?Q?Istvan_Gabor?= <suseuser04@lajt.hu>
To:        freebsd-questions@freebsd.org
Subject:   Re: stop  and start X server in FreeBSD 9.0
Message-ID:  <3017a44e.1f5f420b.506b1354.cee0c@lajt.hu>
In-Reply-To: <201210021629.44943.jmc-freebsd2@milibyte.co.uk>
References:  <655c8927.6a890f36.506aed3e.ebec@lajt.hu> <20121002154954.75800f3e.freebsd@edvax.de> <201210021629.44943.jmc-freebsd2@milibyte.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon,=20Mike,

Thank=20for=20your=20answers.


2012.=20okt=C3=B3ber=202.=2017:29=20napon=20Mike=20Clarke=20<jmc-freebsd2=
@milibyte.co.uk>=20=C3=ADrta:

>=20On=20Tuesday=2002=20October=202012=2014:49:54=20Polytropon=20wrote:
>=20
>=20>=20For=20the=20desired=20test=20scenario,=20I'd=20suggest=20to=20dis=
able=20KDE
>=20>=20(kdm)=20startup=20in=20/etc/rc.conf,=20and=20finally=20stop=20the=
=20related
>=20>=20service=20(from=20/usr/local/etc/rc.d=20probably).=20Then=20you=20=
can
>=20>=20easily=20use=20the=20"startx"=20command=20to=20start=20an=20X=20s=
ession=20from
>=20>=20a=20user's=20VT,=20test=20your=20settings,=20terminate=20the=20se=
ssion,
>=20>=20and=20you'll=20be=20back=20in=20text=20mode.
>=20
>=20The=20OP=20is=20using=20kdm3=20which=20is=20normally=20=20managed=20t=
hrough=20/etc/ttys=20instead=20of=20
>=20an=20rc=20script.
>=20
>=20To=20stop=20kdm3:
>=20
>=20*=20edit=20/etc/ttys,=20find=20the=20line=20'ttyv8=20=20=20"/usr/loca=
l/bin/kdm"=20xterm=20on=20secure'=20
>=20and=20changie=20"on"=20to=20"off"

I=20did=20this=20one=20before.=20I=20hoped=20I=20could=20make=20it=20with=
out=20editing=20ttys=20every=20time.

>=20*=20kill=20-1=201
>=20*=20killall=20kdm-bin

Thanks=20for=20pointing=20out=20which=20program=20has=20to=20be=20killed.=


>=20
>=20To=20restart
>=20
>=20*=20edit=20/etc/ttys=20and=20change=20"off"=20back=20to=20"on"=20for=20=
kdm
>=20*=20kill=20-1=201
>=20
>=20But=20it=20isn't=20necessary=20to=20do=20all=20this=20just=20to=20pic=
k=20up=20changes=20in=20xorg.conf.=20
>=20Just=20make=20your=20desired=20changes=20to=20xorg.conf,=20then=20log=
=20out=20of=20kde=20and=20switch=20
>=20to=20a=20console=20as=20root=20and=20killall=20kdm-bin.=20This=20will=
=20stop=20and=20start=20X=20as=20well=20
>=20as=20kdm.
>=20
>=20You=20can=20do=20all=20this=20from=20a=20terminal=20window=20in=20you=
r=20kde=20session=20but=20I=20prefer=20to=20
>=20logout=20cleanly=20instead=20of=20having=20the=20rug=20pulled=20from=20=
under=20my=20feet=20which=20has=20
>=20sometimes=20corruptedf=20my=20kdmrc=20file.
>=20

I=20guess=20this=20is=20the=20way=20to=20go.=20Thanks!

Istvan






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3017a44e.1f5f420b.506b1354.cee0c>