Skip to main content
Corrected formatting and added 'xorg'-tag.
Source Link
Anthon
  • 81.4k
  • 42
  • 174
  • 228

I'm trying to build an info display (or Digital Signage Monitor) with Raspberry Pi running Raspbian (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding Shift-+Alt-+Fn combination. Otherwise Iceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab). After login (in /home/pi/.bash_profile) I start two X servers, depending on the terminal I am on. Here's the code in .bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or WLAN config. This works so far, the only problem is that sometimes Iceweasel starts is displayed and sometimes the config GUI. The :0 or :1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts.

I'm trying to build an info display (or Digital Signage Monitor) with Raspberry Pi running Raspbian (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding Shift-Alt-Fn combination. Otherwise Iceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab). After login (in /home/pi/.bash_profile) I start two X servers, depending on the terminal I am on. Here's the code in .bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or WLAN config. This works so far, the only problem is that sometimes Iceweasel starts is displayed and sometimes the config GUI. The :0 or :1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts.

I'm trying to build an info display (or Digital Signage Monitor) with Raspberry Pi running Raspbian (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding Shift+Alt+Fn combination. Otherwise Iceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab). After login (in /home/pi/.bash_profile) I start two X servers, depending on the terminal I am on. Here's the code in .bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or WLAN config. This works so far, the only problem is that sometimes Iceweasel starts is displayed and sometimes the config GUI. The :0 or :1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts.

Corrected formatting and added 'xorg'-tag.
Source Link

I'm trying to build an Info-Displayinfo display (or Digital Signage Monitor) with a Raspberry Pi running Raspbian in terminal (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding StrgShift-AltAlt-FxFn combination. Otherwise iceweaselIceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab/etc/inittab). After login (in /home/pi/.bash_profile/home/pi/.bash_profile) I start two xX servers, depending on the terminal I am on. Here's the code in .bash_profile.bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or Wlan ConfigWLAN config. This works so far, the only problem is, that sometimes Iceweasel starts is displayed and sometimes the Configconfig GUI. The :0:0 or :1:1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts.

I'm trying to build an Info-Display (or Digital Signage Monitor) with a Raspberry Pi running Raspbian in terminal (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding Strg-Alt-Fx combination. Otherwise iceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab). After login (in /home/pi/.bash_profile) I start two x servers, depending on the terminal I am on. Here's the code in .bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or Wlan Config. This works so far, the only problem is, that sometimes Iceweasel starts is displayed and sometimes the Config GUI. The :0 or :1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts.

I'm trying to build an info display (or Digital Signage Monitor) with Raspberry Pi running Raspbian (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding Shift-Alt-Fn combination. Otherwise Iceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab). After login (in /home/pi/.bash_profile) I start two X servers, depending on the terminal I am on. Here's the code in .bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or WLAN config. This works so far, the only problem is that sometimes Iceweasel starts is displayed and sometimes the config GUI. The :0 or :1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts.

Corrections to assumptions. It has nothing to do with which is first, though this may be a cause.
Source Link
Zelda
  • 6.4k
  • 1
  • 24
  • 28

I'm trying to build an Info-Display (or Digital Signage Monitor) with a Raspberry Pi running Raspbian in terminal (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding Strg-Alt-Fx combination. Otherwise iceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab). After login (in /home/pi/.bash_profile) I start two x servers, depending on the terminal I am on. Here's the code in .bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or Wlan Config. This works so far, the only problem is, that sometimes Iceweasel starts is displayed and sometimes the Config GUI. The :0 or :1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts. I hope someone understands the issue and is able to help me out...

Thanks in advance,

Markus (from Germany)

I'm trying to build an Info-Display (or Digital Signage Monitor) with a Raspberry Pi running Raspbian in terminal (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding Strg-Alt-Fx combination. Otherwise iceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab). After login (in /home/pi/.bash_profile) I start two x servers, depending on the terminal I am on. Here's the code in .bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or Wlan Config. This works so far, the only problem is, that sometimes Iceweasel starts is displayed and sometimes the Config GUI. The :0 or :1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts. I hope someone understands the issue and is able to help me out...

Thanks in advance,

Markus (from Germany)

I'm trying to build an Info-Display (or Digital Signage Monitor) with a Raspberry Pi running Raspbian in terminal (so a Debian distro). I need to start two X servers, where one is showing the content (through Iceweasel) and the other is an optional WLAN configuration GUI. The latter should only be shown after pressing the corresponding Strg-Alt-Fx combination. Otherwise iceweasel should ALWAYS be displayed.

I have two simple scripts starting Iceweasel and the WLAN config. On boot, I log user Pi into terminals tty1 and tty2 (in /etc/inittab). After login (in /home/pi/.bash_profile) I start two x servers, depending on the terminal I am on. Here's the code in .bash_profile:

if [ $(tty) == /dev/tty1 ]; then
startx /home/pi/scripts/autostart -- :0
fi

if [ $(tty) == /dev/tty2 ]; then
startx /home/pi/scripts/wlanconfig -- :1
fi

I want to have two virtual desktops without a window manager showing only Iceweasel or Wlan Config. This works so far, the only problem is, that sometimes Iceweasel starts is displayed and sometimes the Config GUI. The :0 or :1 argument obviously doesn't influence the start priority. I need Iceweasel to always be displayed.

I am an experienced Windows user, but have my problems understanding some of the Linux concepts.

Corrections to assumptions. It has nothing to do with which is first, though this may be a cause.
Source Link
Loading
Post Migrated Here from serverfault.com (revisions)
Source Link
Markus
Markus
Loading