Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

XFCE desktop didn't appear after preseed-installation.

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
busu_isl
Posts: 8
Joined: 2014-09-16 05:06

XFCE desktop didn't appear after preseed-installation.

#1 Post by busu_isl »

Hi,
I am trying to make it in preseed-installation,but a problem have occured.
I used
debian-7.6.0-amd64-xfce-CD-1.iso
,and my preseed.cfg is as follows.

Code: Select all

d-i debian-installer/language string en
d-i debian-installer/country string JP
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/supported-locales en_US.UTF-8
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i console-setup/charmap select UTF-8

d-i keyboard-configuration/layoutcode string jp
d-i keyboard-configuration/modelcode jp106

d-i    netcfg/dhcp_failed note
netcfg netcfg/dhcp_options select Do not configure the network at this time
d-i netcfg/hostname string debian

d-i hw-detect/load_firmware boolean false

d-i passwd/root-password-crypted password
$1$UyLwV0fw$xqXH3gqGV9nDQ00JSbqCb.
d-i passwd/user-fullname string gonbee
d-i passwd/username string gonbee
d-i passwd/user-password-crypted password $1$tUSPg776$g5Eqy57ZfRlsDrmlsokXs.

d-i clock-setup/utc boolean false
d-i time/zone string Japan

d-i partman-auto/init_automatically_partition select biggest_free
d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/expert_recipe string \
    boot-root :: \
        5000 1 6000 ext3 \
        $primary{ } $bootable{ } \
        method{ format } format{ } \
        use_filesystem{ } filesystem{ ext3 } \
        mountpoint{ / } \
                  .
partman-basicfilesystems partman-basicfilesystems/no_swap boolean false
d-i partman-partitioning/confirm_write_new_label boolean false
d-i partman/choose_partition select finish
d-i partman/confirm boolean false
d-i partman/confirm_nooverwrite boolean false
d-i partman/mount_style select uuid

d-i base-installer/kernel/image string linux-image-amd64

d-i apt-setup/use_mirror boolean false
d-i apt-setup/services-select multiselect security, updates
d-i apt-setup/security_host string security.debian.org

tasksel tasksel/first multiselect standard
tasksel tasksel/desktop multiselect xfce
popularity-contest popularity-contest/participate boolean false

d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string /dev/sda

d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/poweroff boolean true
A preseed-installation has succeeded,
but when I rebooted from the installed debian,
XFCE desktop didn't appear.
And the following message appeared.

Code: Select all

Debian GNU/Linux 7 debian tty1
debian login:
I logined as root,

Code: Select all

# startx
-bash: startx: command not found
# startx -- :1
-bash: startx: command not found
Either command didn't work.
And apt-get didn't work neither.

Code: Select all

root@debian:~# cat /etc/apt/sources.list
deb ftp://ftp.nara.wide.ad.jp/debian/ stable main 
#contrib non-free
deb-src ftp://ftp.nara.wide.ad.jp/debian/ stable main 
#contrib non-free
deb http://security.debian.org/ stable/updates main
deb http://security.debian.org wheezy/updates main 
#contrib non-free:
deb-src http://security.debian.org wheezy/updates main 
#contrib non-free
deb http://ftp.debian.org/debian/ wheezy main 
#contrib non-free

root@debian:~# apt-get install gdm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package gdm
root@debian:~# apt-get update
Err ftp://ftp.nara.wide.ad.jp stable Release.gpg
  Could not resolve 'ftp.nara.wide.ad.jp'
Err http://security.debian.org stable/updates Release.gpg
  Could not resolve 'security.debian.org'
Err http://security.debian.org wheezy/updates Release.gpg
  Could not resolve 'security.debian.org'
Err http://ftp.debian.org wheezy Release.gpg
  Could not resolve 'ftp.debian.org'
Reading package lists... Done
W: Failed to fetch ftp://ftp.nara.wide.ad.jp/debian/dists/stable/Release.gpg  Could not resolve 'ftp.nara.wide.ad.jp'

W: Failed to fetch http://security.debian.org/dists/stable/updates/Release.gpg  Could not resolve 'security.debian.org'

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release.gpg  Could not resolve 'security.debian.org'

W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy/Release.gpg  Could not resolve 'ftp.debian.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@debian:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
What should I add in my preseed.cfg?

And I used

Code: Select all

d-i netcfg/hostname string debian
in my preseed.cfg,but couldn't skip a question item
「Please enter the hostname for this system.
.....」
whose default input is 'debian'.
How should I do to skip this?

Thanks in advance.

User avatar
Ardouos
Posts: 1077
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: XFCE desktop didn't appear after preseed-installation.

#2 Post by Ardouos »

I will try my best here:

busu_isl wrote: tasksel tasksel/desktop multiselect xfce
Maybe put xfce4 here?
busu_isl wrote: root@debian:~# cat /etc/apt/sources.list
deb ftp://ftp.nara.wide.ad.jp/debian/ stable main
#contrib non-free
deb-src ftp://ftp.nara.wide.ad.jp/debian/ stable main
#contrib non-free
Here maybe change to ftp to http://, or use a different sources that are close to you.

Also:
busu_isl wrote: deb http://security.debian.org/ stable/updates main
deb http://security.debian.org wheezy/updates main
Both of these are the accessing the same sources as wheezy is stable, stick with one and delete the other.
Also "deb http://security.debian.org wheezy/updates main" should have a / between org and wheezy. So it looks like:

Code: Select all

deb http://security.debian.org/ wheezy/updates main 
Same for this:
busu_isl wrote: deb-src http://security.debian.org wheezy/updates main
busu_isl wrote: deb http://ftp.debian.org/debian/ wheezy main
I do not think this is pointing anywhere? I think there should be something inbetween ftp. and debian e.g:

Code: Select all

deb http://ftp.jp.debian.org/debian/ wheezy main  
If you are in Japan.

I am limited for time so that is all I can think of for now.
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

busu_isl
Posts: 8
Joined: 2014-09-16 05:06

Re: XFCE desktop didn't appear after preseed-installation.

#3 Post by busu_isl »

Thank you for your help in limited time,Ardouos.
I succeeded in preseed-installation.

The situation after the first installation is like this,

Code: Select all

root@debian:~# iceweasel
bash: iceweasel: command not found
root@debian:~# icedove
bash: icedove: command not found
root@debian:~# mousepad
bash: mousepad: command not found
root@debian:~# libreoffice
bash: libreoffice: command not found
root@debian:~# gparted
bash: gparted: command not found
root@debian:~# df /
Filesystem                       1K-blocks   Used Available Use% Mounted on
/dev/disk/by-uuid/-omitted-        7722696 669904   6660500  10% /
So I guessed that the point is in these two lines.

Code: Select all

tasksel tasksel/first multiselect standard
tasksel tasksel/desktop multiselect xfce
I checked the file generated from

Code: Select all

$ debconf-get-selections --installer > file
$ debconf-get-selections >> file
,with this reference I modified the two lines into

Code: Select all

tasksel tasksel/first multiselect desktop, standard
d-i tasksel/first multiselect Debian desktop environment, Standard system utilities
tasksel tasksel/desktop string xfce
Then I succeeded in the installation.
When I rebooted,I used the same sources.list as before,

Code: Select all

# apt-get update
# apt-get upgrade
Both were successful.

But still, menu bar on the top of the desktop,launcher on the bottom of the desktop don't appear.
These are tasks to be done from now.

User avatar
Ardouos
Posts: 1077
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: XFCE desktop didn't appear after preseed-installation.

#4 Post by Ardouos »

Nice to know that it is starting to work out for you.
busu_isl wrote: But still, menu bar on the top of the desktop,launcher on the bottom of the desktop don't appear.
These are tasks to be done from now.
You mean the panels? You can input them in manually; unless there is a line you can put into the preseed script to set up the default config instead of a blank desktop.
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

busu_isl
Posts: 8
Joined: 2014-09-16 05:06

Re: XFCE desktop didn't appear after preseed-installation.

#5 Post by busu_isl »

Thank you for your help,Ardouos.
Ardouos wrote:
busu_isl wrote: But still, menu bar on the top of the desktop,launcher on the bottom of the desktop don't appear.
These are tasks to be done from now.
You mean the panels? You can input them in manually; unless there is a line you can put into the preseed script to set up the default config instead of a blank desktop.
I didn't know the term.
Probably they are the panels.

I want for the panels to start when login.
I've done the setting,but the panels don't appear.

Code: Select all

$ xfce4-panel 
xfce4-panel: There is already a running instance

$ cat /home/gonbee/.bash_profile/.bashrc
if [ "$(tty)" = "/dev/tty1" -o "$(tty)" = "/dev/vc/1" ] ; then
  xfce4-panel
fi
Still it needs further setting.

User avatar
Ardouos
Posts: 1077
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: XFCE desktop didn't appear after preseed-installation.

#6 Post by Ardouos »

busu_isl wrote:
I want for the panels to start when login.
I've done the setting,but the panels don't appear.
It is running but no panels have been created, you need to create them... You can do this in the system settings.

Xfce generally asks about creating default panels on first login.
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

busu_isl
Posts: 8
Joined: 2014-09-16 05:06

Re: XFCE desktop didn't appear after preseed-installation.

#7 Post by busu_isl »

Thank you for your help,Ardouos.

I couldn't make xfce4-panel appear manually,
so by adding the following line in the preseed.cfg,

Code: Select all

d-i pkgsel/include string xfce4-panel
the panel appeared after the installation.

However,I coudn't preseed the question item about keyboard.

Code: Select all

d-i keymap select jp
d-i keyboard-configuration/layoutcode string jp
d-i keyboard-configuration/modelcode jp106
These three lines wasn't enough.
Maybe replacing them by the following line would make the question item be skipped.

Code: Select all

d-i keymap skip-config
I'll try further.

busu_isl
Posts: 8
Joined: 2014-09-16 05:06

Re: XFCE desktop didn't appear after preseed-installation.

#8 Post by busu_isl »

I succeeded in skipping the question item about keyboard layout.
Thank you so much for your help,Ardouos.

Code: Select all

d-i keyboard-configuration/layout	select
d-i keyboard-configuration/unsupported_options boolean true
d-i keyboard-configuration/modelcode string pc105
#d-i keyboard-configuration/toggle	select No toggling
d-i keyboard-configuration/layoutcode	string jp
d-i keyboard-configuration/xkb-keymap	select jp
keyboard-configuration	keyboard-configuration/xkb-keymap	select jp
d-i keyboard-configuration/variant select Japanese
keyboard-configuration	keyboard-configuration/variant select Japanese
d-i keyboard-configuration/unsupported_config_layout boolean true
#keyboard-configuration	keyboard-configuration/layout	select
d-i keyboard-configuration/altgr select The default for the keyboard layout
d-i keyboard-configuration/model select Generic 105-key (Intl) PC
keyboard-configuration	keyboard-configuration/model select Generic 105-key (Intl) PC
But another problem lodges.
http://forums.debian.net/viewtopic.php?f=17&t=117667

Post Reply