Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

Default level 4 - KDE umesto Gnome

Default level 4 - KDE umesto Gnome 10.08.2004. u 17:53 · pre 271 mesec #1
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?
Potpis
-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.
Re: Default level 4 - KDE umesto Gnome 11.08.2004. u 01:47 · pre 271 mesec #3
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.

Potpis
-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.
Re: Default level 4 - KDE umesto Gnome 11.08.2004. u 03:12 · pre 271 mesec #4
U folderu /etc/X11/xinit treba da postavis link xinitrc ka odgovarajucem fajlu (xinitrc.kde).
Glupi Slack. :)
Potpis
JaFreelancer.com
Re: Default level 4 - KDE umesto Gnome 11.08.2004. u 14:32 · pre 271 mesec #6
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.
Potpis
-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.
Re: Default level 4 - KDE umesto Gnome 11.08.2004. u 14:45 · pre 271 mesec #7
Suse to nema:
Citat:

# xwmconfig
-bash: xwmconfig: command not found

dakle, komanda zavisi od ditribucije.
Potpis
Kad sve ostalo zakaže, pročitaj uputstvo...
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 01:26 · pre 271 mesec #8
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.
Potpis


Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 03:01 · pre 271 mesec #9
/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
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 05:22 · pre 271 mesec #10
Nije u tome problem, vec kad se xdm podigne, gde on gleda sta da pokrene.
Potpis
JaFreelancer.com
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 11:08 · pre 271 mesec #11
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...
Potpis
Kad sve ostalo zakaže, pročitaj uputstvo...
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 14:04 · pre 271 mesec #12
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?
Potpis
-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.
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 14:13 · pre 271 mesec #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
Potpis
-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.
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 14:33 · pre 271 mesec #14
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.
Potpis
-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.
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 14:44 · pre 271 mesec #15
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?
Potpis
Kad sve ostalo zakaže, pročitaj uputstvo...
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 14:46 · pre 271 mesec #16
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 :)
Potpis
Kad sve ostalo zakaže, pročitaj uputstvo...
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 16:58 · pre 271 mesec #17
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.... :)
Potpis
JaFreelancer.com
Re: Default level 4 - KDE umesto Gnome 12.08.2004. u 19:05 · pre 271 mesec #19
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.
Potpis
JaFreelancer.com
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme