Update 19.01
Today I managed to boot from iso disk onto xfce in under 1 hours. New record for me.
If setting locals where no problem, it would work out of the box.
This time i used pkg install.
It was alott faster then portsnap.
I have yet to manage to set correct locals or samba server. But today I made primary computher dual boot with freebsd on one hdd and windows 8 on another hdd. I use bios to change which system to boot.
16.01
Old hard disk fails. Had xorg with xfce4 working. Even managed xrdp and remote desktop connection. How hard can it be to reinstall FreeBSD with xfce on a new hard disk?
Intel E8400, 4 GB ram. New 2 TB hard disk.
**********************************
Possible faults in FreeBSD handbook
Nr1:
6.8 Desktop environments
Does not work. Changing to gnome3 makes it work.
*****************************************
16.01.
Boot from ISO. Base installation.
17.01
BLACK Screen.
Reading handbook https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config-quick-start.html
Ctrl-alt-del.
Black screen.
Ctrl-alt-del.
Check that screen uses the PCI card1. Done.
Rename /root/xorg.conf.new -> /root/xorg.conf
Black screen.
Ctrl-alt-del.
Does hald and dbus really work I wonder.
Service hald must be enabled in rc.d ................... !!!!
FreeBSD handbook says rc.conf.
Did I do something wrong in configuration in the make process? Must on activity click to get hald and dbus?
Doesn't get all the configurations. It is computing again but don't interrupt for questions.
/usr/ports/sysutilities
I see hal, but no hald.
Hal = hald. But something seems wrong, can't start the service.
Trying to install Gnome with
Fail to find gnome2
(Handbook seems wrong)
Let's be creative, changing 2 to 3.
Yes, gnome3 packet start installing.
Hurrah. After installing gnome3 with
Now
Some hours later.
With non root user:
Normal user now has access to xfce : )
Maybe something got cleaned out earlier when removing dependency. It helps to rebuild xfce.
Current goal be able to leave xfce4, troublesome to restart every time one wants to go to tty1.
Update
By adding
to /boot/loader.conf.
I can now switch between xfce and tty
Current goal :
Reaserch if xorg.conf is needed. Only uses .xinitrc right now.
X -configure that makes the xorg.conf.new is broken in freeebsed 10 from reading on forum. I am no expert, but it id not work for me either.
Moving on to samba server.
Trying to folow the guide, http://christopherve7alb.blogspot.no/2013/11/installing-samba-4-on-freebsd.html
It seems well written, at it does not pretend that it will work "Make install clean" (like the freebsd handbook does. This guide tell what error that will come, and what to do)
Arg, this is pain. I am very frustrated. I have not writen close to all the tings I have read, and tryed. I am almost considering giving up. But on the bright side, progress have benn made to day. (xfce4 working, and switching between xfce and tty)
Some progress also with samba. Samba4 is installed.
But so fare I dont know how to share a folder, or to know if is it is running.
***********
Slow progress with samba. Much information on the net about samba 3.X. Less about 4.x. Any body have a linke to a simple guide for setting up samba. Until I find some good ideas for how to do it, I am going to try setting up good old ftp.
Might that to the same? I want to have the freebsd as a fileserver for windows pc.
**************
A real easy way to filshare : )
Freebsd comes with built in ftpd server.
/etc/rc.conf
Not many clicks. Excellent guide in the freebsd handbook on ftp server subject.
In windows 8, map ftp network share. I can now drag and drop files between my windows and freebsd server (I want to set up a desktop system to get to learn the freebsd system, and have terminal server functionality)
Also this is my first post where i might have used the file, code formation correct. I have had some friendly but determined contact from site admin. I hope I learn to use the correct layout her as well.
As happy as I am with ftp access, any new user friendly step, buy step guide to get samba4 sharing a folder for windows pc?
**************************
I got xrdp working again, i have terminal l server : )
Excellent guide at : http://w.vmeta.jp/tdiary/20131015.html
I installed
xrdp and x11rdp
For hours it would not work. I would only get a connection to the xrdp but, not get throug to xfce. I enabled tighervnc also. Dont know if that helped. Installed xvnc.
/var/log/xrdp-sesman.log
************************************
18.01.
Server is now placed in seperat room.
Todo
Nr1 : Get nb_NO.UTF-8 or similar to work in Xfce xrdp session.
Nr2: Get samba working.
Nr3: (Find another old pc and try to get it up and running, with a webserver)
In local session on the server i type
The same command does not work in remote session.
******************************************
Yes, new progress.
xrdp with x11rdp does not accept the
but xrdp + tigervnc/xvnc? (sesman-xnvc choise from windows side) does accept the
Today I managed to boot from iso disk onto xfce in under 1 hours. New record for me.
If setting locals where no problem, it would work out of the box.
This time i used pkg install.
It was alott faster then portsnap.
I have yet to manage to set correct locals or samba server. But today I made primary computher dual boot with freebsd on one hdd and windows 8 on another hdd. I use bios to change which system to boot.
16.01
Old hard disk fails. Had xorg with xfce4 working. Even managed xrdp and remote desktop connection. How hard can it be to reinstall FreeBSD with xfce on a new hard disk?
Intel E8400, 4 GB ram. New 2 TB hard disk.
**********************************
Possible faults in FreeBSD handbook
Nr1:
6.8 Desktop environments
pkg install gnome2Does not work. Changing to gnome3 makes it work.
*****************************************
16.01.
Boot from ISO. Base installation.
17.01
Code:
portnsap fetch extract
cd /usr/ports/x11/xorg
make clean install
portsnap fetch update
cd /usr/ports/x11-wm/xfce4
make clean install
startx
Reading handbook https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config-quick-start.html
nano /etc/rc.conf
Code:
enable_hald="YES"
enable_dbus="YES"
Ctrl-alt-del.
startxBlack screen.
Ctrl-alt-del.
nano /root/xorg.conf.newCheck that screen uses the PCI card1. Done.
Rename /root/xorg.conf.new -> /root/xorg.conf
startxBlack screen.
Ctrl-alt-del.
Does hald and dbus really work I wonder.
service hald startService hald must be enabled in rc.d ................... !!!!
FreeBSD handbook says rc.conf.
Did I do something wrong in configuration in the make process? Must on activity click to get hald and dbus?
Code:
cd /usr/ports/x11/xorg
pkg remove xorg-server
make clean
make clean-dependencies
make install clean
/usr/ports/sysutilities
I see hal, but no hald.
Hal = hald. But something seems wrong, can't start the service.
Trying to install Gnome with
pkg, might that give me hal since it from Gnome. pkg install gnome2Fail to find gnome2
(Handbook seems wrong)
Let's be creative, changing 2 to 3.
Yes, gnome3 packet start installing.
Hurrah. After installing gnome3 with
pkg. I now have hald and dbus.Now
service hald start, start the hald service : )Some hours later.
With non root user:
startx works : ) cd /usr/ports/x11-wm/xfce4 make clean installNormal user now has access to xfce : )
Maybe something got cleaned out earlier when removing dependency. It helps to rebuild xfce.
Current goal be able to leave xfce4, troublesome to restart every time one wants to go to tty1.
Update
By adding
Code:
kern.vty=vt
I can now switch between xfce and tty
Current goal :
Reaserch if xorg.conf is needed. Only uses .xinitrc right now.
X -configure that makes the xorg.conf.new is broken in freeebsed 10 from reading on forum. I am no expert, but it id not work for me either.
Moving on to samba server.
Trying to folow the guide, http://christopherve7alb.blogspot.no/2013/11/installing-samba-4-on-freebsd.html
It seems well written, at it does not pretend that it will work "Make install clean" (like the freebsd handbook does. This guide tell what error that will come, and what to do)
Arg, this is pain. I am very frustrated. I have not writen close to all the tings I have read, and tryed. I am almost considering giving up. But on the bright side, progress have benn made to day. (xfce4 working, and switching between xfce and tty)
Some progress also with samba. Samba4 is installed.
But so fare I dont know how to share a folder, or to know if is it is running.
***********
Slow progress with samba. Much information on the net about samba 3.X. Less about 4.x. Any body have a linke to a simple guide for setting up samba. Until I find some good ideas for how to do it, I am going to try setting up good old ftp.
Might that to the same? I want to have the freebsd as a fileserver for windows pc.
**************
A real easy way to filshare : )
Freebsd comes with built in ftpd server.
/etc/rc.conf
Code:
ftpd_enable="yes"
Not many clicks. Excellent guide in the freebsd handbook on ftp server subject.
In windows 8, map ftp network share. I can now drag and drop files between my windows and freebsd server (I want to set up a desktop system to get to learn the freebsd system, and have terminal server functionality)
Also this is my first post where i might have used the file, code formation correct. I have had some friendly but determined contact from site admin. I hope I learn to use the correct layout her as well.
As happy as I am with ftp access, any new user friendly step, buy step guide to get samba4 sharing a folder for windows pc?
**************************
I got xrdp working again, i have terminal l server : )
Excellent guide at : http://w.vmeta.jp/tdiary/20131015.html
I installed
xrdp and x11rdp
For hours it would not work. I would only get a connection to the xrdp but, not get throug to xfce. I enabled tighervnc also. Dont know if that helped. Installed xvnc.
Code:
cd /usr/ports/net/xrdp
Code:
make rmconfig
make clean install
make reinstall
Code:
[20150118-07:26:29] [WARN ] [init:45] libscp initialized
[20150118-07:26:29] [CORE ] starting sesman with pid 577
[20150118-07:26:29] [INFO ] listening...
[20150118-07:26:31] [WARN ] receiving SIGHUP 1
[20150118-07:26:31] [CORE ] shutting down log subsystem...
[20150118-07:26:31] [INFO ] configuration reloaded, log subsystem restarted
#That was before conection
[20150118-07:28:00] [INFO ] scp thread on sck 7 started successfully
[20150118-07:28:00] [INFO ] ++ created session (access granted): username XXX, i$
[20150118-07:28:00] [INFO ] starting X11rdp session...
[20150118-07:28:00] [INFO ] starting xrdp-sessvc - xpid=808 - wmpid=807
[20150118-07:28:30] [INFO ] starting xrdp-sessvc - xpid=908 - wmpid=907
************************************
18.01.
Server is now placed in seperat room.
Todo
Nr1 : Get nb_NO.UTF-8 or similar to work in Xfce xrdp session.
Nr2: Get samba working.
Nr3: (Find another old pc and try to get it up and running, with a webserver)
In local session on the server i type
Code:
setxkbmap no
******************************************
Yes, new progress.
xrdp with x11rdp does not accept the
Code:
setxkbmap no
Code:
setxkbmap no
Last edited: