[PC-BSD Testing] still cant startx

Ken Moore ken at pcbsd.org
Wed Jul 3 05:42:16 PDT 2013


Try this command to start up PCDM (as root):  "/usr/local/sbin/PCDMd"
That is a simple shell script that should run the proper X commands to 
start up a PCDM session.

Similarly, the script to start GDM is: "/usr/local/sbin/gdm"

You also might want to make sure that you have this file on your system: 
"/etc/defaults/pcbsd"
If not, just run "touch /etc/defaults/pcbsd" to create it (again as root).

On 07/02/2013 22:26, Casey Hancock wrote:
> when my computer boots i get to the text login prompt instead of
> directly going to my desktop.
> after i login with a regular user account i try getting to a desktop
> running "startx" from the cmd line gets me to a plain old x desktop
> with 3 terminal windows open but i cannot type in any of them nor use
> my mouse.
>
> here are some other commands i have tried
> [i3luefire at pcbsd-717] /usr/local/lib/X11/xinit> pcdm
> PCDM-session PCDMd
> [i3luefire at pcbsd-717] /usr/local/lib/X11/xinit> PCDM-session
> PCDM-session: cannot connect to X server
> [i3luefire at pcbsd-717] /usr/local/lib/X11/xinit> gdm
>
> ** (gdm-binary:5436): WARNING **: Couldn't connect to system bus: Failed
> to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
>
> [i3luefire at pcbsd-717] uname -a
> FreeBSD pcbsd-717 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 18
> 15:25:28 UTC 2013
> root at amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>
> below are the contents of my /usr/local/lib/X11/xinit/xinitrc file
> #!/bin/sh
>
> userresources=$HOME/.Xresources
> usermodmap=$HOME/.Xmodmap
> sysresources=/usr/local/lib/X11/xinit/.Xresources
> sysmodmap=/usr/local/lib/X11/xinit/.Xmodmap
>
> # merge in defaults and keymaps
>
> if [ -f $sysresources ]; then
>
>
>
>
>
>
>
>      xrdb -merge $sysresources
>
> fi
>
> if [ -f $sysmodmap ]; then
>      xmodmap $sysmodmap
> fi
>
> if [ -f "$userresources" ]; then
>
>
>
>
>
>
>
>      xrdb -merge "$userresources"
>
> fi
>
> if [ -f "$usermodmap" ]; then
>      xmodmap "$usermodmap"
> fi
>
> # start some nice programs
>
>
> if [ -d /usr/local/lib/X11/xinit/xinitrc.d ] ; then
> 	for f in /usr/local/lib/X11/xinit/xinitrc.d/*.sh ; do
> 		[ -x "$f" ] && . "$f"
> 	done
> 	unset f
> fi
>
> twm &
> xclock -geometry 50x50-1+1 &
> xterm -geometry 80x50+494+51 &
> xterm -geometry 80x20+494-0 &
> exec xterm -geometry 80x66+0+0 -name login
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing


-- 
~~ Ken Moore ~~
PC-BSD/iXsystems



More information about the Testing mailing list