|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
x gnome su
two questions:
1) I just intalled and used freebsd for the first time in my life. At the shell, when i start the x server it defaults to twm. I want to startx with gnome instead? BTW, it is intalled. what option do I pass to startx and/or what file do I edit. 2) when I type su to become root I get: su: sorry! How do I become root without having to re-loging
__________________
Some day I'll create a smart quote to put here. |
|
#2
|
|||
|
|||
|
>what option do I pass to startx and/or what file do I edit.
startx is a script that does sanity checks and then runs a file called .xinitrc. Now, you can create an .xinitrc file in your home directory for startx to read, they look something like this: Code:
#!/bin/sh xclock -bg grey20 -fg gold -hd aliceblue -hl orange -geometry \ =200x200-0+0 -update 1 & xeyes +shape -g =+1240+0 & xpenguins -b & xscreensaver & twm & xsetroot -solid black xterm -ls -fn 10x20 -bg navy -fg gold -title "Editor" -g =80x52+416-39 & xterm -ls -fn 10x20 -bg brown -fg ivory -title "Shell" -g =80x24+0+52 & xterm -ls -fn 10x20 -bg brown -fg yellow -ms green -cr black -bd red \ -C -n console -title "`/bin/hostname` Console" -g =80x4+0+0 -iconic Or you could do it the easy way. As root, load up sysinstall and configure the desktop however you like that way. Just starting out, I recommend doing it the easy way even if I'm not a fan of fancy desktops like KDE or GNOME. >How do I become root without having to re-loging Make sure your account is a member of the user group 'wheel', this allows you to become a superuser with the su command. As root, open /etc/passwd in your favorite editor. You'll see a bunch of entries that look like this: Code:
user:*:1001:0:User &:/home/user:/bin/csh The fields are separated by colons and are as follows: Login name:Password:User ID:Group ID:Name:Home Directory:Default Shell Change the Group ID to 0 if it isn't already, then you should be able to use the su command to gain root access. |
|
#3
|
||||
|
||||
|
> load up sysinstall and configure the desktop..
??? |
|
#4
|
|||
|
|||
|
>> load up sysinstall and configure the desktop..
>??? Log in as root, then type # /stand/sysinstall Follow the instructions, it's a nice[1] graphical interface. ![]() [1] Okay, maybe not *that* nice, but it's still a graphical interface. ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > x gnome su |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|