LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1132|回复: 3

我从root登陆后,请问从终端窗口将root切换至我的另一普通用户如kkk[已解决]

[复制链接]
发表于 2005-1-28 19:36:36 | 显示全部楼层 |阅读模式
我知道从kkk到root用su命令
反过来?谢谢!
发表于 2005-1-28 20:00:36 | 显示全部楼层
su kkk
回复 支持 反对

使用道具 举报

发表于 2005-1-28 20:10:05 | 显示全部楼层
su - 用户名           --切换到另一用户,且夹在该用户的环境配置
su 用户名            --切换到另一用户,但不加在该用户的环境配置
所以,一般切换用户,如果不退出当前用户,可以直接用su - 用户名方式更好些
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-29 11:35:49 | 显示全部楼层
thanks you !but why i cannot play gmplayer under ma(kk)
[root@localhost ~]# su - ma
[ma@localhost ~]$ gmplayer cosi.avi
MPlayer 1.0pre6-3.4.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE



Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

vo: couldn't open the X11 display (:0.0)!
MPlayer GUI requires X11.
Linux RTC init error in ioctl (rtc_irqp_set 1024): 权限不够
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing cosi.avi.
AVI file format detected.
VIDEO:  [XVID]  720x384  24bpp  25.000 fps  799.9 kbps (97.6 kbyte/s)
Clip info:
Software: transcode-0.6.10
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 32000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->128000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

vo: couldn't open the X11 display (:0.0)!
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)
[ma@localhost ~]$

because of the following reasons,I want play gmplayer under ma(KK)
请问高手,root下我的gmplayer播放视频文件时图像倒置.

原来都正常,root下gmplayer播放视频文件时,我点击调节图像比例16:9后图像倒置,再也改不过来了,但root下mplayer无此问题,非root下(ma)gmplayer无此问题.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表