Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Default level 4 - KDE umesto Gnome

[es] :: Linux :: Default level 4 - KDE umesto Gnome

[ Pregleda: 1613 | Odgovora: 18 ]

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

pirgos_madden
Pirgos Madden
Pirot

Član broj: 16752
Poruke: 322
195.252.107.*

Jabber: Programing
Sajt: www.pirot-mafia.co.sr


Profil

icon Default level 4 - KDE umesto Gnome10.08.2004. u 16:53

Kad u inittab-u namestim level-3 i po logovanju pokrenem X - System pokrene se KDE (to sam uostalom podesio jos u toku instalacije). Medjutim sa default level - 4 pokrene se X bez moje komande startx ali ne KDE vec Gnome. Kako mogu da podesim da se odmah pokrece KDE u default level-u 4?
-I srusise se nasi divni snovi !!!
-NATO is bombing Serbia, a Yugoslavian republic, to stop the Serbs from forcing ethnic Albanians from Kosovo. Serb supporters sock it to NATO, U.S. Web sites. Magis says NATO headquarters won't launch an electronic counterstrike. "We want to show we're more civilized," he says. "We believe in freedom of speech." NATO is even discussing the possibility of hosting Serbian information on the Web so the Serbs can share their views.
10.08.2004. u 16:53 

VRider
Marković Damir
(BGD/SD Karaburma)/Pirot

Član broj: 1510
Poruke: 4129
212.200.53.*

Jabber: damirm | gmail | com
ICQ: 134002435


Profil

icon Re: Default level 4 - KDE umesto Gnome10.08.2004. u 17:41
Nisi instalirao kdm ili gdm. Oni nude i biranje sesije. xdm (koji verovatno koristis) samo cita konf fajlove.
http://www.tuxfiles.org/linuxhelp/changeman.html
10.08.2004. u 17:41 

pirgos_madden
Pirgos Madden
Pirot

Član broj: 16752
Poruke: 322
*.107.231.142.ptr.us.xo.net

Jabber: Programing
Sajt: www.pirot-mafia.co.sr


Profil

icon Re: Default level 4 - KDE umesto Gnome11.08.2004. u 00:47
Citat:

If you have a graphical login and have xdm as your display manager, you may also be wondering how to change the default window manager because xdm doesn't provide a way of choosing your window manager when you log in. You'll have to edit a text file just like in the case of editing the .xinitrc file, but this time you need to edit a file called .xsession.


Zar oni ne kazu da, naprotiv, ako imam xdm mogu na opisan nacin da ga podesim da pokrece sta ja hocu. Pise i:

Citat:

. . . . if the file isn't already in your home directory, just create it.


Medjutim to ne radi, napravio sam taj fajl i u njega upisao
Code:

exec startkde


ali on ponovo pokrece Gnome.


-I srusise se nasi divni snovi !!!
-NATO is bombing Serbia, a Yugoslavian republic, to stop the Serbs from forcing ethnic Albanians from Kosovo. Serb supporters sock it to NATO, U.S. Web sites. Magis says NATO headquarters won't launch an electronic counterstrike. "We want to show we're more civilized," he says. "We believe in freedom of speech." NATO is even discussing the possibility of hosting Serbian information on the Web so the Serbs can share their views.
11.08.2004. u 00:47 

VRider
Marković Damir
(BGD/SD Karaburma)/Pirot

Član broj: 1510
Poruke: 4129
212.200.53.*

Jabber: damirm | gmail | com
ICQ: 134002435


Profil

icon Re: Default level 4 - KDE umesto Gnome11.08.2004. u 02:12
U folderu /etc/X11/xinit treba da postavis link xinitrc ka odgovarajucem fajlu (xinitrc.kde).
Glupi Slack.
11.08.2004. u 02:12 

tarla
Marinko Tarlać

Član broj: 15527
Poruke: 1276
*.teol.net

Sajt: www.mangiaphoto.com


Profil

icon Re: Default level 4 - KDE umesto Gnome11.08.2004. u 10:30
jeste vi culi za komandu xwmconfig u konzoli?

e sad jeste
11.08.2004. u 10:30 

pirgos_madden
Pirgos Madden
Pirot

Član broj: 16752
Poruke: 322
*.107.231.142.ptr.us.xo.net

Jabber: Programing
Sajt: www.pirot-mafia.co.sr


Profil

icon Re: Default level 4 - KDE umesto Gnome11.08.2004. u 13:32
Citat:
VRider: U folderu /etc/X11/xinit treba da postavis link xinitrc ka odgovarajucem fajlu (xinitrc.kde).
Glupi Slack. :)


Pogledao sam i video da je xinitrc vec linkovan na xinitrc.kde.

Citat:
tarla:jeste vi culi za komandu xwmconfig u konzoli?

e sad jeste


I ovde je selektovan KDE. Ne znam da li me dobro razumete - kad ucukam startx uredno se pokrene KDE ali ja hocu da se to desava i kad se automatski ucitava graficki login.
-I srusise se nasi divni snovi !!!
-NATO is bombing Serbia, a Yugoslavian republic, to stop the Serbs from forcing ethnic Albanians from Kosovo. Serb supporters sock it to NATO, U.S. Web sites. Magis says NATO headquarters won't launch an electronic counterstrike. "We want to show we're more civilized," he says. "We believe in freedom of speech." NATO is even discussing the possibility of hosting Serbian information on the Web so the Serbs can share their views.
11.08.2004. u 13:32 

Jbyn4e
Admin/Developer, Yunix
Zrenjanin - Beograd

Član broj: 422
Poruke: 3077
*.sbb.co.yu

ICQ: 10450578
Sajt: bio sf.co.yu


Profil

icon Re: Default level 4 - KDE umesto Gnome11.08.2004. u 13:45
Suse to nema:
Citat:

# xwmconfig
-bash: xwmconfig: command not found

dakle, komanda zavisi od ditribucije.
11.08.2004. u 13:45 

tarla
Marinko Tarlać

Član broj: 15527
Poruke: 1276
*.teol.net

Sajt: www.mangiaphoto.com


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 00:26
hm ja imam slack 10 i podesio sam na graficki login ali pri loginu imam opciju dole lijevo da odaberem sta ce se podici ( KDE ,Gnome, xfce,..) o kojem se slacku radi?
ja sam koristio i 9.1 ali nisam postavljao graficki login tako da ne znam da li radi.

vec ako ti se podigne gnome pogledaj malo po podesavanjima da nema tamo nesto.
12.08.2004. u 00:26 

Bager
Aleksandar Vuković
Budva, Podgorica

Član broj: 4813
Poruke: 147
*.crnagora.net.

ICQ: 119208214


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 02:01
/etc/rc.d/rc.4 redom trazi session managere, prvo gdm, ako nema, onda kdm itd. Mozda se tu krije problem
Code:
# Try to use GNOME's gdm session manager:
if [ -x /usr/bin/gdm ]; then
  exec /usr/bin/gdm -nodaemon
fi

# Not there?  OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
  exec /opt/kde/bin/kdm -nodaemon
fi

# If all you have is XDM, I guess it will have to do:
if [ -x /usr/X11R6/bin/xdm ]; then
  exec /usr/X11R6/bin/xdm -nodaemon
fi
12.08.2004. u 02:01 

VRider
Marković Damir
(BGD/SD Karaburma)/Pirot

Član broj: 1510
Poruke: 4129
212.200.53.*

Jabber: damirm | gmail | com
ICQ: 134002435


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 04:22
Nije u tome problem, vec kad se xdm podigne, gde on gleda sta da pokrene.
12.08.2004. u 04:22 

Jbyn4e
Admin/Developer, Yunix
Zrenjanin - Beograd

Član broj: 422
Poruke: 3077
*.sbb.co.yu

ICQ: 10450578
Sajt: bio sf.co.yu


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 10:08
kod Suse-a u fajlu:
/etc/X11/xinit/xinitrc
imas nesto ovako:
Citat:

if test -n "$WINDOWMANAGER" ; then
WINDOWMANAGER=`type -p $WINDOWMANAGER`
fi
if test -z "$WINDOWMANAGER" ; then
if test -x /usr/X11R6/bin/kde ; then
WINDOWMANAGER=/usr/X11R6/bin/kde
elif test -x /usr/X11R6/bin/startkde ; then
WINDOWMANAGER=/usr/X11R6/bin/startkde
elif test -x /usr/X11R6/bin/fvwm2 ; then
WINDOWMANAGER=/usr/X11R6/bin/fvwm2
elif test -x /usr/X11R6/bin/wmlist ; then
for i in `/usr/X11R6/bin/wmlist` ; do
WINDOWMANAGER=`type -p $i`
test -n "$WINDOWMANAGER" && break
done
elif test -x /usr/X11R6/bin/twm ; then
WINDOWMANAGER=/usr/X11R6/bin/twm
fi
fi

mislim (ali nisam siguran) da ovo odredjuje default manager

P.S. Pogledaj /etc/X11 i /var/X11R6 direktorijume, tu je negde...
12.08.2004. u 10:08 

pirgos_madden
Pirgos Madden
Pirot

Član broj: 16752
Poruke: 322
*.107.231.142.ptr.us.xo.net

Jabber: Programing
Sajt: www.pirot-mafia.co.sr


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 13:04
Citat:
tarla: hm ja imam slack 10 i podesio sam na graficki login ali pri loginu imam opciju dole lijevo da odaberem sta ce se podici ( KDE ,Gnome, xfce,..) o kojem se slacku radi?
ja sam koristio i 9.1 ali nisam postavljao graficki login tako da ne znam da li radi.

vec ako ti se podigne gnome pogledaj malo po podesavanjima da nema tamo nesto.



I ja imam Slack 10. Kako si to uradio?
-I srusise se nasi divni snovi !!!
-NATO is bombing Serbia, a Yugoslavian republic, to stop the Serbs from forcing ethnic Albanians from Kosovo. Serb supporters sock it to NATO, U.S. Web sites. Magis says NATO headquarters won't launch an electronic counterstrike. "We want to show we're more civilized," he says. "We believe in freedom of speech." NATO is even discussing the possibility of hosting Serbian information on the Web so the Serbs can share their views.
12.08.2004. u 13:04 

pirgos_madden
Pirgos Madden
Pirot

Član broj: 16752
Poruke: 322
*.107.231.142.ptr.us.xo.net

Jabber: Programing
Sajt: www.pirot-mafia.co.sr


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 13:13
Citat:
mislim (ali nisam siguran) da ovo odredjuje default manager

P.S. Pogledaj /etc/X11 i /var/X11R6 direktorijume, tu je negde...


Nasao sam taj fajl u /var/X11R6/lib/xinit/xinitrc i u njemu je stavljen da se pokrece KDE

Code:

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/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 the window manager:
startkde

-I srusise se nasi divni snovi !!!
-NATO is bombing Serbia, a Yugoslavian republic, to stop the Serbs from forcing ethnic Albanians from Kosovo. Serb supporters sock it to NATO, U.S. Web sites. Magis says NATO headquarters won't launch an electronic counterstrike. "We want to show we're more civilized," he says. "We believe in freedom of speech." NATO is even discussing the possibility of hosting Serbian information on the Web so the Serbs can share their views.
12.08.2004. u 13:13 

pirgos_madden
Pirgos Madden
Pirot

Član broj: 16752
Poruke: 322
*.107.231.142.ptr.us.xo.net

Jabber: Programing
Sajt: www.pirot-mafia.co.sr


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 13:33
E ok je sad, inace hvala svima! Palo mi je u oci ono sto je rekao tarla:

Citat:
pri loginu imam opciju dole lijevo da odaberem sta ce se podici ( KDE ,Gnome, xfce,..)


Da, da, stvarno ima opcija dole levo (je... ga nisam je uocio do sad - ustvari jesam ali mi nije palo na pamet da pogledam sta je) i odatle se moze izabrati KDE, Gnome i td. i kad se izabere ponudi mi da ga stavi kao Default tako da ne mora svaki put da se cacka. Dakle jos jednom hvala svima, da sam samo bolje pogledao........ne bi se mucili.
-I srusise se nasi divni snovi !!!
-NATO is bombing Serbia, a Yugoslavian republic, to stop the Serbs from forcing ethnic Albanians from Kosovo. Serb supporters sock it to NATO, U.S. Web sites. Magis says NATO headquarters won't launch an electronic counterstrike. "We want to show we're more civilized," he says. "We believe in freedom of speech." NATO is even discussing the possibility of hosting Serbian information on the Web so the Serbs can share their views.
12.08.2004. u 13:33 

Jbyn4e
Admin/Developer, Yunix
Zrenjanin - Beograd

Član broj: 422
Poruke: 3077
*.sbb.co.yu

ICQ: 10450578
Sajt: bio sf.co.yu


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 13:44
Pazi 'vako: pri dizanju ove moje masine u init 5 (init 4 kod suse-a se ne koristi) on podize poslednje xdm. xdm u /etc/init.d direktorijumu ima sledecu liniju:
. /etc/sysconfig/displaymanager
a taj fajl ima direktive:
DISPLAYMANAGER="kdm"
DISPLAYMANAGER_STARTS_XSERVER="yes"
Dalje, xdm ima linije:
Citat:

KDEROOTHOME=/root/.kdm
export KDEROOTHOME

case "$DISPLAYMANAGER" in
kdm|kde|KDM|KDE) PIDFILE="-p /var/run/xdm.pid"
DISPLAYMANAGER=/opt/kde3/bin/kdm ;;
xdm) DISPLAYMANAGER=/usr/X11R6/bin/xdm ;;
gdm|GDM|Gnome|GNOME) DISPLAYMANAGER=/opt/gnome/bin/gdm ;;
wdm|WDM) DISPLAYMANAGER=/usr/X11R6/bin/wdm ;;
console) exit 0 ;;
*) DISPLAYMANAGER=/usr/X11R6/bin/xdm
test -x /opt/kde3/bin/kdm && \
DISPLAYMANAGER=/opt/kde3/bin/kdm ;;
esac
test ! -x "$DISPLAYMANAGER" && DISPLAYMANAGER=/usr/X11R6/bin/xdm

DM=${DISPLAYMANAGER##*/}

Pa proveri kako je to tu kod tebe - mozeda ti je stavljen displaymanager na gdm?
12.08.2004. u 13:44 

Jbyn4e
Admin/Developer, Yunix
Zrenjanin - Beograd

Član broj: 422
Poruke: 3077
*.sbb.co.yu

ICQ: 10450578
Sajt: bio sf.co.yu


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 13:46
E sad tek vidim sta si napisao.. no dobro. bar da probam da li radi ovaj "cheat" na firefox-u da dolazim sa XP-a :)
12.08.2004. u 13:46 

VRider
Marković Damir
(BGD/SD Karaburma)/Pirot

Član broj: 1510
Poruke: 4129
212.200.53.*

Jabber: damirm | gmail | com
ICQ: 134002435


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 15:58
Citat:
Da, da, stvarno ima opcija dole levo (je... ga nisam je uocio do sad - ustvari jesam ali mi nije palo na pamet da pogledam sta je) i odatle se moze izabrati KDE, Gnome i td.

Pavlovicu, krajnje je vreme da odes na odmor....
12.08.2004. u 15:58 

random
Vladimir Vrzić
Senior Software Engineer, Vast.com
Stari Cerak

Tehnički konsultant
Član broj: 85
Poruke: 3846
*.f.bg.ac.yu

Sajt: www.last.fm/user/vrza


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 17:17
I KDM i GDM i XDM bi trebalo da poštuju ~/.xsession

$ echo exec startkde > ~/.xsession
int rand(void);

Those who do not understand Unix are condemned to reinvent it, poorly.

Upali lampicu — koristi Jabber!
12.08.2004. u 17:17 

VRider
Marković Damir
(BGD/SD Karaburma)/Pirot

Član broj: 1510
Poruke: 4129
212.200.53.*

Jabber: damirm | gmail | com
ICQ: 134002435


Profil

icon Re: Default level 4 - KDE umesto Gnome12.08.2004. u 18:05
Code:

# These files (if they exist) are used to set up the X related environment.  We used to
# exec .xsession at this location, but that can interfere with choosing a session type
# through XDM/KDM/GDM so it was moved to after a requested session is started.  Since
# that means that .xsession might never be run at all when using XDM/KDM/GDM, support
# for the xprofile was added to allow a way for the user to customize the X environment.
if [ -r /etc/xprofile ]; then
    source /etc/xprofile
fi
if [ -r ~/.xprofile ]; then
    source ~/.xprofile
fi

# [b]Some people say that an .xsession file should always be given priority, even if a
# different window manager was requested in $1[/b].  If you want that behavior, uncomment
# the lines below.  This is not recommended (nor, in general, is the use of an
# .xsession file as a default... it should be left for the advanced users).
#if [ -x $HOME/.xsession ]; then
#        exec $HOME/.xsession $@
#fi

Kao sto vidis, Random, ovi koji prave Slack misle drugacije.
12.08.2004. u 18:05 

[es] :: Linux :: Default level 4 - KDE umesto Gnome

[ Pregleda: 1613 | Odgovora: 18 ]

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.